Cisco ME 3400 Command Reference Manual page 46

Ethernet access switch
Table of Contents

Advertisement

Chapter 2
Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
bandwidth
The total rate of the minimum bandwidth guarantees for each queue of the policy cannot exceed the total
speed for the interface. If the percent keyword is used, the sum of the class bandwidth percentages
cannot exceed 100 percent.
Using the queue-limit command to modify the default queue limit is especially important on
higher-speed interfaces so that they meet the minimum bandwidth guarantees required by the interface.
You cannot use the bandwidth policy-map class configuration command to configure CBWFQ and the
shape average command to configure class-based shaping for the same class in a policy map.
You cannot configure bandwidth in a class that includes priority queuing (configured with the priority
policy-map class configuration command).
Examples
This example shows how to set the precedence of output queues by setting bandwidth in kilobits per
second. The classes outclass1, outclass2, and outclass3 get a minimum of 50000, 20000, and 10000
kbps. The class class-default at a minimum gets the remaining bandwidth.
Switch(config)# policy-map out-policy
Switch(config-pmap)# class outclass1
Switch(config-pmap-c)# bandwidth 50000
Switch(config-pmap-c)# exit
Switch(config-pmap)# class outclass2
Switch(config-pmap-c)# bandwidth 20000
Switch(config-pmap-c)# exit
Switch(config-pmap)# class outclass3
Switch(config-pmap-c)# bandwidth 10000
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface fastethernet 0/1
Switch(config-if)# service-policy output out-policy
Switch(config-if)# exit
This example shows how to set the precedence of output queues by allocating percentages of the total
available bandwidth to each traffic class.The classes outclass1, outclass2, and outclass3 get a minimum
of 50, 20, and 10 percent. The class class-default at a minimum gets 20 percent.
Switch(config)# policy-map out-policy
Switch(config-pmap)# class outclass1
Switch(config-pmap-c)# bandwidth percent 50
Switch(config-pmap-c)# exit
Switch(config-pmap)# class outclass2
Switch(config-pmap-c)# bandwidth percent 20
Switch(config-pmap-c)# exit
Switch(config-pmap)# class outclass3
Switch(config-pmap-c)# bandwidth percent 10
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface fastethernet 0/1
Switch(config-if)# service-policy output out-policy
Switch(config-if)# exit
Cisco ME 3400 Ethernet Access Switch Command Reference
2-18
OL-9640-10

Advertisement

Table of Contents
loading

Table of Contents