
828
Fabric OS Command Reference
53-1001764-01
portStatsClear
22
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
.
NOTES
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
For bladed systems only, specify the slot number of the port to be cleared,
followed by a slash (/).
port
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.
-i
index1
[
-index2
]
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.
-slot
[
slot1
[
-slot2
]
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.
-h
Displays the command usage.
EXAMPLES
To clear hardware statistics for a single port specified by its port number:
switch:admin>
portstatsclear 4/15
To clear hardware statistics for a single port specified by its index number:
switch:admin>
portstatsclear -i 25
Summary of Contents for Fabric OS v7.0.1
Page 1: ...53 1002447 01 15 December 2011 Fabric OS Command Reference Supporting Fabric OS v7 0 1 ...
Page 6: ...vi Fabric OS Command Reference 53 1002447 01 ...
Page 30: ...4 Fabric OS Command Reference 53 1002447 01 Using the command line interface 1 ...
Page 1132: ...1106 Fabric OS Command Reference 53 1002447 01 General Fabric OS commands and permissions A ...