Cisco ME 3400 Command Reference Manual page 374

Ethernet access switch
Table of Contents

Advertisement

shape average
Examples
This example shows how to configure traffic shaping for outgoing traffic on a Fast Ethernet port so that
outclass1, outclass2, and outclass3 get a maximum of 50, 20, and 10 Mbps of the buffer size. The class
class-default gets the remaining bandwidth.
Switch(config)# policy-map out-policy
Switch(config-pmap)# class classout1
Switch(config-pmap-c)# shape average 50000000
Switch(config-pmap-c)# exit
Switch(config-pmap)# class classout2
Switch(config-pmap-c)# shape average 20000000
Switch(config-pmap-c)# exit
Switch(config-pmap)# class classout3
Switch(config-pmap-c)# shape average 10000000
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface fastethernet 0/1
Switch(config-if)# service-policy out out-policy
This example shows how to configure port shaping by configuring a hierarchical policy map that shapes
a port to 90 Mbps, allocated according to the out-policy policy map configured in the previous example.
Switch(config)# policy-map out-policy-parent
Switch(config-pmap)# class class-default
Switch(config-pmap-c)# shape average 90000000
Switch(config-pmap-c)# service-policy out-policy
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
You can verify your settings by entering the show policy-map privileged EXEC command.
Related Commands
Command
class
policy-map
show policy-map
show policy-map
interface [interface-id]
Cisco ME 3400 Ethernet Access Switch Command Reference
2-348
Chapter 2 Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
Description
Defines a traffic classification match criteria for the specified class-map
name.
Creates or modifies a policy map that can be attached to multiple ports to
specify a service policy.
Displays QoS policy maps.
Displays policy maps configured on the specified interface or on all
interfaces.
OL-9640-07

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents