Configuring Output Policy Maps With Class-Based Shaping - Cisco ME 3400 Software Configuration Manual

Ethernet access switch
Hide thumbs Also See for ME 3400:
Table of Contents

Advertisement

Configuring QoS

Configuring Output Policy Maps with Class-Based Shaping

You use the shape average policy-map class configuration command to configure traffic shaping.
Class-based shaping is a control mechanism that is applied to classes of traffic leaving an interface and
uses the shape average command to limit the rate of data transmission used for the committed
information rate (CIR) for the class.
Follow these guidelines when configuring class-based shaping:
Beginning in privileged EXEC mode, follow these steps to use class-based shaping to configure the
maximum permitted average rate for a class of traffic:
Command
Step 1
configure terminal
Step 2
policy-map policy-map-name
Step 3
class {class-map-name | class-default}
Step 4
shape average target bps
Step 5
exit
Step 6
exit
Step 7
interface interface-id
Step 8
service-policy output policy-map-name
Step 9
end
Step 10
show policy-map [policy-map-name [class
class-map-name]]
Step 11
copy running-config startup-config
After you have created an output policy map, you attach it to an egress port. See the
Policy to an Interface" section on page
Use the no form of the appropriate command to delete an existing policy map or class map or to delete
a class-based shaping configuration.
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
33-56
Configuring a queue for traffic shaping sets the maximum bandwidth or peak information rate (PIR)
of the queue. In the Cisco ME switch, configuring traffic shaping automatically also sets the
minimum bandwidth guarantee or CIR of the queue to the same value as the PIR.
You cannot configure CBWFQ (bandwidth) or priority queuing (priority) and traffic (shape
average) for the same class in an output policy map.
You cannot configure traffic shaping for a traffic class when strict priority (priority without police)
is configured for another class within the output policy-map.
Purpose
Enter global configuration mode.
Create a policy map by entering the policy map name, and enter
policy-map configuration mode.
Enter a child class-map name or class-default to match all
unclassified packets, and enter policy-map class configuration
mode.
Specify the average class-based shaping rate.
For target bps, specify the average bit rate in bits per second. The
range is from 64000 to 1000000000.
Return to policy-map configuration mode.
Return to global configuration mode.
Enter interface configuration mode for the interface to which you
want to attach the policy.
Attach the policy map (created in Step 2) to the egress interface.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
33-38.
Chapter 33
Configuring QoS
"Attaching a Traffic
OL-9639-07

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents