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