
29-46
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-09
Chapter 29 Configuring QoS
Configuring Standard QoS
Step 10
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 second (bps).
The range is 8000 to 2000000000.
•
For burst-byte, specify the normal burst size in bytes. The range is
8000 to 512000000.
Note
Although the command-line help strings show a large range of
values, the rate-bps option cannot exceed the configured port
speed, and the burst-byte option cannot exceed 2000000 bytes.
If you enter a larger value, the switch rejects the policy map
when you attach it to an interface.
•
(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 packet.
For more information, see the
Step 11
exit
Return to policy map configuration mode.
Step 12
exit
Return to global configuration mode.
Step 13
interface interface-id
Enter interface configuration mode, and specify the interface to attach
to the policy map.
Valid interfaces include physical interfaces.
Step 14
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-map to
the output of an interface.
You cannot use the service-policy interface configuration command to
attach policy maps that contain these elements to an egress interface:
•
set or trust policy-map class configuration commands. Instead,
you can use the police policy-map class configuration command to
mark down (reduce) the DSCP value at the egress interface.
•
Access control list (ACL) classification.
•
Per-port per-VLAN classification.
The only match criterion in a policy map that can be attached to an
egress interface is the match ip dscp dscp-list class-map configuration
command.
Per-port per-VLAN policing is not supported on routed ports or on
virtual (logical) interfaces.
Command
Purpose