70
Step Command
Remarks
4.
Enter MPLS TE tunnel interface
view.
interface tunnel
tunnel-number
N/A
5.
Specify the tie breaker for the
current tunnel to select a path
when multiple paths with the
same metric are present.
mpls te tie-breaking
{
least-fill
|
most-fill
|
random
}
Optional.
By default, a tunnel has no specific
tie breaker specified and uses the
tie breaker specified in MPLS view.
6.
Submit current tunnel
configuration.
mpls te commit
N/A
NOTE:
•
A tunnel prefers the tie breaker specified in the tunnel interface view. If no tie breaker is specified in
tunnel interface view, the tunnel uses the tie breaker specified in MPLS view to select a path.
•
The IETF DS-TE mode supports only random path selection.
Configuring route pinning
Route pinning cannot be used together with reoptimization or automatic bandwidth adjustment.
To configure route pinning:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter MPLS TE tunnel interface
view.
interface
tunnel
tunnel-number
N/A
3.
Enable route pinning.
mpls te route-pinning
Disabled by default
4.
Submit current tunnel
configuration.
mpls te commit
N/A
Configuring administrative group and affinity attribute
The affinity attribute of an MPLS TE tunnel identifies the properties of the links that the tunnel can use.
Together with the link administrative group, it decides which links the MPLS TE tunnel can use. This is
done by ANDing the 32-bit affinity attribute with the 32-bit link administrative group attribute. When
doing that, a 32-bit mask is used. The affinity bits corresponding to the 1s in the mask are “do care” bits
which must be considered while those corresponding to the 0s in the mask are “don’t care” bits.
For a link to be used by a TE tunnel, at least one considered affinity bit and its corresponding
administrative group bit must be set to 1.
Suppose the affinity of an MPLS TE tunnel is 0xFFFFFFFF and the mask is 0x0000FFFF. For a link to be
used by the tunnel, the leftmost 16 bits of its administrative group attribute can be 0s or 1s, but at least
one of the rest bits must be 1.
The affinity of an MPLS TE tunnel is configured at the first node on the tunnel and then signaled to the rest
nodes through CR-LDP or RSVP-TE.
NOTE:
The associations between administrative groups and affinities may vary by vendor. To ensure the
successful establishment of a tunnel between two devices of different vendors, correctly configure their
respective administrative groups and affinities.