Establish Administrative Group Names

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

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 specify which administrative groups the device can include or exclude when making its calculation.

Up to 32 administrative groups can be configured on the device. The user can see an administrative group either by its name or its number. Before the user can see an administrative group by its name, the user must specify a name for the group at the MPLS policy level and associate the name with that administrative group‘s number.

To establish three administrative group names, complete the following steps.

  1. Configure the device.
    device# configure
  2. Enable the MPLS router.
    device(config)# router mpls
  3. Enable policy parameter configuration.
    device(config-router-mpls)# policy
  4. Enable administrative group name configuration.
    device(config-router-mpls-policy)# admin-group gold 30
    In this example, the administrative group name of 'gold' is used with an administrative group number of '30'. The number has a range of 0-31.
  5. Enable administrative group name configuration.
    device(config-router-mpls-policy)# admin-group silver 20
    In this example, the administrative group name of 'silver' is used with an administrative group number of '20'. The number has a range of 0-31.
  6. Enable administrative group name configuration.
    device(config-router-mpls-policy)# admin-group bronze 10
    In this example, the administrative group name of 'bronze' is used with an administrative group number of '10'. The number has a range of 0-31.

Example

In the following example, three administrative groups are configured.

device# configure
device(config)# router mpls
device(config-router-mpls)# policy
device(config-router-mpls-policy)# admin-group gold 30
device(config-router-mpls-policy)# admin-group silver 20
device(config-router-mpls-policy)# admin-group bronze 10

After the user associates an administrative group name with a number, the user can see it by name when assigning interfaces to the group or including or excluding the group from LSP calculations.