Shaping A Traffic Class - Cisco 10000 Series Configuration Manual

Quality of service configuration guide
Hide thumbs Also See for 10000 Series:
Table of Contents

Advertisement

Configuring Traffic Shaping

Shaping a Traffic Class

To shape a traffic class to control the flow of traffic on an interface, enter the following commands
beginning in global configuration mode:
Note
These steps configure class-based traffic shaping, which can be applied to interfaces, subinterfaces, VCs,
and DLCIs.
Command
Step 1
Router(config)# policy-map policy-map-name
Step 2
Router(config-pmap)# class class-map-name
Step 3
Router(config-pmap-c)# shape [average] cir
or
Router(config-pmap-c)# shape [average]
percent percentage [be excess-burst-in-msec
ms] [bc committed-burst-in-msec ms]
Step 4
Router(config-pmap-c)# shape max-buffers
number-of-buffers
Step 5
Router(config-pmap-c)# service-policy
policy-map-name
Cisco 10000 Series Router Quality of Service Configuration Guide
9-14
Purpose
Creates or modifies a policy map.
policy-map-name is the name of the child policy map. The
name can be a maximum of 40 alphanumeric characters.
Assigns the traffic class you specify to the policy map. Enters
policy-map class configuration mode.
class-map-name is the name of a previously configured class
map and is the traffic class you want to shape.
Shapes traffic to the rate you specify, or shapes traffic based
on the percentage of available bandwidth you specify.
average is the committed burst (Bc) that specifies the
maximum number of bits sent out in each interval. This
option is only supported on the PRE3.
cir specifies the committed information rate (CIR), in bits per
second (bps).
percent percentage specifies the percentage of available
bandwidth to allocate.
(Optional) be excess-burst-in-msec ms is the excess (peak)
burst (be) size in milliseconds (ms).
(Optional) bc committed-burst-in-msec ms is the committed
(conform) burst (bc) size in milliseconds (ms).
(Optional) Specifies the maximum number of buffers allowed
on shaping queues.
number-of-buffers specifies the maximum number of buffers.
Valid values are from 1 to 4096.
(Optional) Applies the child policy map you specify to the
traffic class. The router applies the QoS actions specified in
the child policy to the traffic class.
policy-map-name is the name of the child policy.
Do not specify the output or input keywords.
Note
For more information, see
Multiple Policy Levels."
Chapter 9
Shaping Traffic
Chapter 13, "Defining QoS for
OL-7433-09

Advertisement

Table of Contents
loading

Table of Contents