Configuration Example
Configure GTS on GigabitEthernet2/0/1, shaping the packets of queue 1 when the sending rate
exceeds 512 kbps.
# Enter system view.
<Sysname> system-view
# Enter interface view.
[Sysname] interface gigabitethernet 2/0/1
# Configure GTS parameters.
[Sysname-GigabitEthernet2/0/1] qos gts queue 1 cir 512
Configuring the Line Rate
Configuration Procedure
Follow these steps to configure the line rate:
To do...
Enter system view
Enter
Enter
interface
interface
view
view or port
Enter port
group view
group view
Configure the inbound or
outbound line rate for the
interface/port group
Display line rate
configuration information
on the interface/all
interfaces
Configuration Example
Limit the outbound line rate of GigabitEthernet 2/0/1 to 512 kbps.
# Enter system view.
<Sysname> system-view
# Enter interface view.
[Sysname] interface gigabitethernet 2/0/1
Use the command...
system-view
interface interface-type interface-number
port-group manual port-group-name
qos lr outbound cir
committed-information-rate [ cbs
committed-burst-size ]
display qos lr interface [ interface-type
interface-number ]
5-8
Remarks
—
Use either command
Settings in interface view take effect
on the current interface; settings in
port group view take effect on all
ports in the port group.
Required
On SC, SA, and EA LPUs, the
granularity of line rate is 64 kbps.
On SD and EB LPUs, the
granularity of line rate is 8 kbps.
Available in any view