
4-6
Configuring GTS
Configuration Procedure
On the S5120-EI series, traffic shaping is implemented as queue-based GTS, that is, configuring GTS
parameters for packets of a certain queue.
Follow these steps to configure queue-based GTS:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter
interface
view
interface
interface-type
interface-number
Enter
interface
view or
port
group
view
Enter port
group
view
port-group manual port-group-name
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.
Configure GTS for a
queue
qos gts
queue queue-number
cir
committed-information-rate
[
cbs
committed-burst-size
]
Required
Display interface GTS
configuration
information
display qos gts interface
[
interface-type
interface-number
]
Available in any view
Configuration Example
Configure GTS on GigabitEthernet1/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 1/0/1
# Configure GTS parameters.
[Sysname-GigabitEthernet1/0/1] qos gts queue 1 cir 512
Configuring the Line Rate
Configuration Procedure
Follow these steps to configure the line rate:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter
interface
view
interface interface-type
interface-number
Enter
interface
view or
port group
view
Enter port
group
view
port-group manual port-group-name
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.
Summary of Contents for S5120-EI Series
Page 139: ...ii...
Page 578: ...1 21 C...
Page 739: ...1 12 Enable ARP detection based on 802 1X security entries SwitchB arp detection mode dot1x...
Page 926: ...2 8...
Page 942: ...ii Single Device Upgrade 3 4 IRF System Upgrade 3 5...
Page 985: ...1 1...
Page 1018: ...1 6...