Configure Administrative Groups
Administrative groups, also known as link coloring or resource class, are manually assigned attributes that describe the "color" of links, such that links with the same color conceptually belong to the same class. You can use administrative groups to implement a variety of policy-based LSP setups.
Administrative groups are meaningful only when constrained-path LSP computation
is enabled.Administrative groups require three levels of configuration. First, configure a table of group names at the
[edit protocols mpls]hierarchy level:[edit protocols mpls]admin-groups {group-name group-value;}You can assign up to 32 names and values (in the range 0 through 31), which define a series of names and their corresponding values. The administrative names and values must be identical across all routers within a single domain.
To configure administrative groups, follow these steps:
[edit]protocols {mpls {admin-groups {best-effort 1;copper 2;silver 3;gold 4;violet 5;}}}
- Define administrative groups for an interface. These groups identify the administrative groups to which an interface belongs. You can assign multiple groups to an interface.
[edit]protocols {mpls {interfaceinterface name{admin-group [group-namegroup-name...];}}}If you do not include the
admin-groupstatement, an interface does not belong to any group.IGPs use the group information to build link-state packets, which are then flooded throughout the network, providing information to all nodes in the network. At any router, the IGP topology, as well as administrative groups of all the links, are available.
Changing the interface's administrative group affects only new LSPs. Existing LSPs on the interface are not preempted or recomputed to keep the network stable. If LSPs need to be removed because of a group change, issue the
clear rsvp sessioncommand.
- Configure an administrative group constraint for each LSP or for each primary or secondary LSP path, at the
[edit protocols mpls label-switched-pathlsp-path-name]or[edit protocols mpls label-switched-pathlsp-path-name(primary | secondary)]hierarchy level:[edit]protocols {mpls {label-switched-pathlsp-path-name{toaddress;...primarypath-name{admin-group {exclude [group-namegroup-name... ];include [group-namegroup-name... ];}}secondarypath-name{admin-group {exclude [group-namegroup-name... ];include [group-namegroup-name... ];}}admin-group {exclude [group-namegroup-name... ];include [group-namegroup-name... ];}}}}If you omit the
includeorexcludestatements, the path computation proceeds unchanged using constrained-path LSP computation. If you configure anexcludelist, all chosen links must not have a color in theexcludelist. If you configure anincludelist, all chosen links must have at least one color in theincludelist. Links that have no color are automatically disqualified by anyincludeorexcludelist.
Changing the LSP's administrative group causes an immediate recomputation of the route; therefore, the LSP might be rerouted.