30-61
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
78-17058-01
Chapter30 Configuring QoS Configuration Examples for Policy Maps
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.
These steps shut down all ports carrying the output policy, in this case only the Gigabit Ethernet ports.
Switch(config)# interface range gigabitEthernet0/1-2
Switch(config-if-range)# shutdown
Switch(config-if-range)# exit
These steps detach the output policy to be modified, in this case the one configured on the Gigabit
Ethernet ports:
Switch(config)# interface range gigabitEthernet0/1-2
Switch(config-if-range)# no service-policy output output-g1-2
Switch(config-if-range)# exit
These steps modify the output service policy servicing the Gigabit Ethernet NN Is. Instead of providing
a minimum bandwidth guarantee of 10 percent to the br onz e c lass, the poli cy is m odified to pr ovide
class-based shaping to 100000 bps.
Switch(config)# policy-map output-g1-2
Switch(config-pmap)# class bronze-out
Switch(config-pmap-c)# no bandwidth percent 10
Switch(config-pmap-c)# shape average 100000
Switch(config-pmap-c)# exit
These steps reattach the output policy to the Gigabit Ethernet ports:
Switch(config)# interface range gigabitethernet0/1-2
Switch(config-if-range)# service-policy output output9-12
Switch(config-if-range)# exit
These steps activate all Gigabit Ethernet ports:
Switch(config)# interface range gigabitethernet0/1-2
Switch(config-if-range)# no shutdown
Switch(config-if-range)# exit
Modifying Output Policies and Adding or Deleting a Class
This section provides examples of updating an existing set of output policy maps to add or delete entire
classes. The modification in the output policy map might be required due to a change in the service
provisioning requirements or a change in the input service policy. To make this change, you must shut
down all active ports on the switch. For this kind of update to any output policy map, all customers could
potentially be affected. To avoid this, we recommend that you consider possible future upgr ad es whe n
you configure classes in output service policies.
In the initial configuration, Fast Ethernet ports 1 through 12 are UNIs and are active . F ast Etherne t ports
13 through 24 are UNIs and are shut down. Gigabit Ethernet ports 1 a nd 2 are NNIs and are enabled by
default.