Manual
+7(495) 797-3311 www.qtech.ru 
Москва, Новозаводская ул., 18, стр. 1 
194 
Switch(Config-PolicyMap-p1)#exit 
Switch(config)#interface ethernet 1/2 
Switch(Config-If-Ethernet1/2)#service-policy input p1 
Configuration result: 
An ACL name 1 is set to matching segment 192.168.1.0. Enable QoS globally, create a class 
map named c1, matching ACL1 in class map; create another policy map named p1 and refer 
to c1 in p1, set appropriate policies to limit bandwidth and burst value. Apply this policy map on 
port  ethernet1/2.  After  the  above  settings  done,  bandwidth  for  packets  from  segment 
192.168.1.0 through port ethernet 1/2 is set to 10 Mb/s, with a burst value of 4 MB, all packets 
exceed this bandwidth setting in that segment will be dropped. 
Example 3: 
Typical QoS topology 
As shown in the figure, inside the block is a QoS domain, Switch1 classifies  different traffics 
and  assigns  different  IP  precedences.  For  example,  set  CoS  precedence  for  packets  from 
segment 192.168.1.0 to 5 on port ethernet1/1. The port connecting to switch2 is a trunk port. In 
Switch2,  set port  ethernet 1/1  that connecting to  swtich1  to  trust cos.  Thus  inside  the  QoS 
domain, packets of different priorities will go to different queues and get different bandwidth. 
The configuration steps are listed below: 
QoS configuration in Switch1:  
Switch#config 
Switch(config)#access-list 1 permit 192.168.1.0 0.0.0.255 
Switch(config)#class-map c1 
Server 
Switch
3 
Switch
1 
Switch
2 
Trunk 
QoS area 










