Setting CoS for Dynamic Bypass LSPs

The user can configure an interface level CoS with a value of 0-7 for when creating a dynamic bypass LSP for the protected MPLS interface. Use this CoS value to create dynamic bypasses corresponding to the interface.

To set CoS for dynamic bypass LSPs, 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 CoS value. In this example, the CoS value is configured to five (5).
    device(config-router-mpls-if-ethernet-0/8-dynamic-bypass)# cos 5

Example

The following example combines the steps above to set the CoS value for dynamic bypass LSPs to five (5).

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)# cos 5