99
•
If you configure the tunnel destination address as the primary IP address of an interface on the
egress node, you must enable MPLS TE, and configure OSPF or IS-IS on that interface. This
makes sure the primary IP address of the interface can be advertised to its peer.
•
The route to the tunnel interface address and the route to the tunnel destination must be in the
same OSPF area or at the same IS-IS level.
Configuring IGP shortcut
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter MPLS TE tunnel
interface view.
interface tunnel
tunnel-number
[
mode
mpls-te
]
N/A
3.
Enable IGP shortcut.
mpls te igp shortcut
[
isis
|
ospf
]
By default, IGP shortcut is
disabled.
If no IGP is specified, both OSPF
and IS-IS will include the MPLS
TE tunnel in route calculation.
4.
Assign a metric to the MPLS
TE tunnel.
mpls te igp metric
{
absolute
value
|
relative
value
}
By default, the metric of an MPLS
TE tunnel equals its IGP metric.
Configuring forwarding adjacency
To use forwarding adjacency, you must establish two MPLS TE tunnels in opposite directions
between two nodes, and configure forwarding adjacency on both the nodes.
To configure forwarding adjacency in tunnel interface view:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter MPLS TE tunnel
interface view.
interface tunnel
tunnel-number
[
mode
mpls-te
]
N/A
3.
Enable forwarding adjacency.
mpls te igp advertise
[
hold-time
value
]
By default, forwarding adjacency
is disabled.
Configuring a bidirectional MPLS TE tunnel
Restrictions and guidelines
To create a bidirectional MPLS TE tunnel, create an MPLS TE tunnel interface on both ends of the
tunnel and enable the bidirectional tunnel feature on the tunnel interfaces:
•
For a co-routed bidirectional tunnel, configure one end of the tunnel as the active end and the
other end as the passive end, and specify the reverse CRLSP at the passive end.
•
For an associated bidirectional tunnel, specify a reverse CRLSP at both ends of the tunnel.
Prerequisites
Before you create a bidirectional MPLS TE tunnel, perform the following tasks:
•
Disable the PHP feature on both ends of the tunnel.
•
To set up a bidirectional MPLS TE tunnel in co-routed mode, you must specify the signaling
protocol as RSVP-TE.