66
Configuring the affinity attribute for an MPLS TE tunnel
The associations between the link attribute and the affinity attribute might vary by vendor. To ensure
the successful establishment of a tunnel between two devices from different vendors, correctly
configure their respective link attribute and affinity attribute.
To configure the affinity attribute for an MPLS TE tunnel:
1. Enter system view.
system-view
N/A
2.
interface view.
interface tunnel
tunnel-number
[
mode
mpls-te
]
N/A
3. Configure an affinity for the
MPLS TE tunnel.
mpls te affinity-attribute
attribute-value [
mask
mask-value ]
By default, t
he affinity is
0x00000000, and the mask is
0x00000000. The default affinity
matches all link attributes.
Configuring a setup priority and a holding priority for an MPLS TE tunnel
1. Enter system view.
system-view
N/A
2.
interface view.
interface tunnel
tunnel-number
[
mode
mpls-te
]
N/A
3.
Configure a setup priority
and a holding priority for the
MPLS TE tunnel.
mpls te priority
setup-priority
[ hold-priority ]
By default, the setup priority and
the holding priority are both 7 for
an MPLS TE tunnel.
Configuring an explicit path for an MPLS TE tunnel
An explicit path is a set of nodes. The relationship between any two neighboring nodes on an explicit
path can be either strict or loose.
• Strict—The two nodes must be directly connected.
• Loose—The two nodes can have devices in between.
When establishing an MPLS TE tunnel between areas or ASs, you must do the following:
• Use a loose explicit path.
• Specify the ABR or ASBR as the next hop of the path.
• Make sure the tunnel's ingress node and the ABR or ASBR can reach each other.
To configure an explicit path for a MPLS TE tunnel:
1. Enter system view.
system-view
N/A
2. Create an explicit path and
enter its view.
explicit-path
path-name
By default, no explicit path exists
on the device.
3. Enable the explicit path.
undo disable
By default, an explicit path is
enabled.
4. Add or modify a node in the
explicit path.
nexthop
[
index
index-number ]
ip-address [
exclude
|
include
[
loose
|
strict
] ]
By default, an explicit path does
not include any node.
You can specify the
include
keyword to have the CRLSP
traverse the specified node or the
exclude
keyword to have the