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.
device>configure
device(config)# router mpls
device(config-router-mpls)# dynamic-bypass
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