Dell POWEREDGE M1000E User Manual
Page 422
394
Fabric OS Command Reference
53-1002746-01
fmMonitor
2
--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). The count field displays one of the
following:
•
A decimal number indicates the number of frames of the specified type.
•
N/A indicates that a frame monitor configuration exists, but it is not assigned
to any specific port.
•
A dash ("-") indicates that a frame monitor is not installed on the port, but
there is a configuration for frame monitor on these ports.
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.
-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.
-timeinterval interval
Displays the number of frames per second captured by the monitor during the
specified time interval. Values are in seconds. The time interval must be specified
in multiples of 5, for example, 5, 10, 15, or 20 seconds.
--help
Displays the command usage.
EXAMPLES
To create a custom frame type using default thresholds and report actions: The following 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> fmmonitor --create MyFrameMonitor \
-pat "17,0x0FF,0x07;7,0x0FF,0x4F,0x01"
To add E-mail alerts to the previously created frame type:
switch:admin> fmmonitor --change MyFrameMonitor \
-action email