Creating a frame monitor, Deleting frame types, Creating a frame monitor deleting frame types – Brocade Fabric OS Administrators Guide (Supporting Fabric OS v7.3.0) User Manual
Page 499
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 through 7 that are checked against that offset are
predefined, as shown in the following table.
Predefined values at offset 0
TABLE 89
Value
SOF
0
SOFf
1
SOFc1
2
SOFi1
3
SOFn1
4
SOFi2
5
SOFn2
6
SOFi3
7
SOFn3
Creating a frame monitor
1. Connect to the switch and log in using an account with admin permissions.
2. Enter the fmMonitor --create command to create a user-defined frame.
Complete details of the fmMonitor command parameters are provided in the Fabric OS Command
Reference. The highth and action options set values and actions for Fabric Watch, but do not apply
to monitoring. To apply the custom values, use the thconfig --apply command. Refer to the Fabric
Watch Administrator's Guide for more information about using this command.
Example of creating a user-defined frame type
switch:admin> fmmonitor --create myframemonitor -pat "17,0xFF,0x07;7,0x4F,0x01;" -
action email
Example of creating a user-defined frame type and applying frame monitors to ports 3, 4, and 5
switch:admin> fmmonitor --create myframemonitor -pat "17,0xFF,0x007;7,0x4F,0x01;" -
port 3-5
Deleting frame types
Deleting a frame type removes the entire configuration, including configured thresholds and associated
actions. It also removes any frame monitors of the specified type from all ports.
You can delete only user-defined frame types; you cannot delete the predefined frame types.
Creating a frame monitor
Fabric OS Administrators Guide
499
53-1003130-01