Setting the Maximum Number of Dynamic Bypass LSPs per Merge Point

Use the max-bypasses-per-mp command to set the maximum number of dynamic bypass LSPs that create for this MPLS interface and reaches to any merge point. This is the limit for the total number of dynamic bypass LSPs that create to a merge point. When there is no configuration for the parameter under the interface mode, the global max-bypasses-per-mp parameter value is considered for this parameter.

A PLR may have 'M' number of merge points with respect to a protected LSPs. There may be 'N' number of protected LSPs riding on an interface with dynamic bypass enabled. Max-bypasses configurations limits the maximum number of dynamic bypass LSPs to each merge point.

When the max-bypasses-per-mp limit changes to a value which is less than the current active number of dynamic-bypasses-per-mp, then the limit changes to the new value and is in use for the next new creations. Existing dynamic bypasses exceeding this number do not delete.

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

The following example combines the steps above to set the maximum number of dynamic bypasses per merge point 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-per-mp 5