Set a DSCP value for egress packets based on ingress QoS classification, as shown in
bits that are used for DSCP are also used to identify the queue in which traffic is buffered. When you set a
DSCP value, FTOS displays an informational message advising you of the queue to which you should
apply the QoS policy (using the command
QoS policy to a queue other than the one specified in the informational message, FTOS replaces the first 3
bits in the DSCP field with the queue ID you specified.
Figure 39-12. Marking DSCP Values for Egress Packets
FTOS#config
FTOS(conf)#qos-policy-input my-input-qos-policy
FTOS(conf-qos-policy-in)#set ip-dscp 34
% Info: To set the specified DSCP value 34 (100-010 b) the QoS policy must be mapped to queue
4 (100 b).
FTOS(conf-qos-policy-in)#show config
!
qos-policy-input my-input-qos-policy
set ip-dscp 34
FTOS(conf-qos-policy-in)#end
FTOS#
Set a dot1p value for egress packets
Set a dot1p value for egress packets using the command
Create an output QoS policy
To create an output QoS policy:
1. Create an output QoS policy using the command
2. Once you configure an output QoS policy, do one or more of the following
•
Configure policy-based rate limiting
•
Configure policy-based rate shaping
•
Allocate bandwidth to queue
•
Specify WRED drop precedence
Configure policy-based rate limiting
Configure policy-based rate limiting
Policy-based rate limiting is configured the same way as port-based rate limiting except that the command
from QOS-POLICY-OUT mode is
Configure policy-based rate shaping
Rate shape egress traffic using the command
from POLICY-MAP-IN mode). If you apply the
service-queue
set mac-dot1p
qos-policy-output
is supported only on platform
rather than
rate-limit
rate limit
from QOS-POLICY-OUT mode.
rate-shape
Figure
from QOS-POLICY-IN mode.
from CONFIGURATION mode.
e
as it is in INTERFACE mode.
Quality of Service (QoS) | 829
39-2. The 6