Cisco Systems ME 3400 Switch User Manual


  Open as PDF
of 1086
 
33-69
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
OL-9639-06
Chapter 33 Configuring QoS
Configuration Examples for Policy Maps
Note these restrictions when configuring output policies:
You can define up to three classes in the output policy map.
The defined classes must be the same as other output policy maps.
The number of defined classes in each output policy map must be same.
You must assign an action to each class; that is, there can be no empty class.
Each class configuration must be based on the classification or marking done in the input
policy-map.
This example modifies the third output service policy servicing Fast Ethernet UNIs 8 through 12 by
providing minimum guaranteed bandwidth of 40 Mb/s to the gold class (changed from 50 Mb/s),
30
Mb/s to the silver class (changed from 20 Mb/s), and 20 Mb/s to the bronze class (changed from 10
Mbps).
Switch(config)# policy-map output9-12
Switch(config-pmap)# class gold-out
Switch(config-pmap-c)# bandwidth 40000
Switch(config-pmap-c)# exit
Switch(config-pmap)# class silver-out
Switch(config-pmap-c)# bandwidth 30000
Switch(config-pmap-c)# exit
Switch(config-pmap)# class bronze-out
Switch(config-pmap-c)# bandwidth 20000
Switch(config-pmap-c)# exit
Modifying Output Policies and Adding or Deleting Configured Actions
This section provides examples of updating an existing set of output policy maps to add or delete 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 ports that are
not configured with the output policy map to be modified. But you must shut down the ports that are
configured with that output policy map. Customers not using this output policy map are not affected.
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 configuration:
Shut down all active ports carrying the policy to be modified.
Detach the output policy from all ports to which it is attached.
Make modifications to the output policy.
Reattach the output policy to the appropriate ports.
Take the ports out of the shutdown state.
Note these restrictions for configuring output policies:
You can define up to three classes in the output policy map.
The defined classes must be the same as other output policy maps.
The number of defined classes in each output policy map must be same.
You must assign an action to each class; that is, there can be no empty class.
Each class configuration must be based on the classification/marking done in the input policy-map.