Configuring Policy-Based Rate Policing
To configure policy-based rate policing, use the following command.
Configure rate police ingress traffic.
QOS-POLICY-IN mode
rate-police
Setting a dot1p Value for Egress Packets
To set a dot1p value for egress packets, use the following command.
Set a dscp or dot1p value for egress packets.
QOS-POLICY-IN mode
set mac-dot1p
Constraints
The systems supporting this feature should use only the default global dot1p to queue mapping
configuration as described in Dot1p to Queue Mapping Requirement.
Creating an Output QoS Policy
To create an output QoS policy, use the following commands.
1. Create an output QoS policy.
CONFIGURATION mode
qos-policy-output
2. After you configure an output QoS policy, do one or more of the following:
Scheduler Strict — Policy-based Strict-priority Queueing configuration is done through scheduler
strict. It is applied to Qos-policy-output. When scheduler strict is applied to multiple Queues, high
queue number takes precedence.
Allocating Bandwidth to Queue
Specifying WRED Drop Precedence
Configuring Policy-Based Rate Shaping
To configure policy-based rate shaping, use the following command.
Configure rate shape egress traffic.
QOS-POLICY-OUT mode
rate-shape
738 Quality of Service (QoS)