Specifications
4-103
Cisco MWR 2941 Mobile Wireless Edge Router Software Configuration Guide, Release 12.2(33)MRB
OL-21227-02
Chapter 4 Configuring the Cisco MWR 2941 Router Using the CLI
Configuration Sequence
Configuring Shaping
The Cisco MWR 2941 supports class-based traffic shaping. Follow these steps to configure class-based
traffic shaping.
Class-based traffic shaping is configured using a hierarchical policy map structure; you enable traffic
shaping on a primary level (parent) policy map and other QoS features such as queuing and policing on
a secondary level (child) policy map.
The following sections describe how to configure shaping.
• Configuring Class-Based Traffic Shaping in a Primary-Level (Parent) Policy Map
• Configuring the Secondary-Level (Child) Policy Map
Configuring Class-Based Traffic Shaping in a Primary-Level (Parent) Policy Map
Follow these steps to configure a parent policy map for traffic shaping.
Step 1 Use the policy-map command to specify the policy map for which you want to configure shaping and
enter policy-map configuration mode.
Router(config)# policy-map output-policy
Step 2 Use the class command to specify the traffic class to which the policy map applies.
Router(config-pmap)# class class1
Router(config-pmap-c)#
Step 3 Use the shape command to define algorithm and rate used for traffic shaping.
Router(config-pmap-c)# shape [average | peak] mean-rate [[burst-size] [excess-burst-size]]
Step 4 Use the service-policy command to attach the policy map to the class map.
Router(config-pmap-c)# service-policy policy-map
Step 5 Exit configuration mode.
Router(config-pmap-c)# end
Router#
Note You can use the show policy-map command to verify your configuration.
For more information about configuring shaping, see Regulating Packet Flow on a Per-Class
Basis---Using Class-Based Traffic Shaping.
Note The Cisco MWR 2941 does not support all of the commands described in the IOS Release 12.2SR
documentation.