exclude-interface

Configures one or more exclude interfaces for the bypass LSP.

Syntax

exclude-interface { [ ethernet slot/port | port-channel number | ve ve-num ] }
no exclude-interface { [ ethernet slot/port | port-channel number | ve ve_num ] }

Command Default

There is no default value. This is a mandatory parameter.

Parameters

ethernet slot/port
Specifies the physical slot and port on the Ethernet interface.
port-channel number
Specifies a port-channel interface.
ve ve_num
Specifies the Virtual Ethernet (VE) number on the VE interface.

Modes

MPLS router Bypass LSP configuration mode.

Usage Guidelines

The no form of this command removes an exclude interface of the bypass LSP.

The user can configure one or more exclude interfaces for the bypass LSP. The interface can be an Ethernet or a virtual Ethernet type. To enable a bypass LSP, the system requires at least one exclude interface configuration.

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 excludes Ethernet interface2/8 on bypass LSP my-bypass-lsp.

device# configure
device(config)# router mpls
device(config-router-mpls)# bypass-lsp my-bypass-lsp
device(config-router-mpls-bypass-lsp-my-bypass-lsp)# exclude-interface Ethernet 0/8 

The following example excludes VE interface 108 on bypass LSP my-bypass-lsp.

device# configure
device(config)# router mpls
device(config-router-mpls)# bypass-lsp my-bypass-lsp
device(config-router-mpls-bypass-lsp-my-bypass-lsp)# exclude-interface ve 108