Chapter 1
Configuring QoS
Command
Step 11
policy-map policy-map-name
Step 12
class-map class-map-name
Step 13
police rate-bps burst-byte [exceed-action
{drop | policed-dscp-transmit}]
Step 14
exit
Step 15
exit
Step 16
policy-map policy-map-name
Step 17
class [class-map-name | class-default]
OL-25303-03
Purpose
Create an interface-level policy map by entering the policy-map name,
and enter policy-map configuration mode.
By default, no policy maps are defined, and no policing is performed.
Define an interface-level traffic classification, and enter policy-map
configuration mode.
By default, no policy-map class-maps are defined.
If a traffic class has already been defined by using the class-map global
configuration command, specify its name for class-map-name in this
command.
Define an individual policer for the classified traffic.
By default, no policer is defined. For information on the number of
policers supported, see the
section on page
1-39.
For rate-bps, specify average traffic rate in bits per second (b/s).
•
The range is 8000 to 10000000000.
For burst-byte, specify the normal burst size in bytes. The range is
•
8000 to 1000000.
(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 to send the
packet. For more information, see the
Policed-DSCP Map" section on page
Return to policy-map configuration mode.
Return to global configuration mode.
Create a VLAN-level policy map by entering the policy-map name, and
enter policy-map configuration mode.
By default, no policy maps are defined.
The default behavior of a policy map is to set the DSCP to 0 if the
packet is an IP packet and to set the CoS to 0 if the packet is tagged. No
policing is performed.
Define a VLAN-level traffic classification, and enter policy-map class
configuration mode.
By default, no policy-map class-maps are defined.
If a traffic class has already been defined by using the class-map global
configuration command, specify its name for class-map-name in this
command.
A class-default traffic class is pre-defined and can be added to any
policy. It is always placed at the end of a policy map. With an implied
match any included in the class-default class, all packets that have not
already matched the other traffic classes will match class-default.
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
Configuring Standard QoS
"Standard QoS Configuration Guidelines"
"Configuring the
1-75.
1-67