Specifications
Implementing OSPF on Cisco IOS XR Software
How to Implement OSPF on Cisco IOS XR Software
RC-259
Cisco IOS XR Routing Configuration Guide
DETAILED STEPS
Command or Action Purpose
Step 1
show ospf [
process-name
]
or
show ospfv3 [
process-name
]
Example:
RP/0/RP0/CPU0:router# show ospf
or
RP/0/RP0/CPU0:router# show ospfv3
(Optional) Displays general information about OSPF 
routing processes.
• The output displays the router ID of the local router. 
You need this router ID to configure the other end of the 
link.
Step 2
configure
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step 3
router ospf 
process-name
or
router ospfv3 
process-name
Example:
RP/0/RP0/CPU0:router(config)# router ospf 1
or
RP/0/RP0/CPU0:router(config)# router ospfv3 1
Enables OSPF routing for the specified routing process and 
places the router in router configuration mode.
or
Enables OSPFv3 routing for the specified routing process 
and places the router in router ospfv3 configuration mode.
Note The process-name argument is any alphanumeric 
string no longer than 40 characters.
Step 4
router-id {
router-id
}
Example:
RP/0/RP0/CPU0:router(config-ospf)# router-id 
192.168.4.3
Configures a router ID for the OSPF process.
Note We recommend using a stable IPv4 address as the 
router ID.
Step 5
area 
area-id
Example:
RP/0/RP0/CPU0:router(config-ospf)# area 1
Enters area configuration mode and configures a 
nonbackbone area for the OSPF process. 
• The area-id argument can be entered in dotted-decimal 
or IPv4 address notation, such as area 1000 or 
area 0.0.3.232. However, you must choose one form or 
the other for an area. We recommend using the IPv4 
address notation.
Step 6
virtual-link 
router-id
Example:
RP/0/RP0/CPU0:router(config-ospf-ar)# virtual 
link 10.3.4.5
Defines an OSPF virtual link.
• See the “Virtual Link and Transit Area for OSPF” 
section on page 233.
Step 7
authentication message-digest
Example:
RP/0/RP0/CPU0:router(config-ospf-ar-vl)#
authentication message-digest
Selects MD5 authentication for this virtual link. 










