Specifications
Implementing OSPF on Cisco IOS XR Software
How to Implement OSPF on Cisco IOS XR Software
RC-271
Cisco IOS XR Routing Configuration Guide
Configuring OSPF Version 2 for MPLS Traffic Engineering
This task explains how to configure OSPF for MPLS TE. This task is optional. 
For a description of the MPLS TE tasks and commands that allow you to configure the router to support 
tunnels, configure an MPLS tunnel that OSPF can use, and troubleshoot MPLS TE, see the Implementing 
MPLS Traffic Engineering Configuration Guide.
Prerequisites
Your network must support the following Cisco IOS XR features before you enable MPLS TE for OSPF 
on your router: 
• MPLS 
• IP Cisco Express Forwarding (CEF) 
Note You must enter the commands in the following task on every OSPF router in the traffic-engineered 
portion of your network.
Step 5
nsf interval 
seconds
Example:
RP/0/RP0/CPU0:router(config-ospf)# nsf interval 
120
Sets the minimum time between NSF restart attempts.
Note When you use this command, the OSPF process 
must be up for at least 90 seconds before OSPF 
attempts to perform an NSF restart.
Step 6
end
or
commit
Example:
RP/0/RP0/CPU0:router(config-ospf)# end
or
RP/0/RP0/CPU0:router(config-ospf)# commit
Saves configuration changes.
• When you issue the end command, the system prompts 
you to commit changes:
Uncommitted changes found, commit them before 
exiting(yes/no/cancel)?
[cancel]:
–
Entering yes saves configuration changes to the 
running configuration file, exits the configuration 
session, and returns the router to EXEC mode.
–
Entering no exits the configuration session and 
returns the router to EXEC mode without 
committing the configuration changes.
–
Entering cancel leaves the router in the current 
configuration session without exiting or 
committing the configuration changes.
• Use the commit command to save the configuration 
changes to the running configuration file and remain 
within the configuration session.
Command or Action Purpose










