Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual
Page 971
Fabric OS Command Reference
941
53-1003131-01
portStatsClear
2
-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
To clear hardware statistics for multiple port ranges specified by their index numbers:
switch:admin> portstatsclear -i 32-40 50-56
To clear hardware statistics for all ports on slots 3-5:
switch:admin> portstatsclear -s 3-5
To clear hardware statistics for all ports on slots 3-5 and 7-10:
switch:admin> portstatsclear -s 3-5 7-10
To clear hardware statistics for range of ports specified in hexadecimal format:
switch:admin> portstatsclear -x 1d-1e
SEE ALSO