Configuration Examples for Policy Maps
This example configures a second output service policy to be applied to Fast Ethernet UNIs 1 to 8,
providing strict priority to the gold class and distributing the remaining bandwidth in the desired
proportions over the remaining classes.
Switch(config)# policy-map output1-8
Switch(config-pmap)# class gold-out
Switch(config-pmap-c)# priority
Switch(config-pmap-c)# exit
Switch(config-pmap)# class silver-out
Switch(config-pmap-c)# bandwidth remaining percent 50
Switch(config-pmap-c)# exit
Switch(config-pmap)# class bronze-out
Switch(config-pmap-c)# bandwidth remaining percent 20
Switch(config-pmap-c)# exit
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:
•
•
•
Note these restrictions when configuring output policies:
•
•
•
•
•
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
30-58
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.
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.
Chapter 30
Configuring QoS
78-17058-01