C
HAPTER
27
| Interface Commands
– 728 –
◆ The rate limits set by this command are also used by automatic storm
control when the control response is set to rate limiting by the auto-
traffic-control action command.
◆ Using both rate limiting and storm control on the same interface may
lead to unexpected results. For example, suppose broadcast storm
control is set to 500 Kbps by the command “switchport broadcast
packet-rate 500,” and
the rate limit is set to 20000 Kbps by the
command “rate-limit input 20000"
on a Fast Ethernet port. Since 20000
Kbps is 1/5 of line speed (100 Mbps), the received rate will actually be
100 Kbps, or 1/5 of the 500 Kbps limit set by the storm control
command. It is therefore not advisable to use both of these commands
on the same interface.
EXAMPLE
The following shows how to configure broadcast storm control at 600
kilobits per second:
Console(config)#interface ethernet 1/5
Console(config-if)#switchport broadcast packet-rate 600
Console(config-if)#
clear counters This command clears statistics on an interface.
SYNTAX
clear counters interface
interface
ethernet unit/port
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-10)
port-channel channel-id (Range: 1-5)
DEFAULT SETTING
None
COMMAND MODE
Privileged Exec
COMMAND USAGE
Statistics are only initialized for a power reset. This command sets the base
value for displayed statistics to zero for the current management session.
However, if you log out and back into the management interface, the
statistics displayed will show the absolute value accumulated since the last
power reset.