181
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-100000
kbps for the megaport, 1-1000000 kbps for the gigaport, 1 to 10000000 kbps for
the ten-gigabit port.
egress-rate —— Specify the bandwidth for sending packets. Range:1-100000
kbps for the megaport, 1-1000000 kbps for the gigaport, 1 to 10000000 kbps for
the ten-gigabit port.
Command Mode
Interface Configuration Mode (interface fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet /
interface ten-gigabitEthernet / interface range ten-gigabitEthernet)
Example
Configure the ingress-rate as 5120kbps and egress-rate as 1024kbps for
Gigabit Ethernet port 5:
T2700G-28TQ(config)#interface gigabitEthernet 1/0/5
T2700G-28TQ(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.