
Purpose
Command or Action
• We recommend that loopback interfaces be used for
MPLS TE router ID because they are more stable than
physical interfaces.
Enters area configuration mode and configures an area for
the OSPF process.
area area-id
Example:
Step 5
• The
area-id
argument can be entered in
dotted-decimal or IPv4 address notation, such as area
RP/0/RP0/CPU0:router(config-ospf)# area 0
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:
Step 6
RP/0/RP0/CPU0:router(config-ospf)# mpls traffic-eng
Enters interface configuration mode and associates one or
more interfaces to the area.
interface type interface-path-id
Example:
Step 7
RP/0/RP0/CPU0:router(config-ospf-ar)# interface
interface loopback0
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:
Step 9
RP/0/RP0/CPU0:router# show ospf 1 0 mpls
traffic-eng link
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
XR EXEC 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
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
305
Implementing OSPF
Examples