R0106-HP MSR Router Series MPLS Command Reference(V7)
123
tunnel bundle in route calculation. Other devices do not consider the MPLS TE tunnel or tunnel bundle in
route calculation.
If you do not specify the IGP in this command, both OSPF and IS-IS will include the MPLS TE tunnel or
tunnel bundle in route calculation.
On the same tunnel interface or tunnel bundle interface, the mpls te igp advertise command and the
mpls te igp shortcut command cannot both take effect. The newly configured command overwrites the
previous command.
Examples
# Enable IGP shortcut for MPLS TE tunnel 0, so the ingress node of the tunnel considers the tunnel as a
link in the OSPF and IS-IS route calculation.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te igp shortcut
Related commands
• mpls te igp advertise
• mpls te igp metric
mpls te link-attribute
Use mpls te link-attribute to configure the link attribute.
Use undo mpls te link-attribute to restore the default.
Syntax
mpls te link-attribute attribute-value
undo mpls te link-attribute
Default
The link attribute value is 0x00000000.
Views
Interface view
Predefined user roles
network-admin
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.