4-5
To do… Use the command… Remarks
port group
view
Enter port
group
view
port-group manual port-group-name
settings in port group view
take effect on all ports in the
port group.
Configure GTS for a
queue
qos gts queue queue-number cir
committed-information-rate [ cbs
committed-burst-size]
Required
GTS configuration example
Configure GTS on GigabitEthernet 1/0/1, shaping packets when the sending rate exceeds 512 kbps in
queue 1.
# Enter system view.
<Sysname> system-view
# Enter interface view.
[Sysname] interface gigabitethernet 1/0/1
# Configure GTS parameters.
[Sysname-GigabitEthernet1/0/1] qos gts queue 1 cir 512
Line Rate Configuration Procedure
Configuration procedure
Follow these steps to configure line rate:
To do… Use the command… Remarks
Enter system view
system-view
—
Enter port
view
interface interface-type
interface-number
Enter
interface
view or
port group
view
Enter port
group
view
port-group manual port-group-name
Enter either view.
Settings in interface view take
effect on the current interface;
settings in port group view take
effect on all ports in the port
group.
Configure line rate
qos lr outbound cir
committed-information-rate [ cbs
committed-burst-size ]
Required
Line rate configuration examples
Limit the outbound rate of GigabitEthernet 1/0/1 to 640 kbps.
# Enter system view.
<Sysname> system-view
# Enter interface view.
[Sysname] interface GigabitEthernet 1/0/1
# Configure line rate parameter and limit the outbound rate to 640 kbps.
[Sysname-GigabitEthernet1/0/1] qos lr outbound cir 640