Setting the Explicit Path for Dynamic Bypass LSPs

The user can configure an explicit path for the dynamic bypass LSPs for a protected interface. Use the primary-path command for this purpose.

To set the explicit path for dynamic 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 Ethernet 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 primary-path command. In this example, the primary path name selected is dbyp-path.
    device(config-router-mpls-if-ethernet-0/8-dynamic-bypass)# primary-path dbyp-path    

Example

The following example combines the steps above to set an explicit path with the name of dbyp-path, for dynamic bypass LSPs.

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)# primary-path dbyp-path