212  MES3000 Ethernet switch series 
Table 5.255 Commands of the configuration mode for the list of traffic classification criteria 
match  access-group  
acl_name 
Adds  a  traffic  classification  criterion.  Defines  traffic  filtration 
rules according to ACL for the classification. 
Valid for the qos advanced mode only. 
no match access-group  
acl_name 
Removes a traffic classification criterion. 
Commands of the Configuration Mode for Traffic Classification Strategy 
Command  line  request  of  the  configuration  mode  for  traffic  classification  strategy  appears  as 
follows: 
console# configure 
console(config)# policy-map policy-map-name 
console(config-pmap)# 
 
Table 5.256 Commands of the configuration mode for traffic classification strategy 
class class_map_name  
[access-group acl_name] 
Defines a traffic classification rule and enters the configuration 
mode of the classification rule—policy-map class. 
- acl_name—defines traffic filtration rules according to ACL for 
the  classification.  The  access-group  optional  parameter  is 
mandatory for creation of a new classification rule.  
In order to use  the  policy-map strategy configuration 
for  an  interface,  use  the  service-policy  command  in 
the interface configuration mode. 
Valid for the qos advanced mode only. 
Removes a class-map traffic classification rule from the policy-
map strategy. 
Commands of the Configuration Mode for Classification Rules 
Command line request in the configuration mode for classification rules appears as follows: 
console# configure 
console(config)# policy-map policy-map-name 
console(config-pmap)# class class-map-name [access-group acl- name] 
console(config-pmap-c)# 
 
Table 5.257 Commands of the configuration mode for classification rules 
trust [cos | dscp | cos-dscp] 
The trusted mode is not 
set by default. 
Defines  the  trusted  mode  for  a  certain  type  of  traffic.  The 
command  sets  a  value  which  will  be  used  in  QoS  as  internal 
DSCP. 
- cos—CoS is used as internal DSCP; 
- dscp—DSCP of incoming packets is used as internal DSCP 
(default value); 
- cos-dscp—if incoming packets are IP packets, their DSCP is 
used as internal DSCP; otherwise CoS is used. 
Valid for the qos advanced mode only. 
set  
{dscp new_dscp | 
 queue queue_id |  
cos new_cos | vlan vlan_id} 
new-dscp: (0–63) 
 
queue-id: (1–8) 
 
new-cos: (0–7) 
Sets new values for IP packet. 
The  set  and  trust  commands  are  mutually  exclusive 
for the same policy-map strategy. 
The  policy-map  strategies  which  use  set  and  trust 
commands or have an ACL classification are assigned