Cisco Catalyst 4500 Series Configuration Manual page 889

Release ios xe 3.3.0sg and ios 15.1(1)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 40
Configuring Quality of Service
When a queuing class is configured without any explicit shape configuration, the queue shape is set to
the link rate.
To configure class-level shaping in a service policy, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# policy-map
policy-map-name
Step 3
Switch(config-pmap)# class class-name
Step 4
Switch(config-pmap-class)# shape
average {cir-bps [optional_postfix] |
percent percent}
Step 5
Switch(config-pmap-class)# exit
Step 6
Switch(config-pmap)# exit
Step 7
Switch(config)# interface interface-id
Step 8
Switch(config-interface)#
service-policy output policy-map-name
Step 9
Switch(config-interface)# end
Step 10
Switch# show policy-map
[policy-map-name [class
class-map-name]]
or
Switch# show policy-map interface
interface-id
Step 11
Switch# copy running-config
startup-config
To delete an existing policy map, use the no policy-map policy-map-name global configuration
command. To delete an existing class, use the no class class-name policy-map configuration command.
To disable the average-rate traffic shaping, use the no shape average policy-map class configuration
command.
This example shows how to configure class-level, average-rate shaping. It limits traffic class class1 to a
data transmission rate of 256 kbps:
Switch# configure terminal
Switch(config)# policy-map policy1
Switch(config-pmap)# class class1
Switch(config-pmap-c)# shape average 256000
OL-25340-01
Purpose
Enters global configuration mode.
Creates a policy map by entering the policy-map name, and enter
policy-map configuration mode.
By default, no policy maps are defined.
Specifies the name of the class whose traffic policy you want to
create or change, and enter policy-map class configuration mode.
By default, no traffic classes are defined.
Enables average-rate traffic shaping.
You can specify the shaping rate in absolute value or as a percentage:
For cir-bps [optional_postfix], specify the shaping rate in bps.
Range is 32000 to 10000000000 bps. Supply an optional postfix
(K, M, G).
For percent, specify the percentage of link rate to shape the class
of traffic. The range is 1 to 100.
By default, average-rate traffic shaping is disabled.
Returns to policy-map configuration mode.
Returns to global configuration mode.
Specifies a physical port and enter interface configuration mode.
Specifies the policy-map name, and apply it a physical interface.
Returns to privileged EXEC mode.
Verifies your entries.
(Optional) Saves your entries in the configuration file.
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
Configuring QoS
40-25

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents