27-33
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 27 Configuring QoS
Configuring QoS
After you create the input policy map, attach it to a target. See the
“Attaching a Service Policy to an
Interface or EFP” section on page 27-56
. Use the no form of the appropriate command to delete a policy
map or remove an assigned CoS, DSCP, MPLS, precedence, or QoS-group value.
Step 4
set {cos cos_value |
discard-class value | [ip] dscp
dscp_value | [ip] precedence
precedence_value | mpls
experimental {imposition |
topmost} experimental _value |
qos-group value}
Mark traffic by setting a new value in the packet, specifying a table map, or
specifying a QoS group.
•
For cos cos_value, enter a new CoS value to be assigned to the classified
traffic. The range is 0 to 7.
•
For discard-class value, enter the exact value to be marked for traffic to be
discarded. The range is 0 to 7.
•
For [ip] dscp new-dscp, enter a new DSCP value to be assigned to the
classified traffic. The range is 0 to 63 or valid af numbers, cs numbers,
default, or ef.
•
For [ip] precedence new-precedence, enter a new IP-precedence value to be
assigned to the classified traffic, specified as a number from 0 to 7 or by
name: routine (0), priority (1), immediate (2), flash (3), flash-override
(4), critical (5), internet (6), network (7).
Note
A class can have either DSCP or precedence marking. If one of these is
already configured in a class and you configure the other keyword, the
newer command overwrites the previous command. If the value
configured for a set ip precedence class in an earlier class in a policy
overlaps the value configured for a set ip dscp class in a later class, then
the earlier configuration is always matched.
•
For mpls experimental imposition exp-number, enter the new MPLS
experimental value to be set at tag imposition. This keyword specifies that
the MPLS experimental value in a packet header is set with the new value
after the packet is switched. This keyword applies only to MPLS packets that
are MPLS routed.
The range is 0 to 7.
•
mpls experimental topmost exp-number, enter the new MPLS experimental
value for the outermost or topmost label
.
This keyword marks all valid
MPLS packets. The range is 0 to 7.
•
For qos-group value, identify a QoS group to be used at egress to identify
specific packets. The range is from 0 to 99.
If the policy is already attached to an interface, you must exit policy-map class
configuration mode before the modification is applied.
Step 5
end
Return to privileged EXEC mode.
Step 6
show policy-map
[policy-map-name [class
class-map-name]]
Verify your entries.
Step 7
copy running-config
startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose