20-35
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-03
Chapter20 Configuring QoS Configuring QoS
To delete an existing policy map, use the no policy-map policy-map-name global configuration
command. To delete an existing class map, use the no class class-map-name policy-map configuration
command. To return to the default trust state, use the no trust [cos | dscp | ip-precedence] policy-map
configuration command. To remove an assigned DSCP or IP precedence value, use the no set {ip dscp
new-dscp | ip precedence new-precedence} policy-map configuration com mand. To remove an existing
policer, use the no police rate-bps burst-byte [exceed-action {drop | policed-dscp-transmit}]
policy-map configuration command. To remove the policy map and interfac e asso cia ti on, use the no
service-policy {input policy-map-name | output policy-map-name} interface configuration command.
Step8 police rate-bps burst-byte [exceed-action
{drop | policed-dscp-transmit}] Define a policer for the classified traffic.
You can configure up to 128 policers on ingress Gigabit-capable
Ethernet ports, up to 8 policers on ingress 10/100 Ethernet ports, and
up to 8 policers on egress ports.
For rate-bps, specify average traffic rate in bits per s eco nd (b ps).
The range is 8000 to 2000000000.
For burst-byte, specify the normal burst size in bytes. The range is
8000 to 512000000.
(Optional) Specify the action to take when the rates are exceeded.
Use the exceed-action drop keywords to drop the packet. Use the
exceed-action policed-dscp-transmit keywords to mark down the
DSCP value (by using the policed-DSCP map) and send the pack et.
For more information, see the Configuring the Policed-DSCP
Map section on page 20-41.
Step9 exit Return to policy map configuration mode.
Step10 exit Return to global configuration mode.
Step11 interface interface-id Enter interface configuration mode, and specify the interface to attach
to the policy map.
Valid interfaces include physical interfaces.
Step12 service-policy {input policy-map-name |
output policy-map-name}Apply a policy map to the input or output of a particular interface.
Only one policy map per interface per direction is supported.
Use input policy-map-name to apply the specified policy-map to
the input of an interface.
Use output policy-map-name to apply the specified policy-m ap to
the output of an interface.
Note Policy maps that contain set or trust policy-map class
configuration commands or that have ACL classification
cannot be attached to an output interface.
Step13 end Return to privileged EXEC mode.
Step14 show policy-map [policy-map-name [class
class-name]] Verify your entries.
Step15 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose