Setting the maximum number of dynamic bypass LSPs

The maximum number of dynamic bypass LSPs is configurable in the global mode. This is the limit for the total number of dynamic bypass LSPs that the system can create on a router. This number must be less than, or equal to, the global maximum number of bypass LSPs that can be configured on a router.

The device supports a maximum number of 500 bypass LSPs. It is the total number of Bypass LSPs (user created static bypass LSPs + system created Dynamic Bypass LSPs). This means that the maximum number of configurable dynamic bypass LSPs on a system is always (500 - (number of configured static bypass lsps + number of system created dynamic bypass LSPs) ).

When the max-bypasses limit changes to a value which is less than the current active number of dynamic bypasses, the limit changes to the new value and this limit is considered for the following new creations. The existing exceeding number of dynamic bypasses do not delete.

To set the maximum number of bypasses in a 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 dynamic bypass for configuration.
    device(config-router-mpls)# dynamic-bypass
  4. Configure dynamic bypass using the max-bypass option. In this example the maximum number of bypasses is configures to 150.
    device(config-router-mpls-dynamic-bypass)# max-bypasses 150

The following example combines the steps above to set the maximum number of dynamic bypass LSPs to 150.

device>configure
device(config)# router mpls
device(config-router-mpls)# dynamic-bypass
device(config-router-mpls-dynamic-bypass)# max-bypasses 150