R0106-HP MSR Router Series MPLS Command Reference(V7)
132
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
mpls te record-route
Use mpls te record-route to enable route recording and label recording for the tunnel.
Use undo mpls te record-route to restore the default.
Syntax
mpls te record-route [ label ]
undo mpls te record-route
Default
A tunnel does not support route recording or label recording.
Views
Tunnel interface view
Predefined user roles
network-admin