
64
Step Command
Remarks
3.
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.
4.
Enter MPLS TE tunnel
interface view.
interface tunnel
tunnel-number
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.
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, no tie breaker is
specified for a specific tunnel and
the tunnel uses the tie breaker
specified in MPLS view.
The IETF DS-TE mode supports
only random path selection.
6.
Submit current tunnel
configuration.
mpls te commit
N/A
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.