Name
shape — policy-map
Synopsis
shape {average | peak} cir [burst-committed burst-excess]
no shape {average | peak} cir [burst-committed burst-excess]
shape {average | peak} percent percent-value [burst-committed burst-excess]
no shape {average | peak} percent percent-value [burst-committed burst-excess]Configures
traffic shaping
Default
None
Description
This command allows you to configure traffic shaping for a policy-map class. You can specify either the committed information rate (CIR) in bits per second or you can specify a percentage of the available bandwidth.
-
average Specifies the average rate shaping.
-
peak Specifies the peak rate shaping.
-
cir Specifies the CIR in bits per second.
-
percent Specifies the percentage of bandwidth to use. The value can be from 1 to 100.
-
burst-committed Optional. Specifies the committed burst (
bc) size in milliseconds. This value can be from 10 to 2,000.-
burst-excess Optional. Specifies the exceeded burst (
be) size in milliseconds. This value can be from 10 to 2,000.
Example
This example configures traffic shaping using an average of the available bandwidth. We set the average rate to have a CIR of 50 percent, a committed burst (bc) of 400 milliseconds, and an exceeded burst (be) of 600 milliseconds.
policy-map map1
class class1
shape average percent 50 400 600