Brocade Fabric OS Command Reference Manual - Supporting Fabric OS v5.3.0 (53-1000436-01, June 2007)

Fabric OS Command Reference Manual 647
53-1000436-01
statsClear
2
statsClear
Clears port and diagnostic statistics.
Synopsis statsclear [--slot slotnumber][-uports itemlist][-bports itemlist][-use_bports value]
Description Use this command to clear the port and diagnostics statistics for the specified list of blade or user
ports.
You can issue this command on the FR4-18i blade in a Brocade chassis; however, the command is
not supported by the Brocade platform and does not effect any other feature operations. This
availability is offered to maintain consistency across a mixed-blade environment.
The execution of this command is subject to Admin Domain restrictions that may be in place.
Operands The following are optional:
--slot slotnumber Specifies the slot on which to operate. If this option is not specified, the
default slot is assumed. The default slot is 0 and designed to operate on
fixed-port-count products, if -use_bports sets with nonzero value.
-uports itemlist Specifies the list of user ports to clear.
-bports itemlist Specifies the list of blade ports to clear.
-use_bports value If value is nonzero, then the diagnostics statistics for the blade ports
specified in -bports clears; otherwise, the user ports specified in -uports
clears. The default value is 0.
Examples To clear port and diagnostic statistics:
switch:admin> statsclear -bports 1/10-1/62 -use_bports 1
See Also itemList