Add Interfaces to Administrative Groups

Administrative groups, also known as resource classes or link colors, allows the user to assign MPLS-enabled interfaces to various classes.

The user can place individual interfaces into administrative groups. For example, the user can define a group called "gold" and assign high-bandwidth interfaces to it. When a device calculates the path for an LSP, it can take into account the administrative group to which a interface belongs. The user can configure up to 32 administrative groups. By default, an interface does not belong to any administrative groups.

Administrative groups are in the range 0 - 31. The user can see an administrative group either by name or number. To see an administrative group by name, first create a name for the group and associate the name with an administrative group number.

To assign MPLS-enabled interface e 0/1 to an administrative group called "gold", complete the following steps.

  1. Configure the device.
    device# configure
  2. Enable the MPLS router.
    device(config)# router mpls
  3. Enable MPLS-capable interfaces.
    device(config-router-mpls)# mpls-interface ethernet 0/1
    In this example, ethernet interface 0/1 is selected.
  4. Enable LDP parameters.
    device(config-router-mpls-if-eth-0/1)# rsvp
  5. Select administrative group.
    device(config-router-mpls-if-eth-0/1-rsvp)# admin-group gold 
    In this example, the administrative group 'gold' is selected.

Example

In the following example, a MPLS-enabled interface (0/1) is added to the 'gold' administrative group.

device# configure
device(config)# router mpls
device(config-router-mpls)# mpls-interface ethernet 0/1
device(config-router-mpls-if-eth-0/1)# rsvp
device(config-router-mpls-if-eth-0/1-rsvp)# admin-group gold 

A MPLS-enabled interface can belong to any number of administrative groups. For example, to assign an interface to group "gold" and group 31, enter commands such as the following.

device(config-router-mpls)# mpls-interface ethernet 0/1
device(config-router-mpls--if-eth-0/1)# rsvp
device(config-router-mpls--if-eth-0/1-rsvp)# admin-group gold 31

After the user adds interfaces to administrative groups, the user can specify which groups can be included or excluded from LSP calculations.