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

Page 627

Advertising
background image

Fabric OS Command Reference

597

53-1003131-01

mapsRule

2

To delete a rule:

switch:admin> mapsrule --delete New_Cntr_High

To clone a rule with a modified timebase:

switch:admin> mapsrule --clone Rule1 -rulename NewRule2

-timebase Hour

To display a single rule:

switch:admin> mapsrule --show defRuleITWAboveHighPF

Rule Data:

----------

RuleName: defRuleITWAboveHighPF

Actions: Raslog

Condition: ALL_PORTS(ITW/MIN>25)

Policies Associated: none

To display all of the rules configured on a switch:

switch:admin> mapsrule --show -all

RASLOG (R)| FENCE (F)| EMAIL (E) | SNMP (S) | \

SW_MARGINAL (SWM) | SW_DOWN (SWD) | SFP_MARGINAL (SFPM)

----------------------------------------------------------

RuleName Action Condition

----------------------------------------------------------

Rule1 R,F,S Switch(SEC_IDB/Min>0)

Rule2 R Switch(SEC_IDB/Hour>1)

NewRule1 R,F,S Switch(SEC_IDB/Min>0)

NewRule2 R,F,S Switch(SEC_IDB/Hour>1)

SEE ALSO

logicalGroup

,

mapsConfig

,

mapsDb

,

mapsPolicy

,

mapsSam

Advertising