3.27.4 QoS Egress Port Scheduler and Shapers Configuration

Use this command to configure the Scheduler and Shapers for a specific port. The Scheduler Mode Weighted Round Robin (WRR) controls how many of the queues are scheduled as strict and how many are scheduled as weighted on this switch port.

Command Syntax:

qos wrr <w0> <w1> [ <w2> [ <w3> [ <w4> [ <w5> [ <w6> [ <w7> ] ] ] ] ] ]
qos queue-shaper queue <queue> <rate> [ kbps | mbps ] [ excess | credit ] [ rate-type { line | data } ]
qos shaper <rate> [ kbps | mbps ] [ rate-type { line | data } ]
Table 3-111. Command Description

Argument

Description

Parameter

<w0> <w1>…<w7>

Weight for the specific queue 0–7 from 1 to 100.

<queue>

Specific queue or range 0–7.

<rate>

Controls the rate for the queue policer. This value is restricted to 100–3276700 when the 'Unit' is kbps, and 1–3276 when the 'Unit' is Mbps. The rate is internally rounded up to the nearest value supported by the queue police.

Default

N.A

Mode

Port List Interface mode

Usage

Enable/Configure the Scheduler and Shapers for a specific port. To disable, use the ‘no’ version of the command.

Example

Example 1:

Enable scheduler mode queue 0, 1, 2 as 50 port 1 and set shaper rate as 100 mbps operating on data rate.

(config)# interface GigabitEthernet 1/1
(config-if)# qos wrr 50 50 50
(config-if)# qos shaper 100 mbps rate-type data