4-6Configuring GTSConfiguration ProcedureOn the S5120-EI series, traffic shaping is implemented as queue-based GTS, that is, configuring GTSparameters for packets of a certain queue.Follow these steps to configure queue-based GTS:To do… Use the command… RemarksEnter system view system-view —Enterinterfaceviewinterface interface-typeinterface-numberEnterinterfaceview orportgroupviewEnter portgroupviewport-group manual port-group-nameUse either commandSettings in interface view takeeffect on the current interface;settings in port group view takeeffect on all ports in the portgroup.Configure GTS for aqueueqos gts queue queue-number circommitted-information-rate [ cbscommitted-burst-size ]RequiredDisplay interface GTSconfigurationinformationdisplay qos gts interface[ interface-type interface-number ] Available in any viewConfiguration ExampleConfigure GTS on GigabitEthernet1/0/1, shaping the packets of queue 1 when the sending rateexceeds 512 kbps.# Enter system view. system-view# Enter interface view.[Sysname] interface gigabitethernet 1/0/1# Configure GTS parameters.[Sysname-GigabitEthernet1/0/1] qos gts queue 1 cir 512Configuring the Line RateConfiguration ProcedureFollow these steps to configure the line rate:To do… Use the command… RemarksEnter system view system-view —Enterinterfaceviewinterface interface-typeinterface-numberEnterinterfaceview orport groupviewEnter portgroupviewport-group manual port-group-nameUse either commandSettings in interface view takeeffect on the current interface;settings in port group view takeeffect on all ports in the portgroup.