Clear counters, Clear counters -150 – SMC Networks SMC Tiger 10/100 SMC6128L2 User Manual

Page 450

Advertising
background image

C

OMMAND

L

INE

I

NTERFACE

4-150

Command Usage

This command allows you to disable a port due to abnormal behavior
(e.g., excessive collisions), and then reenable it after the problem has
been resolved. You may also want to disable a port for security reasons.

Example
The following example disables port 5.

clear counters

This command clears statistics on an interface.

Syntax

clear counters interface

interface

ethernet unit/port

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

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.

Console(config)#interface ethernet 1/5
Console(config-if)#shutdown
Console(config-if)#

Advertising