33-70
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
OL-9639-06
Chapter 33 Configuring QoS
Configuration Examples for Policy Maps
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 NNIs. Instead of providing
a minimum bandwidth guarantee of 10 percent to the bronze class, the policy is modified to provide
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 upgrades when
you configure classes in output service policies.
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.
Detach the output policies from all Fast Ethernet and Gigabit Ethernet ports.
Delete the class.
Reattach the output policies to the Fast Ethernet and Gigabit Ethernet ports.
Take the Fast Ethernet and Gigabit Ethernet ports out of the shutdown state.