Clear Counters (Exec Mode) - Cisco MDS 9000 series Command Reference Manual

Hide thumbs Also See for MDS 9000 series:
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-8413-07, 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-31

Advertisement

Table of Contents
loading

Table of Contents