Use the max-bypasses command to configure the maximum number of dynamic bypass LSPs that can be created in the system or on a MPLS interface.
The default value is 250.
MPLS router dynamic bypass configuration mode (config-router-mpls-dynamic-bypass).
MPLS router MPLS interface dynamic bypass configuration mode (config-router-mpls-if ethernet-slot/port-dynamic-bypass)
The maximum number of bypass LSPs supported on a router is limited to 500. The maximum number of dynamic bypass LSP that can be configured on a system is (500 - (current number of configured Bypass LSPs)).
When this parameter is not configured under 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.
The no form of the command removes the maximum bypass limit and falls back to the default value of 250.
MPLS is supported only on devices based on the DNX chipset family. For a list of such devices, see "Supported Hardware".
The following example configures the maximum number of bypasses to 300.
device>configure device(config)# router mpls device9Config-router-mpls)# dynamic bypass device(config-router-mpls-dynamic-bypass)# max-bypasses 300
the following example disables the max-bypasses command for MPLS 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)# disable