HP MSR2000/3000/4000 Router Series ACL and QoS Command Reference
77
acl [ ipv6 ] acl-number: Performs GTS for packets matching an ACL specified by its number. The value
range for the acl-number argument depends on the device model. If ipv6 is not specified, this option
specifies an IPv4 ACL. If ipv6 is specified, this option specifies an IPv6 ACL.
cir committed-information-rate: Specifies the CIR in kbps. The value range for this argument depends on
the device model.
cbs committed-burst-size: Specifies the CBS in bytes. The default CBS is the amount of traffic transmitted
at the rate of CIR in 500 milliseconds. If the calculated default CBS is smaller than 1000, the value 1000
applies.
ebs excess-burst-size: Specifies the EBS in bytes, which specifies the traffic exceeding CBS when two
token buckets are used. The default EBS is 0 (one token bucket is used).
queue-length queue-length: Specifies the maximum queue length in the buffer, in the range of 1 to 1024
and defaulting to 50.
Examples
# Shape the packets matching ACL 2001 on Ethernet 1/1. The GTS parameters are as follows: CIR is
200 kbps, CBS is 50000 bytes, EBS is 0, and the maximum buffer queue length is 100.
<Sysname> system-view
[Sysname] interface ethernet1/1
[Sysname-Ethernet1/1] qos gts acl 2001 cir 200 cbs 50000 ebs 0 queue-length 100
Rate limit commands
display qos lr interface
Use display qos lr interface to view the rate limit configuration and statistics on a specified interface or
all the interfaces.
Syntax
display qos lr interface [ interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface-type interface-number: Specifies an interface by its type and number. If no interface is specified,
this command displays the rate limit configuration and statistics on all the interfaces.
Examples
# Display the rate limit configuration and statistics on all the interfaces.
<Sysname> display qos lr interface GigabitEthernet2/0/2
Interface: GigabitEthernet2/0/2
Direction: Outbound
CIR 100000 (kbps), CBS 6250000 (Bytes), EBS 0 (Bytes)
Passed : 7296674 (Packets) 904787576 (Bytes)