Usage guidelines
The specified CIR does not take interframe gaps into account and is smaller than the actually shaped
rate on an interface.
An interframe gap is a time interval of 12 bits between frames. This gap serves the following roles:
•
Allows the device to differentiate one frame from another.
•
Allows for time for the device to process the current frame and to be prepared to receive the
next frame.
Examples
# Shape the packets of queue 1 on Ten-GigabitEthernet 1/0/1 (CIR 6400 kbps and CBS 51200
bytes).
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] qos gts queue 1 cir 6400 cbs 51200
Rate limit commands
display qos lr interface
Use display qos lr interface to display the rate limit information for 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 you do not specify
an interface, this command displays the rate limit information for all interfaces.
Examples
# Display the rate limit information for all interfaces.
<Sysname> display qos lr interface
Interface: Ten-GigabitEthernet1/0/1
Direction: Inbound
CIR 2000 (kbps), CBS 20000 (Bytes), EBS 0 (Bytes)
Passed
Discarded: 1000 (Packets) 1000 (Bytes)
Delayed
Interface: Ten-GigabitEthernet1/0/2
Direction: Outbound
CIR 50 (kbps), CBS 600 (Bytes), EBS 0 (Bytes)
Passed
Discarded: 1000 (Packets) 1000 (Bytes)
Delayed
: 1000 (Packets) 1000 (Bytes)
: 1000 (Packets) 1000 (Bytes)
: 1000 (Packets) 1000 (Bytes)
: 1000 (Packets) 1000 (Bytes)
44