Implementing OSPF on Cisco IOS XR Software
How to Implement OSPF on Cisco IOS XR Software
RC-228
Cisco IOS XR Routing Configuration Guide
OL-14356-01
Step 5
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.
Step 6
mpls traffic-eng
Example:
RP/0/RP0/CPU0:router(config-ospf)# mpls
traffic-eng
Configures the MPLS TE under the OSPF area.
Step 7
interface type instance
Example:
RP/0/RP0/CPU0:router(config-ospf-ar)# interface
interface loopback0
Enters interface configuration mode and associates one or
more interfaces to the area.
Step 8
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.
Step 9
show ospf [process-name] [area-id] mpls
traffic-eng {link | fragment}
Example:
RP/0/RP0/CPU0:router# show ospf 1 0 mpls
traffic-eng link
(Optional) Displays information about the links and
fragments available on the local router for MPLS TE.
Command or Action Purpose