Rate shaping throttles the rate at which queues transmit packets. See Rate Shaping for a general discussion of rate shaping. Rate shaping is TCP friendly; it buffers packets that are above the rate rather than drop them. CoS rate shaping allows you to configure rate shapers based on a unit rate (kilobits/second, megabits/second, gigabits/second), or a percentage of the port‘s line speed.
The show cos port-resource txq command displays resources for each port group created along with the resource index (physical queue). By default, no resources are configured for TxQ port-resources. Rates displayed as none indicate no resources exist. The default Rate Shaping algorithm is tail-drop and is not configurable.
The following example displays default values for the show cos port-resource txq command S-Series output (S-, K-Series):
System(rw)->show cos port-resource txq Group Index Resource Type Unit Rate Algorithm ----------- -------- ---- ---- ---------- --------- 0.0 0 txq perc none tail-drop 0.0 1 txq perc none tail-drop 0.0 2 txq perc none tail-drop 0.0 3 txq perc none tail-drop 0.0 4 txq perc none tail-drop 0.0 5 txq perc none tail-drop 0.0 6 txq perc none tail-drop 0.0 7 txq perc none tail-drop 0.0 8 txq perc none tail-drop 0.0 9 txq perc none tail-drop 0.0 10 txq perc none tail-drop 0.0 11 txq perc none tail-drop 0.0 12 txq perc none tail-drop 0.0 13 txq perc none tail-drop 0.0 14 txq perc none tail-drop 0.0 15 txq perc none tail-drop 0.1 0 txq perc none tail-drop 0.1 1 txq perc none tail-drop 0.1 2 txq perc none tail-drop
The following example displays default values for the show cos port-resource txq command 7100-Series output (7100-Series):
System(rw)->show cos port-resource txq '?' after the rate value indicates an invalid rate value Group Index Resource Type Unit Rate Algorithm ----------- -------- ---- ---- ---------- --------- 0.0 0 txq perc none tail-drop 0.0 1 txq perc none tail-drop 0.0 2 txq perc none tail-drop 0.0 3 txq perc none tail-drop 0.0 4 txq perc none tail-drop 0.0 5 txq perc none tail-drop 0.0 6 txq perc none tail-drop 0.0 7 txq perc none tail-drop '?' after the rate value indicates an invalid rate value
The set cos port-resource txq command is used for creating outbound rate shapers. You need to: