Fabric OS 5.2.x administrator guide 323
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:
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
To clear statistics counters for a filter-based monitor
To clear statistics counters for an ISL monitor
perfmonitorclear --class
monitor_class
[
slotnumber
/]
portnumber
[
monitorId
]
monitor_class
The monitor class, which can be one of 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 SAN Director 2/128 or 4/256 SAN Director.
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 Director has a total of 10 slots. Slot numbers 5 and 6 are control processor
blades; slots 1 through 4 and 7 through 10 are port blades. For 16-port
blades, there are 16 ports, counted from the bottom, numbered 0 to 15. For
32-port blades, there are 32 ports numbered 0 to 31.
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
switch:admin>
perfMonitorClear --class FLT 1/2 4
Filter-based monitor number 4 counters are cleared
switch:admin>
perfMonitorClear --class FLT 1/2
This will clear ALL filter-based monitors' counters on port 2, continue? (yes, y, no,
y): [no]
y
switch:admin>
perfMonitorClear --class ISL 1
This will clear ISL monitor on port 1, continue? (yes, y, no, n): [no]
y
Summary of Contents for AE370A - Brocade 4Gb SAN Switch 4/12
Page 18: ...18 ...
Page 82: ...82 Managing user accounts ...
Page 102: ...102 Configuring standard security features ...
Page 126: ...126 Maintaining configurations ...
Page 198: ...198 Routing traffic ...
Page 238: ...238 Using the FC FC routing service ...
Page 260: ...260 Administering FICON fabrics ...
Page 280: ...280 Working with diagnostic features ...
Page 332: ...332 Administering Extended Fabrics ...
Page 414: ...398 Configuring the PID format ...
Page 420: ...404 Configuring interoperability mode ...
Page 426: ...410 Understanding legacy password behaviour ...
Page 442: ...426 ...
Page 444: ......
Page 447: ......