<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] qos gts acl 2001 cir 200 cbs 51200 ebs 0 queue-length 100
Rate limit commands
display qos lr
Use display qos lr to display the rate limit information for interfaces or PWs.
Syntax
display qos lr { interface [ interface-type interface-number ] | l2vpn-pw [ peer ip-address pw-id
pw-id ] }
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface-type interface-number: Specifies an interface by its type and number. If you do not specify
an interface, this command displays the rate limit information for all interfaces.
peer ip-address pw-id pw-id: Specifies a PW by its peer PE LSR ID and its PW ID. The ip-address
argument represents the LSR ID of the peer PE of the PW. The value range for the pw-id argument is
1 to 4294967295. If you do not specify a PW, this command displays the rate limit information for all
PWs.
Examples
# Display the rate limit information for all interfaces.
<Sysname> display qos lr interface
Interface: GigabitEthernet2/1/1
Direction: Outbound
CIR 2000 (kbps), CBS 20480 (Bytes), EBS 0 (Bytes)
Passed
Discarded: 1000 (Packets) 1000 (Bytes)
Delayed
Active shaping: No
Interface: GigabitEthernet2/1/2
Direction: Outbound
CIR 50 (%), CBS 600 (ms), EBS 0 (ms)
Passed
Discarded: 1000 (Packets) 1000 (Bytes)
Delayed
Active shaping: No
# Display the rate limit information for all PWs.
<Sysname> display qos lr l2vpn-pw
L2VPN-PW: peer 1.2.3.4, pw-id 1
Direction: Outbound
: 1000 (Packets) 1000 (Bytes)
: 1000 (Packets) 1000 (Bytes)
: 1000 (Packets) 1000 (Bytes)
: 1000 (Packets) 1000 (Bytes)
81