Specifications
Implementing OSPF on Cisco IOS XR Software
How to Implement OSPF on Cisco IOS XR Software
RC-270
Cisco IOS XR Routing Configuration Guide
SUMMARY STEPS
1. configure
2. router ospf process-name
3. router-id {router-id}
4. nsf cisco
or
nsf cisco enforce global
5. nsf interval seconds
6. end
or
commit
DETAILED STEPS
Command or Action Purpose
Step 1
configure
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step 2
router ospf 
process-name
Example:
RP/0/RP0/CPU0:router(config)# router ospf 1
Enables OSPF routing for the specified routing process and 
places the router in router configuration mode.
Note The process-name argument is any alphanumeric 
string no longer than 40 characters.
Step 3
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 4
nsf cisco
or
nsf cisco enforce global
Example:
RP/0/RP0/CPU0:router(config-ospf)# nsf cisco 
enforce global
Enables Cisco NSF operations for the OSPF process.
• Use the nsf cisco command without the optional 
enforce and global keywords to abort the NSF restart 
mechanism on the interfaces of detected non-NSF 
neighbors and allow NSF neighbors to function 
properly.
• Use the nsf cisco command with the optional enforce 
and global keywords if the router is expected to 
perform NSF during restart. However, if non-NSF 
neighbors are detected, NSF restart is canceled for the 
entire OSPF process.










