include-all

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-all admin_group_name | admin_group_number [ admin_group_name | ] admin_group_number
no include-all admin_group_name | admin_group_number [ admin_group_name | ] admin_group_number

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-slot/port-dynamic-bypass)

Usage Guidelines

Several administrative groups may be assigned to the LSP at the same time. The interface then must be a member of both groups.

Use the interface level include-all 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 assigned interface.

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 specifies that the interface must be a member of both the "gold " and "silver " administrative groups to included in the path calculations for LSP tunnel1.

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

The following example includes administrative groups 4, 5, and 6.

device# configure
device(config)# router mpls
device(config-router-mpls)# bypass-lsp by-bypass-lsp
device(config-router-mpls-bypass-lsp-by-bypass-lsp)# include-all 4 5 6 

The following example includes administrative groups 4 and 5 on 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-all 4 5