33-67
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 input and output service policies to the Gigabit Ethernet ports and activates
them.
Switch(config)# interface range gigabitethernet0/1-2
Switch(config-if-range)# service-policy input input-all
Switch(config-if-range)# service-policy output output-g1-2
Switch(config-if-range)# no shutdown
Switch(config-if-range)# exit
This example attaches the input and output service policies to Fast Ethernet ports 1 to 8 and activates
them.
Switch(config)# interface range fastethernet0/1 – 8
Switch(config-if-range)# service-policy input input-all
Switch(config-if-range)# service-policy output output1-8
Switch(config-if-range)# no shutdown
Switch(config-if-range)# exit
QoS Configuration for Customer B
This section provides examples for configuring and activating QoS policies on the switch for a new set
of customers without affecting the current customers. Input and output QoS service policies are
configured based on the requirements and attached to relevant ports. The example uses an existing input
policy-map and configures a new output policy map for the new customers.
In the initial configuration for Customer B, Fast Ethernet ports 1 through 8 are UNIs and are active. Fast
Ethernet ports 9 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:
Define any new required output policies.
Attach input and output policies to ports to be activated.
Take the ports out of the shut-down state.
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/marking done in the input policy-map.
This example configures a third output service policy to be attached to Fast Ethernet UNIs 9 through 12,
providing a minimum guaranteed bandwidth of 50 Mb/s to the gold class, 20 Mb/s to the silver class,
and 10 Mb/s 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