1. Create a Layer 3 input QoS policy using the
Create a Layer 2 input QoS policy by specifying the keyword
2. After you create an input QoS policy, do one or more of the following:
•
Configure Policy-Based Rate Policing
•
Set a DSCP Value for Egress Packets
•
Set a dot1p Value for Egress Packets
Configure Policy-Based Rate Policing
To rate police ingress traffic, use the
Set a DSCP Value for Egress Packets
You can set the DSCP value for egress packets based on ingress QOS classification. The 6 bits that are
used or DSCP are also used to identify the queue in which traffic is buffered.
Figure 24-9. 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
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
To set a dot1p value for egress packets, use the
mode.When you set a dot1p value, FTOS displays an informational message advising you of the queue to
which you should apply the QoS policy (using the command service-queue from POLICY-MAP-IN
mode).
Create an Output QoS Policy
To create an output QoS policy, follow these steps:
1. Create an output QoS policy using the
2. After you configure an output QoS policy, do one or more of the following
•
Configure Policy-Based Rate Shaping
•
Allocate Bandwidth to the Queue
•
Configure a Scheduler to Queue
•
Specify WRED Drop Precedence
424
|
Quality of Service (QoS)
qos-policy-input
command from QOS-POLICY-IN mode.
rate-police
command from QOS-POLICY-IN
set mac-dot1p
command from CONFIGURATION mode.
qos-policy-output
command from CONFIGURATION mode.
after the
layer2
qos-policy-input
command.