Class Mapping
A Class Map defines a traffic flow with ACLs (Access Control Lists) defined on it. A MAC ACL, IP ACL, and IPv6 ACL can be combined into a class map. Class maps are configured to match packet criteria on a match-all or match-any basis. They are matched to packets on a first-fit basis, meaning that the action associated with the first-matched class map is the action performed by the system. Packets that match the same class map are considered to belong to the same flow.
Note | Defining class maps doesn’t have any effect on QoS; it’s an interim step, enabling the class maps to be used later. If more complex sets of rules are needed, several class maps can be grouped into a supergroup called a policy. In the same class map, a MAC ACL can’t be used with an IPv6 ACE that has a Destination IPv6 address as a filtering condition. |
The Class Mapping page shows the list of defined class maps and the ACLs comprising each, and enables you to add/delete class maps.
To define a Class Map, complete the following steps:
Procedure
Step 1 | Click Quality of Service > QoS Advanced Mode > Class Mapping. For each class map, the ACLs defined on it are displayed along with the relationship between them. Up to three ACLs can be displayed along with their Match, which is Or. This indicates the relationship between the ACLs. The Class Map is then the result of the three ACLs combined with Or. |
Step 2 | Click Add. A new class map is added by selecting one or two ACLs and giving the class map a name. If a class map has two ACLs, you can specify that a frame must match both ACLs, or that it must match either one or both of the ACLs selected. |
Step 3 | Enter the parameters.
|
Step 4 | Click Apply. The Running Configuration file is updated. |