Administrator Guide

1072 Data Center Bridging Features
This example maps user priorities 0, 1, and 2 to CoS queue 0 (background or
best effort traffic), user priorities 3 and 4 to CoS queues 1 and 2 (iSCSI
traffic), and all other priorities to CoS queue 2 (low latency and network
control traffic).
console(config-if-Te1/0/2)#classofservice dot1p-mapping 0 0
console(config-if-Te1/0/2)#classofservice dot1p-mapping 1 0
console(config-if-Te1/0/2)#classofservice dot1p-mapping 2 0
console(config-if-Te1/0/2)#classofservice dot1p-mapping 3 1
console(config-if-Te1/0/2)#classofservice dot1p-mapping 4 2
console(config-if-Te1/0/2)#classofservice dot1p-mapping 5 3
console(config-if-Te1/0/2)#classofservice dot1p-mapping 6 3
console(config-if-Te1/0/2)#classofservice dot1p-mapping 7 3
To show the 802.1p priority for an interface, use the following command:
console#show classofservice dot1p-mapping tengigabitethernet 1/0/1
User Priority Traffic Class
------------- -------------
0 0
1 0
2 0
3 1
4 2
5 3
6 3
7 3
3. Configure Minimum Bandwidth on the CoS Queues (optional)
This step configures the minimum bandwidth guarantee for each CoS queue
when the switch is congested. This command affects the primary packet
scheduler such that a CoS queue is guaranteed a minimum amount of
scheduler capacity. It does not reserve packet buffers to a CoS queue. If the
switch is not congested, this setting has no effect. The min-bandwidth setting
guarantees that any particular CoS queue is serviced often enough to ensure
that the offered load can achieve the minimum transfer rate. The scheduler
bandwidth is measured internally as bytes transferred per second. The
minimum bandwidth setting is enforced on the egress queue; it does not rate-
limit incoming frames. The minimum bandwidth setting is configured as a
percentage of the total packet scheduler bandwidth and must be less than or
equal to 100%. It may be configured on a single interface, a range of
interfaces, or all interfaces.