Users Guide

576 Fabric OS Command Reference
53-1002921-02
mapsRule
2
mapsRule
Creates and manages monitoring rules.
SYNOPSIS mapsrule --create rule_name -group group_name | flow_name
-monitor ms_name -timebase timebase
-op comparison_operator -value value
-action action [-policy policy]
mapsrule --delete rule_name
mapsrule --config rule_name [-group group_name | flow_name]
[-monitor monitor] [-timebase timebase]
[-op comparison_operator] [-value value] [-action action]
mapsrule --clone existing_rule_name -rulename new_rule_name
[-group group_name | flow_name] [-monitor ms_name]
[-timebase timebase] [-op comparison_operator]
[-value value] [
-action action] [-policy policy]
mapsrule --show rule_name | -all
mapsrule --help
DESCRIPTION Use this command to configure and manage MAPS monitoring rules, and to display the configured rules.
A rule associates a condition with actions that must be triggered when the specified condition is
evaluated to be true. When you modify a rule, the rule does not take effect until you enable the policy. If
the rule is part of the enabled policy, you must re-enable the policy for the rule to take effect.
NOTES This command requires a Fabric Vision license.
The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may be in
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "Command Availability" for
details.
OPERANDS This command has the following operands:
rule_name
Specifies the name of the rule to be configured. The name for the rule must be
unique; it is case-sensitive and can contain up to 32 characters.
monitor
Specifies the monitoring system. Valid monitoring systems for each category
include the following:
Port health
Monitors port statistics. Valid values for the port health category include the
following:
CRC
Cyclic redundancy check errors
ITW
Invalid transmit words
LOSS_SYNC
Loss of synchronization