Implementing OSPF on Cisco IOS XR Software
How to Implement OSPF on CiscoIOS XR Software
RC-234
Cisco IOS XR Routing Configuration Guide
DETAILED STEPS
Command or Action Purpose
Step1 configure
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step2 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.
Step3 area area-id
Example:
RP/0/RP0/CPU0:router(config-ospf)# area 0
Enters area configuration mode and configures an 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.
Step4 interface type instance
Example:
RP/0/RP0/CPU0:router(config-ospf-vrf)#
interface POS 0/0/0/0
Enters interface configuration mode and associates one or
more interfaces to the VRF.
Step5 mpls ldp sync
Example:
RP/0/RP0/CPU0:router(config-ospf-ar)# mpls ldp
sync
Enables Label Distribution Protocol (LDP)-Interior
Gateway Protocol (IGP) synchronization.
Step6 end
or
commit
Example:
RP/0/RP0/CPU0:router(config-ospf-ar-if)# end
or
RP/0/RP0/CPU0:router(config-ospf-ar-if)# 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.