Portstatsclear – Dell POWEREDGE M1000E User Manual

Page 871

Advertising
background image

Fabric OS Command Reference

843

53-1002746-01

portStatsClear

2

portStatsClear

Clears port hardware statistics.

SYNOPSIS

portstatsclear [slot/]port

portstatsclear -i [index1[-index2] [...] [-f]]

portstatsclear -x [hex1[-hex2] [...]]

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 in decimal or
hexadecimal format. Port ranges are supported with port numbers, index numbers(decimal or
hexadecimal) 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.

-x [hex1 [-hex2]]

Clears a port or a range of ports identified by port numbers, index number in
hexadecimal format. You may specify multiple port ranges separated by a space,
for example, -x 21-26 28-3c.

-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.

Advertising