Configuring Gts; Configuration Procedure; Configuration Example; Configuring The Line Rate - H3C S5120-EI Series Operation Manual

Ethernet switches
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

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...
Enter system view
Enter
Enter
interface
interface
view
view or
port
Enter port
group
group
view
view
Configure GTS for a
queue
Display interface GTS
configuration
information

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...
Enter system view
Enter
Enter
interface
interface
view
view or
Enter port
port group
group
view
view
Use the command...
system-view
interface interface-type
interface-number
port-group manual port-group-name
qos gts queue queue-number cir
committed-information-rate [ cbs
committed-burst-size ]
display qos gts interface
[ interface-type interface-number ]
Use the command...
system-view
interface interface-type
interface-number
port-group manual port-group-name
4-6
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
Available in any view
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.

Advertisement

Table of Contents
loading

Table of Contents