exclude-any

Interfaces that are not part of these groups, as well as interfaces that are not part of any group, are eliminated from consideration.

Syntax

exclude-any admin_group_name | admin_group_name [admin_group_name | admin_group_name ]
no exclude-any admin_group_name | admin_group_name [admin_group_name | admin_group_name ]

Command Default

There are no excluded interfaces in the command default mode.

Parameters

name
Specifies the group, by name, the interface must be a member of. The name can be the name of the administrative group to which an administrative group number is associated by configuration in router MPLS mode. More than one parameter can be provided.
number
Specifies the group, by number, the interface must be a member of. Number can be from 0 to 31 representing 32 admin groups. More than one parameter can be provided.

Modes

MPLS LSP configuration mode (config-router-mpls lsp-lsp_name)

MPLS router Bypass LSP configuration mode (config-router-mpls-bypass-lsp-lsp_name)

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

Usage Guidelines

More than one group may be configured at a time.

Use the interface level exclude-any command to configure administrative groups for dynamic bypass LSPs to be created corresponding to a protected link.

The no form of the command removes the interface administrative group 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 eliminates interfaces in either administrative group gold or silver when the path for LSP tunnel1 is calculated.

device# configure
device(config)# router mpls
device(config-router-mpls)# lsp tunnel1
device(config-router-mpls-lsp-tunnel1)# exclude-any gold silver

The following example eliminates bypass LSP administration groups 15 and 16 .

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 any 15 16

The following example eliminates groups 10 and 11 from consideration for dynamic bypass 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)# exclude-any 10 11