Owner's manual

3-10 Advanced Performance Monitoring User’s Guide
Using Advanced Performance Monitoring
3
0 SOFf
1 SOFc1
2 SOFi1
3 SOFn1
4 SOFi2
5 SOFn2
6 SOFi3
7 SOFn3
The hardware can manage only a limited number of unique offsets and values. If the switch does
not have enough resources to create a given filter, then other filters may have to be deleted to free
up resources.
Example 1. This command adds a filter-based monitor to count all FCP and IP frames received
from domain 0x02 for port 2.
The FCP and IP protocols are selected by monitoring offset 12, mask 0xff and matching values of
0x05 or 0x08. Domain 2 is selected by monitoring offset 9, mask 0xff, and matching a value of
0x02.
The monitor counter is incremented for all incoming frames where byte 9 is 0x02 and byte 12 is
0x05 or 0x08.
Example 2. The following command adds a special case filter-based monitor for SOFi3 on port 2.
Displaying Filter-Based Monitors
Use the perfShowFilterMonitor command to display all the filter-based monitors of a port. You
can display a cumulative count of the traffic detected by the monitors, or you can display a snapshot
of the traffic at specified intervals.
This command displays all the filter-based monitors defined on the specified port. It displays all the
valid monitor numbers and user-defined aliases on the specified port.
Example 1. The following command displays filter monitor traffic on port 2 at an interval of once
a second. In the command output, “#CMDs” refers to the read, write, and read-write counters, and
“#Frames” refers to SCSI frame, IP frame, and user-defined counters.
sw1:admin> perfAddUserMonitor 2, “12, 0xff, 0x05, 0x08; 9, 0xff,
0x02”, “FCP/IP”
User monitor #5 added
sw1:admin> perfAddUserMonitor 2, “0, 0xff, 6”
User Monitor #6 added