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

306
mpls te priority
Use mpls te priority to assign a setup priority and holding priority to the MPLS TE tunnel.
Use undo mpls te priority to restore the default.
Syntax
mpls te priority setup-priority [ hold-priority ]
undo mpls te priority
Default
Both setup and holding priorities of TE tunnels are 7.
Views
Tunnel interface view
Default command level
2: System level
Parameters
setup-priority: Specifies the setup priority of the tunnel, in the range of 0 to 7. A lower numerical number
indicates a higher priority.
hold-priority: Specifies the holding priority of the tunnel, in the range of 0 to 7. A lower numerical number
indicates a higher priority. If not configured, it is the same as the setup priority.
Usage guidelines
To avoid flapping caused by improper preemptions between TE tunnels, the setup priority of an MPLS TE
tunnel should not be set higher than its holding priority.
Examples
# Set the setup and holding priorities of TE tunnel 0 to 1.
<Sysname> system-view
[Sysname] interface tunnel 0
[Sysname-Tunnel0] mpls te priority 1
mpls te protection switch-mode
Use mpls te protection switch-mode to configure an MPLS TE tunnel protection group to use the
bidirectional path switching mode.
Use undo mpls te protection switch-mode to restore the default.
Syntax
mpls te protection switch-mode bidirectional
undo mpls te protection switch-mode
Default
An MPLS TE tunnel protection group uses the unidirectional path switching mode.
Views
Tunnel interface view