R2511-HP MSR Router Series ACL and QoS Command Reference(V5)
77
pir peak-information-rate: PIR in kbps. The default is 0.
green: Action conducted to packets when the traffic rate conforms to CIR. The default is pass.
red: Action conducted to packets when the traffic rate exceeds CIR. The default is discard.
action: Action conducted to packets:
• continue—Continues to process the packet using the next CAR policy.
• discard—Drops the packet.
• pass—Permits the packet to pass through.
• remark-dscp-continue new-dscp—Remarks the packet with a new DSCP value and hands it over to
the next CAR policy. The value range is 0 to 63. Alternatively, you can specify the new-dscp
argument with af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cs1, cs2, cs3,
cs4, cs5, cs6, cs7, default, or ef.
• remark-dscp-pass new-dscp—Remarks the packet with a new DSCP value and permits the packet
to pass through. The value range is 0 to 63. Alternatively, you can specify the new-dscp argument
with af11, af12, af13, af21, af22, af23, af31, af3
2, af33, af41, af42, af43, cs1, cs2, cs3, cs4, cs5,
cs6, cs7, default, or ef.
• remark-prec-continue new-precedence—Remarks the packet with a new IP precedence and hands
it over to the next CAR policy. The value range is 0 to 7.
• remark-prec-pass new-precedence—Remarks the packet with a new IP precedence and permits the
packet to pass through. The value range is 0 to 7.
Usage guidelines
You can configure multiple CAR policies on an interface. The policies are applied in the order they are
configured.
Settings in interface view take effect on the current interface. Settings in port group view take effect on all
ports in the port group.
Examples
# Perform CAR for packets matching CAR list 1 in the outbound direction of Ethernet 1/1. The CAR
parameters are as follows: CIR is 200 kbps, CBS is 50000 bytes and EBS is 0. Conforming packets are
transmitted, and excess packets are set with an IP precedence of 0 and transmitted.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] qos car outbound carl 1 cir 200 cbs 50000 ebs 0 green pass red
remark-prec-pass 0
qos carl
Use qos carl to create or modify a CAR list.
Use undo qos carl to delete a CAR list.
Syntax
qos carl carl-index { precedence precedence-value | mac mac-address | dscp dscp-list |
{ destination-ip-address | source-ip-address } { subnet ip-address mask-length | range start-ip-address
to end-ip-address } [ per-address [ shared-bandwidth ] ] }
undo qos carl carl-index










