Clear counters, Show interfaces brief – LevelOne FGL-2870 User Manual

Page 594

Advertising
background image

Command Line Interface

4-228

4

Example

The following shows how to configure broadcast storm control at 500 kilobits per
second:

clear counters

This command clears statistics on an interface.

Syntax

clear counters interface

interface

ethernet unit/port

- unit - Stack unit. (Range: 1)
- port - Port number. (Range: 1-28/52)

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

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.

Example

The following example clears statistics on port 5.

show interfaces brief

This command displays a summary of key information, including operational status,
native VLAN ID, default priority, speed/duplex mode, and port type for all ports.

Command Mode

Privileged Exec

Console(config)#interface ethernet 1/5
Console(config-if)#switchport broadcast packet-rate 500
Console(config-if)#

Console#clear counters ethernet 1/5
Console#

Advertising