beautypg.com

Dell POWEREDGE M1000E User Manual

Page 381

background image

Fabric OS Command Reference

349

53-1001764-02

fmConfig

2

--

addmonitor frame_type -port port_list [-nosave] [-force]

Installs an existing frame monitor on the specified ports. Specify -nosave to
save the configuration is nonpersistently. Use -force for first-time execution
without confirmation.

--

delmonitor frame_type -port port_list [-nosave] [-force]

Removes an existing frame monitor from the specified ports. Specify -nosave
to save the configuration is nonpersistently. Use -force for first-time execution
without confirmation.

--

delete frame_type

Deletes an existing frame type. This command removes the entire
configuration, including configured threshold and associated actions. It also
removes any frame monitors of the specified type from all ports. This operand
is not valid with predefined frame types.

--

clear frame_type -port port_list

Clears the ports on which the specified frame type is monitored from the
persistent configuration.

--

show

Displays the specified frame type configuration. When used without operand,
the --show command displays the configured frame types along with their
bit patterns. The following operands are optional:

frame_type

Displays the following information for the specified frame type: Port number,
Frame type, frame count, configured high threshold, configured alerts. time
base and configuration status (saved or N/A).

.

This operand is optional; if omitted, this command lists all configured frame
types on the switch along with their bit patterns. The following operands are
exclusive.

-force

Executes display without confirmation (First-time use only).

-port port_list

Specifies the ports for which to display the frame type configurations. Refer to
the description above for valid values.

all

Displays information for all ports and frame types.

--

help

Displays the command usage.

Examples

To create a custom frame type using default thresholds and report actions (This custom frame
monitor checks all incoming frames at offset 17, applies a mask of 0x0FF to the byte, and looks for
a matching value of 0x07. It also monitors the incoming frames at offset 7, applies a mask of
0x0FF to the byte, and looks for matching values of 0x4F or 0x01. The counter is incremented
when the monitor detects a frame where byte 17 is 0x07, and byte 7 is 0x4F or 0x01. The
thresholds, alerting mechanism , action and threshold level for this custom frame type will be
imported from a generic filter monitor configuration.):

switch:admin>

fmConfig --create MyFrameMonitor -pat “17,0x0FF,0x07;7,0x0FF,0x4F,0x01”

To add E-mail alerts to the previously created frame type:

switch:admin>

fmconfig --change MyFrameMonitor -action email

To install a SCSI frame monitor on ports 3-12: switch:admin>

fmconfig --addmonitor SCSI -port 3-12

To save the port configuration persistently:

switch:admin>

fmconfig --save SCSI