22-5
ATM Switch Router Software Configuration Guide
OL-7396-01
Chapter 22
Configuring Quality of Service
IP Precedence Based Class of Service (CoS)
For a complete description of the
qos mapping precedence
command, see the
ATM and Layer 3 Switch
Router Command Reference
.
Mapping QoS Scheduling at the Interface Level
Configuring the QoS mapping at the interface level overrides the system-level mapping. Using the
qos
mapping precedence
wrr-weight
command, the network administrator can assign different
WRR-scheduling weights for a particular precedence traffic between a pair of interfaces.
To configure QoS scheduling at the interface level, use the following command:
The QoS commands are applicable to both Gigabit Ethernet and Fast Ethernet interfaces.
To set the precedence back to the system-level default setting for the switch router, use the
no
version
of the
qos mapping precedence
wrr-weight
command.
Both the source and destination interface parameters are optional. When both are not specified, the
system-level QoS mapping is configured. Otherwise, you can specify the source interface, the
destination interface, or both, to configure the WRR weight for the traffic streams listed below.
The configuration takes precedence in the following order:
1.
Traffic streams with a certain precedence, from a particular source interface to a particular
destination interface
2.
Traffic streams with a certain precedence to a particular destination interface
3.
Traffic streams with a certain precedence from a particular source interface
Table 22-2 IP Precedence and Default WRR Weights
IP Precedence
WRR Weight
0
1
1
2
2
4
3
8
Command
Purpose
Router(config)#
qos mapping
[
source
source-interface
] [
destination
dest-interface
]
precedence
value
wrr-weight
weight
Assigns different WRR-scheduling weights for a
particular precedence traffic between a pair of
interfaces.