![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/3/be/3bebaf9c-1005-4ee8-b7c8-c2df46a91b7f/3bebaf9c-1005-4ee8-b7c8-c2df46a91b7f-bgc2.png)
Implementing OSPF on Cisco IOS XR Software
How to Implement OSPF on Cisco IOS XR Software
RC-178
Cisco IOS XR Routing Configuration Guide
Examples
This section provides the following output examples:
• Sample Output for the show ospf Command Before Configuring MPLS TE, page RC-178
• Sample Output for the show ospf mpls traffic-eng Command, page RC-179
• Sample Output for the show ospf Command After Configuring MPLS TE, page RC-180
Sample Output for the show ospf Command Before Configuring MPLS TE
In the following example, the show route ospf EXEC command verifies that POS interface 0/3/0/0 exists
and MPLS TE is not configured:
RP/0/RP0/CPU0:router# show route ospf 1 0
O E2 192.168.10.0/24 [110/20] via 192.168.1.2, 00:02:50, POS 0/3/0/0
[110/20] via 192.168.4.1, 00:02:50, POS 0/3/0/1
O E2 192.168.11.0/24 [110/20] via 192.168.1.2, 00:02:50, POS 0/3/0/0
[110/20] via 192.168.4.1, 00:02:50, POS 0/3/0/1
O E2 192.168.244.0/24 [110/20] via 192.168.1.2, 00:02:50, POS 0/3/0/0
[110/20] via 192.168.4.1, 00:02:50, POS 0/3/0/1
O 192.168.12.0/24 [110/2] via 192.168.1.2, 00:02:50, POS 0/3/0/0
[110/2] via 192.168.4.1, 00:02:50, POS 0/3/0/1
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