Portstatsclear – Dell POWEREDGE M1000E User Manual
Page 819
Fabric OS Command Reference
787
53-1001764-02
portStatsClear
2
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
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
To clear hardware statistics for a range of ports specified by their index numbers:
switch:admin>
portstatsclear -i 32-40