Specifications
2-289
Cisco ME 3400 Ethernet Access Switch Command Reference
OL-9640-07
Chapter 2 Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
policy-map
Examples This example shows how to create an input policy map for three classes:
Switch(config)# policy-map input-all
Switch(config-pmap)# class gold
Switch(config-pmap-c)# set dscp af43
Switch(config-pmap-c)# exit
Switch(config-pmap)# class silver
Switch(config-pmap-c)# police 50000000
Switch(config-pmap-c)# exit
Switch(config-pmap)# class bronze
Switch(config-pmap-c)# police 20000000
Switch(config-pmap-c)# exit
This example shows how to configure an output policy map that provides priority with rate limiting to
the gold class and guarantees a minimum remaining bandwidth percent of 20 percent to the silver class
and 10 percent to the bronze class:
Switch(config)# policy-map output-2
Switch(config-pmap)# class gold-out
Switch(config-pmap-c)# priority
Switch(config-pmap-c)# police 50000000
Switch(config-pmap-c)# exit
Switch(config-pmap)# class silver-out
Switch(config-pmap-c)# bandwidth percent 20
Switch(config-pmap-c)# exit
Switch(config-pmap)# class bronze-out
Switch(config-pmap-c)# bandwidth percent 10
Switch(config-pmap-c)# exit
This example shows how to delete the policy map output-2:
Switch(config)# no policy-map output-2
You can verify your settings by entering the show policy-map privileged EXEC command.
Related Commands Command Description
class Defines a traffic classification match criteria for the specified class-map
name.
class-map Creates a class map to be used for matching packets to the class whose name
you specify.
service-policy
(interface
configuration)
Applies a policy map to a port.
show policy-map Displays quality of service (QoS) policy maps.