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.
The command is disabled, by default.
MPLS policy mode.
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.
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.
The no form of the command disables specified admin-group.
MPLS is supported only on devices based on the DNX chipset family. For a list of such devices, see "Supported Hardware".
The following example establishes three administrative groups.
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