HP StorageWorks Fabric OS 5.0.0 Command Reference Guide (AA-RW1MA-TE, May 2005)

Fabric OS 5.0.0 command reference guide 487
Clears the hardware statistics of a specified switch port.
Synopsis
portstatsclear [slotnumber/]portnumber
Availability
admin
Description
Use this command to clear the hardware statistics for a specified switch port. At the same time, this
command also clears the hardware statistics for the associated ports in the target port quad, including
AL_PA-based CRC monitor, end-to-end monitor, and filter-based monitor statistics.
Operands
This command has the following operands:
Examples
To clear the statistics for a port:
See also
portStats64Show
portStatsClear
slotnumber Specify the slot number for a Core Switch 2/64 or SAN Director 2/128.
For all other switches, this operand is not required. The slot number must
be followed by a slash ( / ) and the port number, so that each port is
represented by both slot number (1 through 4 or 7 through 10) and port
number (0 through 15).
The Core Switch 2/64 and SAN Director 2/128 have a total of 10 slots.
Slot numbers 5 and 6 are control processor cards; slots 1 through 4 and
7 through 10 are port cards. On each port card, there are 16 ports,
counted from the bottom, numbered 0 to 15.
portnumber Specify a port number. Valid values for port number vary, depending on
the switch type. This operand is required.
switch:admin> portstatsclear 4/15