Cisco Catalyst 4500 series Administration Manual page 1020

Hide thumbs Also See for Catalyst 4500 series:
Table of Contents

Advertisement

Configuring VSS QoS
Command
Step 4
Switch(config-pmap-class)# bandwidth
{bandwidth-kbps | 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 return to the default bandwidth, use the no bandwidth policy-map class configuration command.
This example shows how to create a class-level policy map called policy11 for three classes called prec1,
prec2, and prec3. In the policy for these classes, 30 percent of the available bandwidth is assigned to the
queue for the first class, 20 percent is assigned to the queue for the second class, and 10 percent is
assigned to the queue for the third class.
Switch # configure terminal
Switch(config)# policy-map policy11
Switch(config-pmap)# class prec1
Switch(config-pmap-c)# bandwidth percent 30
Switch(config-pmap-c)# exit
Switch(config-pmap)# class prec2
Switch(config-pmap-c)# bandwidth percent 20
Switch(config-pmap-c)# exit
Switch(config-pmap)# class prec3
Switch(config-pmap-c)# bandwidth percent 10
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface gigabitethernet1/1
Switch(config-if)# service-policy output policy11
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
42-28
Purpose
Specifies the minimum bandwidth provided to a class belonging to
the policy map when there is traffic congestion in the switch. If the
switch is not congested, the class receives more bandwidth than you
specify with the bandwidth command.
By default, no bandwidth is specified.
You can specify the bandwidth in kbps or as a percentage:
o For bandwidth-kbps, specify the bandwidth amount in kbps
assigned to the class. The range is 32 to 10000000.
o For percent, specify the percentage of available bandwidth
assigned to the class. The range is 1 to 100.
Specify all the class bandwidths in either kbps or in percentages, but
not a mix of both.
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 42
Configuring Quality of Service
OL_28731-01

Advertisement

Table of Contents
loading

Table of Contents