Portstatsclear - Brocade Communications Systems 8 Command Reference Manual

Fabric os command reference manual supporting fabric
Hide thumbs Also See for 8:
Table of Contents

Advertisement

portStatsClear

Clears port hardware statistics.
Synopsis
portstatsclear [slot/]port
portstatsclear -i [index1[-index2] [...] [-f]]
portstatsclear -slot [slot1[-slot2][...]
portstatsclear -h
Description
Use this command to clear the hardware statistics for the specified ports. Including ALPA-based
CRC monitor, End-to-End monitor, and Filter-based performance monitor statistics.
You can identify a single port to be cleared by its port number or by its port index number. Port
ranges are supported with index numbers or by specifying a slot or a slot range. Use switchShow for
a listing of valid ports, slots, and port index numbers.
Specifying multiple ports with the index (-i) or slot (-s) option is supported only if PortSwap is
disabled. They are not supported on GbE ports and configured F_Port trunks. Use the -i option
without a port index argument to display the portSwap status, or alternately use portSwapShow.
Note
The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may
be in place. Refer to chapter 1, "Using Fabric OS commands" and Appendix A, "Command
Availability" for details.
This command is not supported on FCoE ports.
Operands
This command has the following operands:
slot
port
-i index1[-index2]
-slot [slot1[-slot2]
-h
Examples
To clear hardware statistics for a single port specified by its port number:
To clear hardware statistics for a single port specified by its index number:
To clear hardware statistics for a range of ports specified by their index numbers:
Fabric OS Command Reference
53-1001764-02
For bladed systems only, specify the slot number of the port to be cleared,
followed by a slash (/).
Clears a single port identified by the port number, relative to its slot on bladed
systems. Port ranges are not supported with this command. Use switchShow
for a listing of valid ports.
Clears a single port or a range of ports identified by port index numbers. You
may specify multiple index ranges separated by a space, for example, -i 33-47
65-73.
-f
Ignores nonexisting ports. This operand is valid only with the -i option.
Clears all ports on a slot or on a range of slots, for example, -s 3-5. You may
specify multiple slot ranges separated by a space, for example, -s 3-5 8-10.
Displays the command usage.
switch:admin> portstatsclear 4/15
switch:admin> portstatsclear -i 25
switch:admin> portstatsclear -i 32-40
2
portStatsClear
787

Advertisement

Table of Contents
loading

Table of Contents