Brocade Fabric OS Command Reference Guide v6.1.0 (53-1000599-02, June 2008)

Table Of Contents
404 Fabric OS Command Reference
53-1000599-02
perfMonitorClear
2
perfMonitorClear
Clears counters of end-to-end, filter-based, and ISL performance monitors on a port.
Synopsis perfmonitorclear --class monitor_class [slotnumber/]portnumber [monitorId]
Description Use this command to clear counters for performance monitors on a port, specified by class.
Monitor classes include end-to-end monitors (EE), filter-based monitors (FLT), and interswitch link
monitors (ISL).
Issuing the portStatsClear command on a port clears all end-to-end and filter-based monitors (but
not ISL monitors) for all the ports in the same quad.
Notes This command requires an Advanced Performance Monitoring license.
This command is not supported on virtual FC ports (VE/VEX_Port), EX_Port, M (Mirror) ports and
GbE ports.
The execution of this command is subject to Admin Domain restrictions that may be in place. Refer
to chapter 1, "Understanding Admin Domain Restrictions" and Appendix A, "Command Availability"
for details.
Operands This operands are as follows:
--class monitor_class
Specifies the monitor class as one of the following: EE (end-to-end), FLT
(filter-based), or ISL (interswitch link). These values are case-sensitive. This
operand is required.
slotnumber For bladed systems only, specifies the slot number of the port on which the
monitor counter is to be cleared, followed by a slash (/).
portnumber Specifies the number of the port on which the monitor counter is to be
cleared, relative to its slot for bladed systems. Use switchShow for a list of
valid ports.
monitorId Specifies the numeric key of the monitor to be deleted. The key is defined
when a monitor is created and can be displayed with the perfMonitorShow
command. This operand is optional. If no operand is specified, this command
clears all monitor counters of the specified monitor_class on the port. This
operand does not apply to ISL monitors.
Examples To clear statistics counters for an end-to-end monitor:
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
To clear statistics counters for a filter-based monitor:
switch:admin> perfmonitorclear --class FLT 1/2 4
Filter-based monitor number 4 counters are cleared
switch:admin> perfmonitorclear --class FLT 1/2