mpls te priority
Use mpls te priority to set a setup priority and a holding priority for an 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
The setup priority and the holding priority of an MPLS TE tunnel are both 7.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
setup-priority: Specifies the setup priority in the range of 0 to 7. A smaller number represents a higher priority.
hold-priority: Specifies the holding priority in the range of 0 to 7. A smaller number represents a higher priority. If you do not specify this argument, the holding priority is the same as the setup priority.
Usage guidelines
The setup priority and holding priority of an MPLS TE tunnel determines the importance of the tunnel. A tunnel that has a higher setup priority than the holding priority of another tunnel can preempt the resources of the second.
The setup priority and holding priority can be applied to the following scenarios:
Multiple MPLS TE tunnels use the same path but the path does not have enough bandwidth for all the tunnels. You can configure different setup and holding priorities for different tunnels to make sure important tunnels can be established first.
Before an important tunnel is established, multiple less-important MPLS TE tunnels have existed on the network, occupying the bandwidth resources and the optimal path. You can assign a higher setup priority to the import tunnel, so the tunnel can preempt the resources of the existing tunnels and use the optimal path.
The setup priority of a tunnel must not be higher than its holding priority. Configure the setup priority value to be equal to or greater than the holding priority value.
Examples
# Set both the setup priority and holding priority of Tunnel 0 to 1.
<Sysname> system-view [Sysname] interface tunnel 0 mode mpls-te [Sysname-Tunnel0] mpls te priority 1 1
Related commands
display mpls te tunnel-interface