Fabric OS 5.2.x administrator guide 319
•
4/16 SAN Switch and 4/8 SAN Switch models (Fabric OS v5.0.1)
Up to 7 different offsets per port (6 offsets when FMS is enabled).
You can specify up to four values to compare against each offset. If more than one offset is required to
properly define a filter, the bytes found at each offset must match one of the given values for the filter to
increment its counter. If one or more of the given offsets does not match any of the given values, the counter
does not increment.
The value of the offset must be between 0 and 63, in decimal format. Byte 0 indicates the first byte of the
Start of Frame (SOF), byte 4 is the first byte of the frame header, and byte 28 is the first byte of the
payload. Thus only the SOF, frame header, and first 36 bytes of payload can be selected as part of a filter
definition. Offset 0 is a special case, which can be used to monitor the first 4 bytes of the frame (SOF).
When the offset is set to 0, the values 0–7 that are checked against that offset are predefined as shown in
Table 66
.
If the switch does not have enough resources to create a given filter, then other filters might have to be
deleted to free resources.
To add filter-based monitors
Two filter-based monitors are added. The first monitor (#5) counts all FCP and IP frames transmitted from
domain 0x02 for slot 4, 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 outgoing frames from port 2 where
byte 9 is 0x02 and byte 12 is 0x05 or 0x08.
The second monitor (#6) is for SOFi3 on slot 1, port 2.
Deleting filter-based monitors
To delete a filter-based monitor:
1.
Entering the
perfShowFilterMonitor
command to list the valid monitor numbers.
2.
Enter the
perfDelFilterMonitor
command to delete a specific monitor.
If you do not specify which monitor number to delete, you are asked if you want to delete all entries.
Table 66
Predefined values at offset 0
Value
SOF
Value
SOF
0
SOFf
4
SOFi2
1
SOFc1
5
SOFn2
2
SOFi1
6
SOFi3
3
SOFn1
7
SOFn3
switch:admin>
perfaddusermonitor 4/2, “12, 0xff, 0x05, 0x08; 9, 0xff, 0x02” “FCP/IP”
User monitor #5 added
switch:admin>
perfaddusermonitor 1/2, “0, 0xff, 6"
User Monitor #6 added
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: ......