Modifying Output Policies And Adding Or Deleting A Class - Cisco ME 3400 Software Configuration Manual

Ethernet access switch
Hide thumbs Also See for ME 3400:
Table of Contents

Advertisement

Chapter 33
Configuring QoS
Note these restrictions for configuring output policies:
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.
OL-9639-07
Reattach the output policy to the appropriate ports.
Take the ports out of the shutdown 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.
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
Configuration Examples for Policy Maps
33-71

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents