Clear counters, Show interfaces brief – Microsens MS453490M Management Guide User Manual

Page 708

Advertising
background image

C

HAPTER

27

| Interface Commands

– 708 –

clear counters

This command clears statistics on an interface.

S

YNTAX

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)

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.

E

XAMPLE

The following example clears statistics on port 5.

Console#clear counters ethernet 1/5

Console#

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.

C

OMMAND

M

ODE

Privileged Exec

E

XAMPLE

Console#show interfaces brief

Interface Name Status PVID Pri Speed/Duplex Type Trunk

--------- ------------------ -------- ---- --- ------------- ------------ ---

Eth 1/ 1 Up 1 0 Auto-100full 100TX None

Eth 1/ 2 Down 1 0 Auto 100TX None

Eth 1/ 3 Down 1 0 Auto 100TX None

Eth 1/ 4 Down 1 0 Auto 100TX None

Eth 1/ 5 Down 1 0 Auto 100TX None

Eth 1/ 6 Down 1 0 Auto 100TX None

.

.

.

Advertising