64
To do…
Use the command...
Remarks
Specify the tie breaker that a tunnel
uses to select a path when multiple
paths with the same metric are
present on the current node
mpls te tie-breaking
{
least-fill
|
most-fill
|
random
}
Optional
The
random
keyword applies by
default.
Enter MPLS TE tunnel interface view
interface tunnel
tunnel-number
––
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, no tie breaker is
specified for a specific tunnel and
the tunnel uses the tie breaker
specified in MPLS view.
Submit current tunnel configuration
mpls te commit
Required
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.
To configure route pinning:
To do…
Use the command...
Remarks
Enter system view
system-view
––
Enter MPLS TE tunnel interface view
interface
tunnel
tunnel-number
––
Enable route pinning
mpls te route-pinning
Required
Disabled by default
Submit current tunnel configuration
mpls te commit
Required.
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 RSVP-TE.