R2511-HP MSR Router Series MPLS Command Reference(V5)

286
Views
MPLS view, interface view
Default command level
2: System level
Usage guidelines
When executed in MPLS view, the mpls te command enables MPLS TE globally and its undo form
disables MPLS TE and removes all CR-LSPs.
When executed in interface view, the mpls te command enables MPLS TE on an interface and its undo
form disables MPLS TE and removes all CR-LSPs on the interface.
Enable MPLS TE globally before you enable MPLS TE on an interface.
After changing the MTU of an interface where MPLS TE is enabled, execute the shutdown command and
then the undo shutdown command to refresh the TE tunnels on it.
Examples
# Enable MPLS TE globally in MPLS view.
<Sysname> system-view
[Sysname] mpls lsr-id 1.1.1.9
[Sysname] mpls
[Sysname-mpls] mpls te
# Enable MPLS TE on Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] mpls
[Sysname-Ethernet1/1] mpls te
mpls te affinity property
Use mpls te affinity property to configure the link affinity attribute of the tunnel.
Use undo mpls te affinity property to restore the default.
Syntax
mpls te affinity property properties [ mask mask-value ]
undo mpls te affinity property
Default
The affinity attribute of the tunnel is 0x00000000 and the mask is 0x00000000.
Views
Tunnel interface view
Default command level
2: System level
Parameters
properties: Specifies the link properties affinity attribute of the tunnel, a 32-bit integer in the range of 0x0
to 0xFFFFFFFF. Each affinity bit represents a property with a value of 1 or 0.