Configuring Administrative Groups

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

Use the group-number or group-name parameter for the following:

  • Include-all group-number or group-name : include the entire administrative group-number or group-name.
  • include-any group-number or group-name : include the entire administrative group-number or group-name.
  • exclude-any group-number or group-name : include the entire administrative group-number or group-name.

To configure administrative groups, complete the following steps.

  1. Enable the device for configuration.
    device>configure
  2. Enable the MPLS router.
    device(config)# router mpls
  3. Enable MPLS-capable interfaces and specify the selected Ethernet interface. In this example, the selected Ethernet interface is 0/8 .
    device(config-router-mpls)# mpls-interface ethernet 0/8
  4. Enable the interface level dynamic bypass.
    device(config-router-mpls-if-ethernet-0/8)# dynamic-bypass 
  5. Configure the administrative groups with any of the following choices. All three commands can be used simultaneously.
    • Include-all command. In this example, the administrative groups 4 and 5 are included in the configuration.
      device(config-router-mpls-if-ethernet-0/8-dynamic-bypass)# include-all 4 5
    • Include-any command. In this example, the administrative groups 6 and 7 are included in the configuration.
      device(config-router-mpls-if-ethernet-0/8-dynamic-bypass)# include-any 6 7
    • exclude-any command. In this example, the administrative groups 10 and 11 are included in the configuration.
      device(config-router-mpls-if-ethernet-0/8-dynamic-bypass)# exclude-any 10 11

Example

The following example combines the steps above the configure administrative groups.

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
device(config-router-mpls-if-ethernet-0/8-dynamic-bypass)# include-any 6 7
device(config-router-mpls-if-ethernet-0/8-dynamic-bypass)# exclude-any 10 11