Enabling Dynamic Bypass on an MPLS Interface

Use the dynamic-bypass command to manually enable dynamic bypass on an MPLS interface. This enables the system to consider the MPLS interface as a protected interface and create dynamic bypasses for it. When the user configures a dynamic bypass on an MPLS interface using this command, this is a user configured interface level dynamic bypass configuration.

Dynamic bypass LSP is created to protect an interface only when

  1. the dynamic bypass is globally enabled, AND
  2. global dynamic bypass enable-all-interfaces is configured, OR the interface level dynamic bypass is enabled.

Dynamic bypass is disabled, by default, in the interface mode unless it is enabled through the global configured enable-all-interfaces command. There is no change in the dynamic bypass configured state (enabled or disabled) when it is already configured on the interface.

When the dynamic bypass is enabled on the interface through the global enable-all-interfaces command, this command changes the interface status to the user-configured interface level dynamic bypass configuration.

When the user configures the interface level dynamic bypass to the disabled status, this command retains the existing disabled state.

To enable dynamic bypass on MPLS interfaces, 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
    device(config-router-mpls-if-ethernet-0/8-dynamic-bypass)# 

The following example combines the steps above to enable the interface level dynamic bypass for Ethernet interface 0/8.

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