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.
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
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.