Users Guide

Table Of Contents
1548 Differentiated Services
console(config-policy-map)#class development_dept
console(config-policy-classmap)#assign-queue 4
console(config-policy-classmap)#exit
console(config-policy-map)#exit
4
Attach the defined policy to 10-Gigabit Ethernet interfaces 1/0/1 through
1/0/4 in the inbound direction
console(config)#interface tengigabitethernet 1/0/1
console(config-if-Te1/0/1)#service-policy in internet_access
console(config-if-Te1/0/1)#exit
console(config)#interface tengigabitethernet 1/0/2
console(config-if-Te1/0/2)#service-policy in internet_access
console(config-if-Te1/0/2)#exit
console(config)#interface tengigabitethernet 1/0/3
console(config-if-Te1/0/3)#service-policy in internet_access
console(config-if-Te1/0/3)#exit
console(config)#interface tengigabitethernet 1/0/4
console(config-if-Te1/0/4)#service-policy in internet_access
console(config-if-Te1/0/4)#exit
5
Set the CoS queue configuration for the (presumed) egress 10-Gigabit
Ethernet interface 1/0/1 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 10-Gigabit Ethernet interface 1/0/1 based on a
normal destination address lookup for internet traffic.
console(config)#interface tengigabitethernet 1/0/5
console(config-if-
Te
1/0/5)#cos-queue min-bandwidth 0 25 25 25 25 0 0
console(config-if-Te1/0/5)#exit
console(config)#exit
Configuring DiffServ Policy Using ACLs
The following example configures a single trTCM policer for two subnets.
Traffic for the two subnets is policed together as an aggregate.
First, configure two access lists (ten-one-subnet and ten-two-subnet) to
match the first 16 bits of the source address.