Cisco Catalyst 4500 Series Software Configuration Manual page 1122

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Configuring VSS QoS
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
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface gigabitethernet1/1
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
44-26
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.
Chapter 44
Configuring Quality of Service

Advertisement

Table of Contents
loading

Table of Contents