R0106-HP MSR Router Series MPLS Command Reference(V7)

124
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.
The lowest four bits must be 0.
Examples
# On interface GigabitEthernet 2/1/1, configure the link attribute as 0x00000101.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/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
record-route command. When establishing the MPLS TE tunnel, each node of the tunnel detects whether
a loop has occurred according to the recorded route information.
Examples
# Enable loop detection for establishing MPLS TE tunnel 0.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te loop-detection
mpls te max-link-bandwidth
Use mpls te max-link-bandwidth to configure the maximum bandwidth for MPLS TE traffic on an
interface.