dynamic-bypass

The dynamic-bypass command enables dynamic bypass on a MPLS router or on an Ethernet interface.

Syntax

dynamic-bypass
no dynamic-bypass

Command Default

There is no dynamic bypass configuration in the default mode.

Modes

MPLS router configuration mode (config-router-mpls).

MPLS router MPLS interface dynamic bypass configuration mode (config-router-if-ethernet-slot/port).

Usage Guidelines

Dynamic bypass is enabled or disabled in the MPLS router using this command. Upon configuring this command, the configuration mode changes to dynamic bypass and enables dynamic bypass. If the dynamic bypass is already configured under router MPLS, then there is no change in the configured state of dynamic bypass.

Use the dynamic-bypass command to manually enable dynamic bypass on a MPLS interface.

A dynamic bypass LSP is created to protect an interface only when

  1. The dynamic bypass is globally enabled AND
  2. The global dynamic bypass enable-all-interfaces is configured OR interface level dynamic bypass is enabled.

The no form of the command in the MPLS router mode removes dynamic bypass from the MPLS router, and dynamic bypass is disabled in the system. The command deletes all configurations under the router mode dynamic bypass configuration block. This command brings down and deletes all the existing dynamic bypasses in the system.

The no form of the command in the interface mode deletes the dynamic bypass configuration from the MPLS interface and disables dynamic bypass on the interface when the MPLS router mode enable-all-interfaces is not configured.

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 enables dynamic bypass.

device>configure
device(config)# router-mpls
device(config-router-mpls)# dynamic-bypass
device(config-router-mpls-dynamic-bypass)# 

The following example configures dynamic bypass on 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)#