beautypg.com

Mapspolicy – Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual

Page 617

background image

Fabric OS Command Reference

587

53-1003131-01

mapsPolicy

2

mapsPolicy

Creates and manages MAPS policies.

SYNOPSIS

mapspolicy --create policy_name

mapspolicy --addrule policy_name -rulename rule_name

mapspolicy --delrule policy_name -rulename rule_name

mapspolicy --enable policy_name

mapspolicy --clone existing_policy_name -name new_policy_name

mapspolicy --delete policy_name

mapspolicy --show policy_name | -summary | -all

mapspolicy --help

DESCRIPTION

Use this command to create and manage monitoring policies. A MAPS policy is a set of rules that define
thresholds for measures and actions to take when a threshold is triggered. When you enable a policy, all
of the rules in the policy are in effect. A switch can have multiple policies.

NOTES

This command requires a Fabric Vision license.

Any change to a policy affects only the information stored on the switch. Consequentially, if an active
policy is modified, it has to be re-enabled for the modifications to be effective.

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:

--create

Creates a monitoring policy.

policy_name

Specifies the name of the policy to be created. The name for the policy must be
unique; it is case-sensitive and can contain up to 32 characters.

--addrule policy_name

Adds a rule to the specified user-defined policy. You cannot add a rule to the
preconfigured policies.

-rulename rule_name

Specifies the name of the rule to be added to the policy.

--delrule policy_name

Deletes a rule from the specified user-defined policy. You cannot delete a rule
from the preconfigured policies.

-rulename rule_name

Specifies the name of the rule to be deleted from the policy.

--enable

Activates a policy on the switch. The dashboard data will be cleared after the
policy is activated.