TP-Link TL-SG3216 Switch User Manual


 
116
bandwidth
Description
The bandwidth command is used to configure the bandwidth limit for an
Ethernet port. To disable the bandwidth limit, please use no bandwidth
command.
Syntax
bandwidth {[ ingress ingress-rate ] [ egress egress-rate ]}
no bandwidth { all | ingress | egress }
Parameter
ingress-rate —— Specify the bandwidth for receiving packets. Range:1-102400
for the megaport, 1-1024000 for the gigaport.
egress-rate —— Specify the bandwidth for sending packets. Range:1-102400
for the megaport, 1-1024000 for the gigaport.
Command Mode
Interface Configuration Mode (interface gigabitEthernet / interface range
gigabitEthernet)
Example
Configure the ingress-rate as 5120Kbps and egress-rate as 1024Kbps for port
5:
TL-SG3424(config)# interface gigabitEthernet 1/0/5
TL-SG3424(config-if)# bandwidth ingress 5120 egress 1024
clear counters
Description
The clear counters command is used to clear the statistic information of all the
Ethernet ports.
Syntax
clear counters
Command Mode
Global Configuration Mode
Example
Clear the statistic information of all ports
TL-SG3424(config)# clear counters