Skip to Main Content
Cisco IOS in a Nutshell, 2nd Edition
book

Cisco IOS in a Nutshell, 2nd Edition

by James Boney
August 2005
Intermediate to advanced content levelIntermediate to advanced
798 pages
31h 12m
English
O'Reilly Media, Inc.
Content preview from Cisco IOS in a Nutshell, 2nd Edition

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
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

CISCO IOS in a Nutshell

CISCO IOS in a Nutshell

James Boney
Cisco IOS Cookbook, 2nd Edition

Cisco IOS Cookbook, 2nd Edition

Kevin Dooley, Ian Brown
Cisco Software-Defined Access

Cisco Software-Defined Access

Srilatha Vemula, Jason Gooley, Roddie Hasan

Publisher Resources

ISBN: 0596008694Errata