Clear counters – LevelOne GTL-2691 User Manual

Page 1007

Advertising
background image

C

HAPTER

31

| Interface Commands

Interface Configuration

– 1007 –

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 pps by the command “switchport broadcast

packet-rate 500" and the rate limit is set to 200 Mbps by the command

“rate-limit input 20" on a port. Since 200 Mbps is 1/5 of line speed

(1000 Mbps), the received rate will actually be 100 pps, or 1/5 of the

500 pps limit set by the storm control command. It is therefore not

advisable to use both of these commands on the same interface.

E

XAMPLE

The following shows how to configure broadcast storm control at 600

packets 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.

S

YNTAX

clear counters interface

interface

ethernet unit/port

unit - Stack unit. (Range: 1-8)
port - Port number. (Range: 1-26)

port-channel channel-id (Range: 1-32)

D

EFAULT

S

ETTING

None

C

OMMAND

M

ODE

Privileged Exec

C

OMMAND

U

SAGE

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.

Advertising