Cisco Systems ME 3400 Switch User Manual


  Open as PDF
of 1086
 
33-60
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
OL-9639-06
Chapter 33 Configuring QoS
Configuring QoS
After you have created an output policy map, you attach it to an egress port. See the “Attaching a Traffic
Policy to an Interface” section on page 33-37.
Step 7
conform-action [transmit] (Optional) Enter the action to be taken on packets that conform to
the CIR. If no action is entered, the default action is to send the
packet.
Note You can enter a single conform-action as part of the
command string following the police command. You can
also enter a carriage return after the police command and
enter policy-map class police configuration mode to enter
the conform-action. When the police command is
configured with priority in an output policy map, only the
default conform-action of transmit is supported.
Although visible in the command-line help string, the
other police conform actions are not supported in output
policy maps.
Step 8
exceed-action [drop] (Optional) Enter the action to be taken for packets that do not
conform to the CIR. If no action is entered, the default action is to
drop the packet.
Note You can enter a single exceed-action as part of the
command string following the police command. You can
also enter a carriage return after the police command and
enter policy-map class police configuration mode to enter
the exceed-action. When the police command is
configured with priority in an output policy map, only the
default exceed-action of drop is supported. Although
visible in the command-line help string, the other police
exceed actions are not supported in output policy maps.
Step 9
exit Exit policy-map class configuration mode for the priority class.
Step 10
class class-map-name Enter the name of the first nonpriority class, and enter policy-map
class configuration mode for that class.
Step 11
bandwidth {rate | percent value}
or
shape average target bps
Set output bandwidth limits for the policy-map class in kilobits
per second (the range is 64 to 1000000) or a percentage of the
total bandwidth (the range is 1 to 100
percent) or specify the
average class-based shaping rate in bits per second (the range is
64000 to 1000000000).
Step 12
exit Return to policy-map configuration mode.
Step 13
exit Return to global configuration mode.
Step 14
interface interface-id Enter interface configuration mode for the interface to which you
want to attach the policy.
Step 15
service-policy output policy-map-name Attach the policy map (created in Step 3) to the egress interface.
Step 16
end Return to privileged EXEC mode.
Step 17
show policy-map Verify your entries.
Step 18
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose