Use the max-bypasses-per-mp command in the global mode or interface mode to configure the maximum number of dynamic bypass LSPs that can be created to a merge point.
The system inherits the configured max-bypasses command value.
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 global value is taken as the interface mode maximum bypasses per MP default value (when the user has not configured this value in the interface mode).
This is the limit for the total number of dynamic bypass LSPs that can be created to a MP corresponding to a protected interface. A PLR can have 'M' number of MP to a protected LSP. There can be 'N' number of protected LSPs riding on an interface with dynamic bypass enabled. The max-bypasses configuration limits the maximum number of dynamic bypass LSPs that can be sent to each Merge Point.
When the max-bypasses-per-mp changes to a value which is less than the current active number of dynamic bypasses, then the limit changes to the new value and this limit is considered for the next new creations. Existing exceeding number dynamic bypasses do not delete.
When the max-bypasses-per-mp changes to a value which is more than system max-bypasses limit, then there is a warning message.
The no form of the command removes the maximum bypasses per MP limit and falls back to its default value, which is the max-bypasses value at the time of issuing this command.
MPLS is supported on the Extreme 8820, SLX 9740, SLX 9640, and SLX 9540 devices only.
The following example configures the maximum number of bypasses per merge point to 300.
device>configure device(config)# router mpls device(config-router-mpls)# dynamic-bypass device(config-router-mpls-dynamic-bypass)# max-bypasses-per-mp 100
The following example configures MPLS Ethernet interface 0/8 to a maximum number of bypasses per merge point to 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