HP 6125G Command Reference Manual page 48

Acl and qos command reference
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

Parameters
cir committed-information-rate: Specifies the committed information rate (CIR) in kbps. The
committed-information-rate argument ranges from 8 to 32000000 and must be a multiple of 8.
cbs committed-burst-size: Specifies the committed burst size (CBS) in bytes.
If you do not specify the cbs keyword, the CBS is 62.5 × committed-information-rate by default and
must be in the range of 512 to 16000000.
If you specify the cbs keyword, the CBS ranges from 512 to 16000000.
ebs excess-burst-size: Specifies the excess burst size (EBS) in bytes. The excess-burst-size argument ranges
from 0 to 16000000 and defaults to 512.
pir peak-information-rate: Specifies the peak information rate (PIR) in kbps. The peak-information-rate
argument ranges from 8 to 32000000 and must be a multiple of 8.
green action: Specifies the action to take on a packet that conforms to CIR. The default is pass.
yellow action: Specifies the action to take on a packet that conforms to PIR but not to CIR. The default is
pass.
red action: Specifies the action to take on a packet that conforms to neither CIR nor PIR. The default is
discard.
action: Sets the action to take on the packet:
discard—Drops the packet.
pass—Permits the packet to pass through.
remark-dot1p-pass new-cos—Sets the 802.1p priority of the packet to new-cos and permits the
packet to pass through. The new-cos argument ranges from 0 to 7.
remark-dscp-pass new-dscp—Sets the DSCP value of the packet to new-dscp and permits the
packet to pass through. The new-dscp argument ranges from 0 to 63 or is a keyword in
remark-lp-pass new-local-precedence—Sets the local precedence of the packet to
new-local-precedence and permits the packet to pass through. The new-local-precedence argument
ranges from 0 to 7.
Description
Use car to configure a CAR action in a traffic behavior.
Use undo car to delete a CAR action from a traffic behavior.
You can use a CAR action to rate limit inbound or outbound traffic.
A traffic behavior can have only one CAR action. If you configure the car command multiple times in a
traffic behavior, the last configuration takes effect.
Related commands: qos policy, traffic behavior, and classifier behavior.
Examples
# Configure a CAR action in the traffic behavior database:
Set the CIR to 128 kbps, CBS to 50000 bytes, and EBS to 0.
Allow the conforming packets to pass, and mark the excess packets with DSCP precedence 0 and
forward them.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] car cir 128 cbs 50000 ebs 0 green pass red remark-dscp-pass
0
43
Table
17.

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents