Configuring the Tunnel Priority
Context
In the process of establishing a CR-LSP, if no path with the required bandwidth exists, you can perform bandwidth preemption according to setup priorities and hold priorities.
Perform the following configurations on the ingress node of an MPLS TE tunnel.
Procedure
- Run system-view
The system view is displayed.
- Run interface tunnel interface-number
The tunnel interface view of the MPLS TE tunnel is displayed.
- Run mpls te priority setup-priority [ hold-priority ]
The priority for the tunnel is configured.
Both the setup priority and the hold priority range from 0 to 7. The smaller the value is, the higher the priority is.
By default, both the setup priority and the hold priority are 7. If only the setup priority value is set, the hold priority value is the same as the setup priority value.
The setup priority should not be higher than the hold priority. So the value of the setup priority must not be less than that of the hold priority.
- Run mpls te commit
The current tunnel configuration is committed.