29-45
Software Configuration Guide—Release 12.2(25)EW
OL-6696-01
Chapter 29 Configuring QoS
Configuring QoS
This example shows how to configure the shape rate to 1 Mbps on transmit queue 2.
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface gigabitethernet 1/1
Switch(config-if-tx-queue)# tx-queue 2
Switch(config-if-tx-queue)# shape 1000000
Switch(config-if-tx-queue)# end
Switch#
Configuring a High Priority Transmit Queue
To configure transmit queue 3 at a higher priority, perform this task:
This example shows how to configure transmit queue 3 to high priority.
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface gigabitethernet 1/1
Switch(config-if-tx-queue)# tx-queue 3
Switch(config-if-tx-queue)# priority high
Switch(config-if)# end
Switch#
Configuring DSCP Maps
The following sections describes how to configure the DSCP maps. It contains this configuration
information:
• Configuring the CoS-to-DSCP Map, page 29-46
• Configuring the Policed-DSCP Map, page 29-46
• Configuring the DSCP-to-CoS Map, page 29-47
All the maps are globally defined and are applied to all ports.
Step 4
Switch(config-if-tx-queue)# end
Exits configuration mode.
Step 5
Switch# show qos interface
Verifies the configuration.
Command Purpose
Command Purpose
Step 1
Switch(config)# interface {fastethernet |
gigabitethernet | tengigabitethernet}
slot/interface
Selects the interface to configure.
Step 2
Switch(config-if)# tx-queue 3
Selects transmit queue 3 to configure.
Step 3
Switch(config-if)# [no] priority high
Sets the transmit queue to high priority.
Use the no keyword to clear the transmit queue priority.
Step 4
Switch(config-if)# end
Exits configuration mode.
Step 5
Switch# show qos interface
Verifies the configuration.