Setting the Maximum Number of Dynamic Bypasses per Interface

Use the max-bypasses command to set the maximum number of dynamic bypass LSPs the user can create for this MPLS interface. This is the limit for the total number of dynamic bypass LSPs the user can create for this protected MPLS interface. When there is no configuration for this parameter under the interface mode, the global max-bypasses parameter value is considered for this parameter. This parameter value must be less than the globally set max-bypasses value.

To set the maximum number of dynamic bypasses per interface, 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 dynamic bypass maximum bypasses. In this example, the configuration for the maximum number of bypasses is five (5 ).
    device(config-router-mpls-if-ethernet-0/8-dynamic-bypass)# max-bypasses 5

The following example combines the steps above to set the maximum number of dynamic bypasses for Ethernet interface 0/8 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)# max-bypasses 5