Quick Reference Guide
Quality of Service | 193
each department's traffic on a different egress queue. This is how the DiffServ inbound policy connects
to the CoS queue settings established below.
Figure 12-152. Example of Using policy-map Command
4. DiffServ inbound configuration: Attach the defined policy to interfaces 1/0/10 through 1/0/13 in the
inbound direction.
Figure 12-153. Example of Using service-policy Command
5. Set the CoS queue configuration for the (presumed) egress interface 1/0/14 such that each of queues 1,
2, 3, and 4 get a minimum guaranteed bandwidth of 25%. All queues for this interface use weighted
round-robin scheduling by default. The DiffServ inbound policy designates that these queues are to be
used for the departmental traffic through the assign-queue attribute. It is presumed that the switch will
forward this traffic to interface 1/0/14, based on a normal destination address lookup for internet
traffic.
Figure 12-154. Example of Using cos-queue Command
Force10 (Config)#policy-map internet_access in
Force10 (Config-policy-map)#class finance_dept
Force10 (Config-policy-classmap)#assign-queue 1
Force10 (Config-policy-classmap)#exit
Force10 (Config-policy-map)#class marketing_dept
Force10 (Config-policy-classmap)#assign-queue 2
Force10 (Config-policy-classmap)#exit
Force10 (Config-policy-map)#class test_dept
Force10 (Config-policy-classmap)#assign-queue 3
Force10 (Config-policy-classmap)#exit
Force10 (Config-policy-map)#class development_dept
Force10 (Config-policy-classmap)#assign-queue 4
Force10 (Config-policy-classmap)#exit
Force10 (Config-policy-map)#exit
Force10 (Config)#
Force10 (Config)#interface 1/0/10
Force10 (Interface 1/0/10)#service-policy in internet_access
Force10 (Interface 1/0/10)#exit
Force10 (Config)#interface 1/0/11
Force10 (Interface 1/0/11)#service-policy in internet_access
Force10 (Interface 1/0/11)#exit
Force10 (Config)#interface 1/0/12
Force10 (Interface 1/0/12)#service-policy in internet_access
Force10 (Interface 1/0/12)#exit
Force10 (Config)#interface 1/0/13
Force10 (Interface 1/0/13)#service-policy in internet_access
Force10 (Interface 1/0/13)#exit
Force10 (Config)#interface 1/0/14
Force10 (Interface 1/0/14)#cos-queue min-bandwidth 0 25 25 25 25 0 0 0
Force10 (Interface 1/0/14)#exit
Force10 (Config)#exit