33-68
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
OL-9639-06
Chapter 33 Configuring QoS
Configuration Examples for Policy Maps
This example attaches the output policy for Fast Ethernet ports 9 through 12 and activates the ports:
Switch# config terminal
Switch(config)# interface range fastethernet0/9-12
Switch(config-if-range)# service-policy input input-all
Switch(config-if-range)# service-policy output output9-12
Switch(config-if-range)# no shutdown
Switch(config-if-range)# exit
Modifying Output Policies and Adding or Deleting Classification Criteria
This section provides examples of updating an existing set of output policy maps to add or delete
classification criteria. The modification might be required due to a change in the service provisioning
requirements or a change in the input service policy map. You can make the change without shutting
down any port.
In the initial configuration, Fast Ethernet ports 1 through 12 are UNIs and are active. Fast Ethernet ports
13 through 24 are UNIs and are shut down. Gigabit Ethernet ports 1 and 2 are NNIs and are enabled by
default.
This is the overall sequence of initial configuration:
Change the configured class map for an input service policy.
Change the configured class map for an output service policy.
This example modifies classes for an input service policy by adding classification criteria to the silver-in
class to also match dscp cs5. This is required for the output policy-map to match to dscp cs5.
Switch(config)# class-map match-any silver-in
Switch(config-cmap)# match ip dscp af21
Switch(config-cmap)# match ip dscp cs5
Switch(config-cmap)# exit
This example modifies classes for an output service policy, adding classification criteria to the silver-out
class to also match dscp cs5. This adds dscp cs5 to the silver-out class on all configured and attached
output service policies. The dscp cs5 flow now receives the same queuing and scheduling treatment as
the silver-out class.
Switch# config terminal
Switch(config)# class-map match-any silver-out
Switch(config-cmap)# match ip dscp af21
Switch(config-cmap)# match ip dscp cs5
Switch(config-cmap)# exit
You should use the same procedure when deleting a match statement associated with a configured class.
Modifying Output Policies and Changing Queuing or Scheduling Parameters
This section provides examples of updating an existing set of output policy maps to modify the
parameters of the configured queuing and scheduling actions. The modification in the output policy map
might be required due to a change in the service provisioning requirements. You can make the change
without shutting down any port.
In the initial configuration, Fast Ethernet ports 1 through 12 are UNIs and are active. Fast Ethernet ports
13 through 24 are UNIs and are shut down. Gigabit Ethernet ports 1 and 2 are NNIs and are enabled by
default.
The requirement is to change the action parameters.