HP MSR2000/3000/4000 Router Series MPLS Command Reference

75
Parameters
attribute-value: Specifies the link attribute value in the range of 0x00000000 to 0xFFFFFFFF. A link
attribute value is a 32-bit binary number. Each bit represents an attribute with a value of 0 or 1.
Usage guidelines
The TE information of a link advertised by the IGP includes the link attribute configured by this command.
After receiving the link TE information, the ingress node of an MPLS TE tunnel determines whether the link
can be used to establish the MPLS TE tunnel according to the configured tunnel affinity attribute, the
affinity mask, and the link attribute. A link is available for a tunnel if the following requirements are met:
The link attribute bits corresponding to the affinity attribute's 1 bits whose mask bits are 1 must have
at least one bit set to 1.
The link attribute bits corresponding to the affinity attribute's 0 bits whose mask bits are 1 must have
no bit set to 1.
The link attribute bits corresponding to the 0 bits in the affinity mask are not checked.
For example, if the affinity is 0xFFFFFFF0 and the mask is 0x0000FFFF, a link is available for the tunnel
when its link attribute bits meet the following requirements: the highest 16 bits each can be 0 or 1 (no
requirements), the 17
th
through 28
th
bits must have at least one bit whose value is 1, and the lowest four
bits must be 0.
Examples
# On interface Ethernet 1/1, configure the link attribute as 0x00000101.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] mpls te link-attribute 101
Related commands
mpls te affinity-attribute
mpls te loop-detection
Use mpls te loop-detection to enable loop detection during establishment of an MPLS TE tunnel.
Use undo mpls te loop-detection to disable loop detection for the MPLS TE tunnel.
Syntax
mpls te loop-detection
undo mpls te loop-detection
Default
Loop detection is disabled for an MPLS TE tunnel.
Views
Tunnel interface view
Predefined user roles
network-admin
Usage guidelines
When loop detection is enabled on the ingress node of an MPLS TE tunnel, the route recording function
is automatically enabled for the tunnel, regardless of whether you have configured the mpls te