Owner's Manual

QoS Commands 287
traffic-shape
The
traffic-shape
interface configuration command sets a shaper on an egress port/queue. To
disable the shaper on an interface, use the
no
form of this command.
Syntax
traffic-shape
{
committed-rate committed-burst
} [
queue-id
]
no traffic-shape
[
queue-id
]
committed-rate
—The average traffic rate (CIR) in bits per second (bps).
committed-burst
—The excess burst size (CBS) in bytes.
queue-id
—Assign shaper to the specified queue.
Default Configuration
No shaper is defined.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
For an egress port, enter the interface configuration mode with the port number, and use the
traffic-shape
command without the
queue-id
option, and the CIR and the CBS are applied on
the specified port.
In order to activate shaper for a specific queue, add the queue ID to the line.
Example
The following example sets a shaper on port g5 when the average traffic rate exceeds 124000 bps or
the a normal burst size exceeds 96000 bps.
qos wrr-queue threshold
The
qos wrr-queue threshold
global configuration command assigns the tail-drop mechanism on
an egress queue and configures the tail-drop thresholds. To assign the default values, use the
no
form of this command.
Syntax
qos wrr-queue threshold
queue-id threshold-percentage
no qos wrr-queue threshold
queue-id
queue-id
—Specifies the queue ID to assign the tail-drop.
Console (config)# interface ethernet g5
Console (config-if) traffic-shape 124000 96000