max-bypasses-per-mp

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.

Syntax

max-bypasses-per-mp { max_bypass_per_mp_count }
no max-bypasses-per-mp { max_bypass_per_mp_count }

Command Default

The system inherits the configured max-bypasses command value.

Parameters

max_bypass_per_mp_count
Specifies the number of maximum bypasses for each merge point. The range is from 1 to 500.

Modes

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).

Usage Guidelines

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 only on devices based on the DNX chipset family. For a list of such devices, see "Supported Hardware".

Examples

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