Setting the Priority

Use the priority command to configure the setup and holding priority for the dynamic bypass LSPs to be created for the MPLS protected interface. Priority levels can be from zero to seven for a dynamic bypass LSP corresponding to a protected link. By default, setup priority is seven, and the hold priority is zero. When the interface mode priority values are not configured, and there are riding backups on the dynamic bypass, the dynamic bypass re-optimization new holding priority is the maximum priority of the currently riding backups.

To set the priority, complete the following steps.

  1. Enable the device for configuration.
    device>configure
  2. Enable the MPLS router.
    device(config)# router mpls
  3. Enable MPLS-capable interfaces and specify the selected interface. In this example, the selected Ethernet interface is 0/8 .
    device(config-router-mpls)# mpls-interface ethernet 0/8
  4. Enable the interface level dynamic bypass.
    device(config-router-mpls-if-ethernet-0/8)# dynamic-bypass
  5. Configure the priority command. In this example, the first number, 6, is the set-up priority and the second number, 3, is the holding-priority.
    device(config-router-mpls-if-ethernet-0/8—dynamic-bypass)# priority 3 6

Example

The following example combines the steps above to configure the setup and holding priority for the dynamic bypass LSPs to be created for the MPLS protected interface. The setup-priority is configured to 6 , and the holding-priority is configured to 3 .

device>configure
device(config)# router mpls
device(config-router-mpls)# mpls-interface ethernet 0/8
device(config-router-mpls-if-ethernet-0/8)# dynamic-bypass
device(config-router-mpls-if-ethernet-0/8—dynamic-bypass)# priority 6 3