Specifications
25-24
Cisco MWR 2941 Mobile Wireless Edge Router Release 3.5 Software Configuration Guide, Cisco IOS Release 15.1(3)MR
OL-26895-01
Chapter 25 Configuring Quality of Service
Configuring Quality of Service
Configuring Shaping
The Cisco MWR 2941 supports 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 9
Router(config-pmap)# exit
Router(config)#
Exits the policy map configuration.
Step 10
Router(config)# interface atm0/ima0
Enters configuration for the interface to which you want to apply the
policy map.
Step 11
Router(config-if)# service-policy
output policy1
Applies the service policy to the interface.
Step 12
exit
Example:
Router(config)# exit
Router#
Exits configuration mode.
Command Purpose
Command Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
• Enter your password if prompted.
Step 2
configure terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
Router(config)# policy-map
output-policy
Specifies the policy map for which you want to configure shaping and
enter policy-map configuration mode.
Step 4
Router(config-pmap)# class class1
Router(config-pmap-c)#
Specifies the traffic class to which the policy map applies.
Step 5
Router(config-pmap-c)# shape
[average | peak] mean-rate
[[burst-size] [excess-burst-size]]
Defines the algorithm and rate used for traffic shaping.