30-59
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
78-17058-01
Chapter30 Configuring QoS Configuration Examples for Policy Maps
This example configures a third output service policy to be attached to F a st Ethe rnet UNI s 9 thr ough 12,
providing a minimum guaranteed bandwidth of 50 Mbps to the gold class, 20 Mbps to the silver class,
and 10 Mbps to the bronze class:
Switch(config)# policy-map output9-12
Switch(config-pmap)# class gold-out
Switch(config-pmap-c)# bandwidth 50000
Switch(config-pmap-c)# exit
Switch(config-pmap)# class silver-out
Switch(config-pmap-c)# bandwidth 20000
Switch(config-pmap-c)# exit
Switch(config-pmap)# class bronze-out
Switch(config-pmap-c)# bandwidth 10000
Switch(config-pmap-c)# exit
This example attaches the output policy for Fast Ethernet ports 9 th rough 12 a nd activates the po rts:
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 poli cy map s t o ad d o r delet e
classification criteria. The modification might be requir ed due t o a chan ge in th e servi ce pr ovisioni ng
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 activ e. F ast E thernet p orts
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 polic y by adding classif icatio n crit eria t o the sil ver -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 t o 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 cl ass.