5-7[Sysname-behavior-http] quit# Create a policy named http, and associate class http with behavior http in the policy.[Sysname] qos policy http[Sysname-qospolicy-http] classifier http behavior http[Sysname-qospolicy-http] quit# Apply policy http to the incoming traffic of interface GigabitEthernet 1/0/1.[Sysname] interface gigabitethernet 1/0/1[Sysname-GigabitEthernet1/0/1] qos apply policy http inboundConfiguring GTSConfiguration ProcedureOn the H3C S5820X and S5800 series switches, traffic shaping is implemented as queue-based GTS,which configures GTS parameters for packets in a certain queue.Follow these steps to configure queue-based GTS:To do… Use the command… RemarksEnter system view system-view —Enterinterfaceviewinterface interface-type interface-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 port group.Configure GTSparameters for a queueqos gts queue queue-number circommitted-information-rate [ cbscommitted-burst-size ]RequiredConfiguration ExampleConfigure GTS on interface GigabitEthernet1/0/1, shaping the packets in queue 1 when the sendingrate exceeds 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: