MES3000 Ethernet switch series                      209 
class-map 
class-map-name 
[match-all|match-any] 
(1–32) characters 
 
The default option is 
match-all 
1. Creates a list of criteria for traffic classification. 
2. Enters the configuration mode of criteria included to the list 
and used for traffic classification. 
- match-all—all criteria from this list should be fulfilled; 
- match-any—any criterion from this list should be fulfilled. 
The list of criteria may have one or two rules. If is has 
two rules which specify different ACL types (IP, MAC), 
the first correct rule of the list will be used for classification. 
 
Valid for the qos advanced mode only. 
no class-map  
class-map-name 
Removes a list of criteria used for traffic classification. 
policy-map  
policy-map-name  
1. Creates a traffic classification strategy. 
2.  Enters  the  configuration  mode  of  traffic  classification 
strategy. 
 
Only  one  traffic  classification  strategy  can  be 
supported for one direction. 
The  policy-map  value  is  set  to  DSCP=0  by  default  for  IP 
packets and to CoS=0 for tagged packets. 
 
Valid for the qos advanced mode only. 
no policy-map  
policy-map-name 
Removes the traffic classification rule. 
 
qos aggregate-policer 
aggregate-policer-name  
committed-rate-kbps 
excess-burst-byte  
[exceed-action  {drop | 
policed-dscp-transmit}] 
aggregate-policer-name:  
(1–32) characters 
 
committed-rate-kbps: (3–
57,982,058) 
 
committed-burst-byte: 
(3000–19,173,960) 
Defines  a  configuration  template  which  allows  bandwidth 
limitation  and  at  the  same  time  guarantees  a  certain  data 
transfer rate. 
 
The  "marked  bucket"  algorithm  is  used  for  work  with 
bandwidth.  The  goal  of  the  algorithm  is  to  make  a  decision 
whether to  send or drop a  packet. The algorithm  parameters 
are:  the  rate  of  token  arrival  to  the  "bucket"  (CIR)  and  the 
"bucket" size (CBS).  
 
- committed-rate-kbps—average traffic rate, kbps. This rate is 
guaranteed. 
- committed-burst-byte —size of the burst threshold in bytes; 
- drop—a packet will be drop if the "bucket" is full; 
- policed-dscp-transmit—if the "bucket" is full, the DSCP value 
will be overwritten. 
 
A  configuration  template  cannot  be  deleted  if  it  is 
used  in  the  policy  map  strategy.  The  template 
assignment  to  the  strategy  should  be  removed  before  the 
template  deletion:  no  police  aggregate  aggregate-policer-
name 
 
Valid for the qos advanced mode only. 
no qos aggregate-policer 
aggregate-policer-name 
Deletes a template of channel rate configuration. 
wrr-queue cos-map 
queue-id cos1…cos8 
queue-id: (1–4); 
cos1…cos8: (0–7) 
CoS default values for 
queues: 
CoS = 0—queue 3 
CoS = 1—queue 1 
CoS = 2—queue 2 
CoS = 3—queue 4 
CoS = 4—queue 5 
CoS = 5—queue 6 
CoS = 6—queue 7 
CoS = 7—queue 8 
Defines CoS values for outgoing traffic queues.  
no wrr-queue cos-map 
[queue-id]  
wrr-queue bandwidth 
weight1 weight2 weight3 
Weights all outgoing queues with the help of WRW (Weighted 
Round Robin).