316
Switch(Config-ClassMap)# exit
Switch(Config)#no class-map c1
13.1.2.2.3 match
Command: match {access-group <acl-index-or-name> | ip dscp <dscp-list>| ip
precedence <ip-precedence-list>| vlan <vlan-list>}
no match {access-group | ip dscp | ip precedence | vlan }
Function: Configure the matching criterion in the class map: the “no match
{access-group | ip dscp | ip precedence | vlan }” command deletes the
specified matching criterion.
Parameter: access-group <acl-index-or-name> stands for matching specified ACL, the
parameter is ACL number or name; ip dscp <dscp-list> stands for matching specified
DSCP value, the parameter is a DSCP value list containing up to 8 DSCP values; ip
precedence <ip-precedence-list> stands for matching specified IP priority, the
parameter is a IP priority list containing up to 8 IP priorities, ranging from 0 to 7; vlan
<vlan-list> stands for matching specified VLAN ID list consisting of up to 8 VLAN Ids.;
Default: No matching criterion is configured by default.
Command mode: Class map configuration mode
Usage Guide: Only one matching criterion is allowed in each class map. When matching
ACL, only “permit” rule can be set in the ACL.
Example: Create a class map named c1, set the class map rule to match packets of IP
precedence priority 0 and 1.
Switch(Config)#class-map c1
Switch(Config-ClassMap)#match ip precedence 0 1
Switch(Config-ClassMap)#exit
13.1.2.2.4 policy-map
Command: policy-map <policy-map-name>
no policy-map <policy-map-name>
Function: Create a policy map and enter the policy map mode; the “no policy-map
<policy-map-name>” command deletes the specified policy map.
Parameter: < policy-map-name> is the policy map name.
Default: No policy map is configured by default.
Command mode: Global Mode
Usage Guide: QoS classification matching and marking operations can be done in the