Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

About traffic shaping

We all know that traffic shaping enables us to burst traffic of a value Bc during Tc interval (if no Be configured of course) and that it retains out of profile packets in a queue till it have enough tokens to send more pakets and the question is ,

How long is this queue that TS retians the packeys in , and what is the command to find this ?

New Member

Re: About traffic shaping

The default setting is 1000 buffers. Keep in mind that this is the shaping queue. Without any other configuration, the packets will then go to the interface software queue which may be FIFO and has its own queue length. Use show interface command to see output queue length of the interface queue.

show policy-map interface command will show the current shaping queue depth, but does not show the configured maximum.

command: shape max-buffers

To specify the maximum number of buffers allowed on shaping queues, use the shape max-buffers class-map configuration command. To remove the maximum number of buffers, use the no form of this command.

shape max-buffers "number-of-buffers"

no shape max-buffers "number-of-buffers"

Syntax Description


Specifies the maximum number of buffers. The minimum number of buffers is 1; the maximum number of buffers is 4096.

BTW if no Be is configured, the default is for Be=Bc