User Manual

Fabric OS 5.0.0 procedures user guide 155
To display an ISL monitor information on a port:
Clearing monitor counters
Before you clear statistics counters, verify the valid monitor numbers on a specific port using the
perfmonitorshow command, to make sure the correct monitor counters are cleared. To clear statistics
counters for all or a specified monitor, use the perfmonitorclear command. After the command has
been executed, the telnet shell confirms that the counters on the monitor have been cleared.
The command format is:
perfmonitorclear --class monitor_class [slotnumber/]portnumber [monitorId]
NOTE: In Fabric OS v3.1.0 and v4.1.0 (or later) the portstatsclear command clears AL_PA- based
CRC error counters for all the ports in the same group.
To clear statistics counters for an end-to-end monitor:
switch:admin> perfMonitorShow --class ISL 1/1
Total transmit count for this ISL: 1462326
Number of destination domains monitored: 3
Number of ports in this ISL: 2
Domain 97: 110379 Domain 98: 13965
Domain 99: 1337982
where:
monitor_class Specifies the monitor class, which can be EE (end-to-end), FLT (filter-based),
or ISL (inter-switch link). The --class monitor_class operand is
required.
slotnumber Specifies 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 or SAN Director 2/128 each has 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 Specifies a port number. Valid values for port number vary, depending on the
switch type. This operand is required.
monitorId Specifies the monitor number to clear. Monitor numbers are defined when you
create the monitor on a port. This operand is optional. If not specified, all
monitor counters on the port are cleared. This operand does not apply to ISL
monitors.
switch:admin> perfMonitorClear --class EE 1/2 5
End-to-End monitor number 5 counters are cleared
switch:admin> perfMonitorClear --class EE 1/2
This will clear ALL EE monitors' counters on port 2, continue?
(yes, y, no, n): [no] y