Clear Counters (Exec Mode) - Cisco MDS 9124 - Fabric Switch Reference

Cisco mds 9000 family command reference - cisco mds san-os release 3.0(1) through 3.3(1a) (ol-16217-01, april 2008)
Hide thumbs Also See for Cisco MDS 9124 - Fabric Switch:
Table of Contents

Advertisement

Chapter 4
C Commands
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m

clear counters (EXEC mode)

To clear the interface counters, use the clear counters command in EXEC mode.
Syntax Description
all
interface
type
number
Defaults
None.
Command Modes
EXEC mode.
Command History
Release
1.0(2)
Usage Guidelines
The following table lists the keywords and number ranges for the clear counters interface types:
Keyword
fc
gigabitethernet
mgmt
port-channel
sup-fc
vsan
This command clears counter displayed in the show interface command output.
Examples
The following example shows how to clear counters for a VSAN interface.
switch# clear counters interface vsan 13
Related Commands
Command
show interface
OL-16217-01, Cisco MDS SAN-OS Release 3.x
clear counters {all | interface {fc | mgmt | port-channel | sup-fc | vsan} number}
Clears all interface counters.
Clears interface counters for the specified interface.
Specifies the interface type. See the Keywords table in the "Usage
Guidelines" section.
Specifies the number of the slot or interface being cleared.
Modification
This command was introduced.
Interface Type
Fibre Channel
Gigabit Ethernet
Management
PortChannel
Inband
VSAN
Description
Displays interface information.
clear counters (EXEC mode)
Number
1- 2 or 1 - 9 (slot)
1- 2 or 1 - 9 (slot)
0-0 (management interface)
1-128 (PortChannel)
0-0 (Inband interface)
1- 4093 (VSAN ID)
Cisco MDS 9000 Family Command Reference
4-33

Advertisement

Table of Contents
loading

Table of Contents