R0106-HP MSR Router Series ACL and QoS Command Reference(V7)
88
acl [ ipv6 ] acl-number: Specifies packets matching an ACL specified by its number. The value range for
the acl-number argument is 2000 to 4999. If ipv6 is not specified, this option specifies an IPv4 ACL. If
ipv6 is specified, this option specifies an IPv6 ACL.
queue queue-number: Specifies packets in the specified queue.
cir committed-information-rate: Specifies the CIR in kbps.
cbs committed-burst-size: Specifies the CBS in bytes.
ebs excess-burst-size: Specifies the EBS in bytes, which is the traffic exceeding CBS when two token
buckets are used.
queue-length queue-length: Specifies the maximum queue length in the buffer.
Examples
# Shape the packets matching ACL 2001 on GigabitEthernet 2/1/0. 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 gigabitethernet 2/1/0
[Sysname-GigabitEthernet2/1/0] 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 display the rate limit configuration and statistics on 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
Interface: GigabitEthernet2/1/0
Direction: Inbound
CIR 2000 (kbps), CBS 20000 (Bytes), EBS 0 (Bytes)
Passed : 1000 (Packets) 1000 (Bytes)
Discarded: 1000 (Packets) 1000 (Bytes)
Delayed : 1000 (Packets) 1000 (Bytes)
Active shaping: No