Adding Standard Filter-Based Monitors; Adding Custom Filter-Based Monitors; Commands To Add Filter-Based Monitors - HP A7533A - Brocade 4Gb SAN Switch Base User Manual

Hp storageworks fabric os 5.x procedures user guide (aa-rvhwb-te, september 2005)
Hide thumbs Also See for A7533A - Brocade 4Gb SAN Switch Base:
Table of Contents

Advertisement

Adding standard filter-based monitors

Table 43
lists the commands for adding standard filter-based monitors to a port.
Table 43

Commands to add filter-based monitors

Telnet command
perfAddReadMonitor
perfAddWriteMonitor
perfAddRwMonitor
perfAddScsiMonitor
perfAddIpMonitor
The following example adds filter-based monitors to slot 1, port 2 and displays the results:
switch:admin> perfaddreadmonitor 1/2
SCSI Read filter monitor #0 added
switch:admin> perfaddwritemonitor 1/2
SCSI Write filter monitor #1 added
switch:admin> perfaddrwmonitor 1/2
SCSI Read/Write filter monitor #2 added
switch:admin> perfaddscsimonitor 1/2
SCSI traffic frame monitor #3 added
switch:admin> perfaddipmonitor 1/2
IP traffic frame monitor #4 added
switch:admin> perfmonitorshow --class FLT 1/2
There are 5 filter-based monitors defined on port 2.
KEY
ALIAS
----------------------------------------------------------------
0
SCSI Read
1
SCSI Write TELNET
2
SCSI R/W
3
SCSI Frame TELNET
4
IP Frame

Adding custom filter-based monitors

In addition to the standard filters—read, write, read/write, SCSI frame and IP frame—you can create
custom filters to gather statistics that fit your needs.
To define a custom filter, use the perfAddUserMonitor command. With this command, you must
specify a series of offsets, masks, and values. For all transmitted frames, the switch performs these tasks:
Locates the byte found in the frame at the specified offset
Applies the mask to the byte found in the frame
Compares the value with the given values in the perfAddUserMonitor command
Increments the filter counter if a match is found
The following number of offsets can be specified:
SAN Switch 2/8V, SAN Switch 2/16V, SAN Switch 2/32, Core Switch 2/64, and SAN Director
2/128 (Fabric OS 4.0.0 or later): Up to two different offsets per port (one offset when FMS
is enabled)
4/256 SAN Director (Fabric OS 5.0.1 or later): Up to 15 different offsets per port (14 offsets when
fmsmode is enabled)
SAN Switch 2/8-EL and SAN Switch 2/16 (Fabric OS 3.0.0 or later): Up to three different offsets per
port
Description
Counts the number of SCSI read commands.
Counts the number of SCSI write commands.
Counts the number of SCSI read and write commands.
Counts the number of SCSI traffic frames.
Counts the number of IP traffic frames.
OWNER_APP
OWNER_IP_ADDR
TELNET
TELNET
TELNET
FRAME_COUNT
N/A
0x0000000000000000
N/A
0x0000000000000000
N/A
0x0000000000000000
N/A
0x0000000000000000
N/A
0x0000000000000000
Fabric OS 5.x administrator guide 205

Advertisement

Table of Contents
loading

Table of Contents