PurposeCommand or Action
Enters area configuration mode and configures an area for the
OSPF process.
area area-id
Example:
RP/0/RSP0/CPU0:router(config-ospf)# area 0
Step 5
•
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.
Configures the MPLS TE under the OSPF area.mpls traffic-eng
Example:
RP/0/RSP0/CPU0:router(config-ospf)# mpls
traffic-eng
Step 6
Enters interface configuration mode and associates one or more
interfaces to the area.
interface type interface-path-id
Example:
RP/0/RSP0/CPU0:router(config-ospf-ar)#
interface interface loopback0
Step 7
commit
Step 8
(Optional) Displays information about the links and fragments
available on the local router for MPLS TE.
show ospf [ process-name ] [ area-id ] mpls
traffic-eng { link | fragment }
Example:
RP/0/RSP0/CPU0:router# show ospf 1 0 mpls
traffic-eng link
Step 9
Examples
This section provides the following output examples:
Sample Output for the show ospf Command Before Configuring MPLS TE
In the following example, the show route ospf EXEC configuration command verifies that GigabitEthernet
interface 0/3/0/0 exists and MPLS TE is not configured:
show route ospf 1
O 11.0.0.0/24 [110/15] via 0.0.0.0, 3d19h, tunnel-te1
O 192.168.0.12/32 [110/11] via 11.1.0.2, 3d19h, GigabitEthernet0/3/0/0
O 192.168.0.13/32 [110/6] via 0.0.0.0, 3d19h, tunnel-te1
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
OL-30423-03 385
Implementing OSPF
Configuring OSPF Version 2 for MPLS Traffic Engineering