Cisco Systems OL-14356-01 Network Router User Manual


 
Implementing OSPF on Cisco IOS XR Software
Information About Implementing OSPF on Cisco IOS XR Software
RC-179
Cisco IOS XR Routing Configuration Guide
OL-14356-01
ASBRs can import external routing information from other protocols like BGP and redistribute them as
AS-external (ASE) Type 5 LSAs to the OSPF network. If the Cisco IOS XR router is an ASBR, you can
configure it to advertise VIP addresses for content as autonomous system external routes. In this way,
ASBRs flood information about external networks to routers within the OSPF network.
ASBR routes can be advertised as a Type 1 or Type 2 ASE. The difference between Type 1 and Type 2
is how the cost is calculated. For a Type 2 ASE, only the external cost (metric) is considered when
multiple paths to the same destination are compared. For a Type 1 ASE, the combination of the external
cost and cost to reach the ASBR is used. Type 2 external cost is the default and is always more costly
than an OSPF route and used only if no OSPF route exists.
Interior Routers
The interior routers (such as R1 in Figure 1) attached to one area (for example, all the interfaces reside
in the same area).
OSPF Process and Router ID
An OSPF process is a logical routing entity running OSPF in a physical router. This logical routing entity
should not be confused with the logical routing feature that allows a system administrator (known as the
Cisco IOS XR Owner) to partition the physical box into separate routers.
A physical router can run multiple OSPF processes, although the only reason to do so would be to
connect two or more OSPF domains. Each process has its own link-state database. The routes in the
routing table are calculated from the link-state database. One OSPF process does not share routes with
another OSPF process unless the routes are redistributed.
Each OSPF process is identified by a router ID. The router ID must be unique across the entire routing
domain. OSPFv2 obtains a router ID from the following sources, in order of decreasing preference:
OSPF attempts to obtain a router ID in the following ways (in order of preference):
The 32-bit numeric value specified by the OSPF router-id command in router configuration mode.
(This value can be any 32-bit value. It is not restricted to the IPv4 addresses assigned to interfaces
on this router and need not be a routable IPv4 address.)
The 32-bit numeric value specified by the router-id command in global configuration mode. (This
value must be an IPv4 address assigned to an interface on this router.)
The highest IPv4 address on a loopback interface in the system.
The primary IPv4 address of an interface over which this OSPF process is running. The first
interface address in the OSPF interface is selected.
We recommend that the router ID be set by the router-id command in router configuration mode.
Separate OSPF processes could share the same router ID, in which case they cannot reside in the same
OSPF routing domain.
Supported OSPF Network Types
OSPF classifies different media into the following types of networks:
NBMA networks
Point-to-point networks (POS)
Broadcast networks (Gigabit Ethernet)