System information

12-49
Cisco SN 5428-2 Storage Router Software Configuration Guide
78-15471-01
Chapter 12 Command Line Interface Reference
clear counters interface
clear counters interface
To clear all counters associated with the specified interface, or all interfaces, use the
clear counters interface command.
clear counters interface {if-name |all}
Syntax Description
Defaults None.
Command Modes Administrator or Monitor.
Command History
Usage Guidelines This command resets all accumulated operational statistics for the specified interface. Operational
statistics can include counters for packets received and transmitted, collisions, octets, multicast packets,
dropped and unsupported protocol, exception status IOCBs (such as LIP reset aborts, port unavailable
or logged out, DMA errors, port configuration changed, command timeout, data overrun, write or read
data underrun, and queue full), Fibre Channel errors, and other general events.
Clear counters before beginning a troubleshooting session, so you can quickly identify the counters that
are changing.
Examples The following example clears all accumulated operational statistics counters for the Fibre Channel
interface fc1.
[SN5428-2A]# clear counters interface fc1
Related Commands
if-name The name of the interface. Counters can be cleared for the management
(mgmt), Fibre Channel (fc?), FC initiator interfaces (fci?), Gigabit Ethernet
(ge?) interfaces, and the high availability (ha) interface (if available). When
you type the clear counters interface ? command, the CLI lists the
interfaces available. You cannot specify a nonexistent interface.
all Clear counters for all interfaces.
Release Modification
3.2.1 This command was introduced.
Command Description
show interface Display operational and configuration information for the specified
interface or all interfaces.