include-any

When a device uses CSPF to calculate the path for an LSP, it takes into account the administrative group to which an interface belongs. The user can specify which administrative groups the device can include or exclude for this calculation.

Syntax

include-any admin_group_name | admin_group_name[ admin_group_number | admin_group_numbe]
no include-any admin_group_name | admin_group_name[ admin_group_number | admin_group_numbe]

Command Default

No interfaces are assigned to the administrative groups in the default mode.

Parameters

admin_group_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.
admin_group_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--dynamic-bypass)

Usage Guidelines

The no form of the command removes the assigned interface.

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

Several administrative groups may be assigned to the LSP at the same time.

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 LSP tunnel1 path calculations in either of the administrative groups "gold " or "silver ".

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

The following example includes any group designated as group 8 and 9.

device# configure
device(config)# router mpls
device(config-router-mpls)# bypass-lsp my-bypass-lsp
device(config-router-mpls-bypass-lsp-my-bypass-lsp)#  include-any  8 9

The following example includes any group designated as group 6 and 7 on 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)# include-any 6 7