27-40
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 27 Configuring QoS
Configuring QoS
Step 5
conform-action {drop |
set-cos-transmit cos_value |
set-discard-class -transmit
discard_value | set-dscp-transmit
dscp_value |
set-mpls-exp-imposition-transmit
new-exp | set-mpls-exp-topmost
transmit new-exp |
set-prec-transmit value |
set-qos-transmit value | transmit}
| exceed-action {drop |
set-cos-transmit cos_value |
set-discard-class -transmit
discard_value | set-dscp-transmit
dscp_value |
set-mpls-exp-imposition-transmit
new-exp | set-mpls-exp-topmost
transmit new-exp |
set-prec-transmit value |
set-qos-transmit value | transmit}
| violate- action {drop |
set-cos-transmit cos_value |
set-discard-class -transmit
discard_value | set-dscp-transmit
dscp_value |
set-mpls-exp-imposition-transmit
new-exp | set-mpls-exp-topmost
transmit new-exp |
set-prec-transmit value |
set-qos-transmit value | transmit}
(Optional) Enter the action to be taken on packets, depending on whether or
not they conform to the CIR and PIR.
•
(Optional) For conform-action, specify the action to perform on packets
that conform to the CIR and PIR. The default is transmit.
•
(Optional) For exceed-action, specify the action to perform on packets
that conform to the PIR but not the CIR. The default is drop.
•
(Optional) For violate-action, specify the action to perform on packets
that exceed the PIR. This keyword is only visible when you have entered
pir after the police command. The default is drop.
Specify one of these actions to perform on the packets:
•
drop—drop the packet.
Note
If the conform action is set to drop, the exceed and violate actions are
automatically set to drop. If the exceed action is set to drop, the
violate action is automatically set to drop.
•
set-cos-transmit cos_value
—
set the CoS value to a new value, and send
the packet. The range is 0 to 7.
•
set-discard-class -transmit discard_value
—
set the discard value to a
new value, and send the packet. The range is 0 to 7.
•
set-dscp-transmit dscp_value
—set the IP
DSCP
value to a new value,
and send the packet.
The range is 0 to 63. You also can enter a mnemonic
name for a commonly used value.
•
set-mpls-exp-imposition-transmit new-exp
—
enter the new MPLS
experimental value to be set at tag imposition, and send the packet. The
range is 0 to 7.
•
set-mpls-exp-topmost-transmit new-exp
—
enter the new MPLS
experimental value for the outermost or topmost label, and send the
packet. The range is 0 to 7
.
•
set-prec-transmit value
—
set the IP precedence value to a new value, and
send the packet. The range is 0 to 7.
•
set-qos-transmit value
—
set the QoS group number to a new value, and
send the packet. The range is 0 to 99.
•
transmit
—
send the packet without altering it.
Note
You can enter a single conform-action, exceed-action, or
violate-action as part of the command string following the police
command. You can also press Enter after the police command to enter
policy-map class police configuration mode, where you can enter
multiple actions. In policy-map class police configuration mode, you
must enter an action to take.
Step 6
end
Return to privileged EXEC mode.
Step 7
show policy-map
[policy-map-name]
Verify your entries.
Step 8
copy running-config
startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose