Network load control
Basic - L3P
Release
4.0
11/07
8.4
QoS/Priority
29
Configuration of Traffic Shaping on an interface
cos-queue min-bandwidth 10
10 15 15 20 30 0 0
Assigns the weighting to the Weighted Fair Queu-
ing traffic classes. In the case of Strict Priority, be-
cause the Switch first transmits all the data packets
with a high priority, you can enter the weighting 0
for the Strict Priority traffic classes and distribute
100% among the remaining traffic classes. The
Switch distributes the remaining bandwidth in ac-
cordance with the percentage weighting.
cos-queue max-bandwidth 20
20 20 20 20 30 30 30
Assign a maximum bandwidth to all traffic classes
(Shaping).
Because the two Strict Priority traffic classes are
limited to a maximum of 30%, the remaining
queues have at least 40% of the bandwidth at their
disposal. The Switch immediately sends Strict Pri-
ority data up to a maximum bandwidth of 30%.
exit Switch to the Priviledged EXEC mode.
show interfaces cos-queue Display the configuration.
Global Configuration
Interface Shaping Rate......................... 0
Queue Id Min. Bandwidth Max. Bandwidth Scheduler Type
-------- -------------- -------------- --------------
0 10 20 Weighted
1 10 20 Weighted
2 15 20 Weighted
3 15 20 Weighted
4 20 20 Weighted
5 30 30 Weighted
6 0 30 Strict
7 0 30 Strict
enable Switch to the Priviledged EXEC mode.
configure Switch to the Configuration mode.
interface 1/2 Switch to the interface configuration mode of inter-
face 1/2.
traffic-shape 50 Restricts the maximum bandwidth of
interface 1/2 to 50%.
exit Switch to the Configuration mode.
exit Switch to the Priviledged EXEC mode.
show interfaces cos-queue
1/2
Display the configuration of interface 1/2.