max-bypasses

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.

Syntax

max-bypasses { max_bypass_count }
no max-bypasses { max_bypass_count }

Command Default

The default value is 250.

Parameters

max_bypass-count
This number must be less than or equal to the global maximum number of bypass LSPs; that is, the total amount of static bypasses and dynamic bypasses that can be configured on a router or on an interface. The value can be between 1 and 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 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".

Examples

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