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

Page 611

Advertising
background image

Fabric OS Command Reference

581

53-1003131-01

mapsConfig

2

EXAMPLES

To enable MAPS monitoring and set dflt_moderate_policy as the active policy:

switch:admin> mapsconfig --enablemaps -policy

dflt_moderate_policy

To stop monitoring on three ports:

switch:admin> mapsconfig --config pause -type port

-members "3/1,3/2,3/3"

To resume monitoring on two ports:

switch:admin> mapsconfig --config continue -type port

-members "3/1,3/3"

To specify that generating a RASLog and sending an e-mail message are the only allowed notification
actions on this switch:

switch:admin> mapsconfig --actions raslog,email

To configure the e-mail address to which notifications are sent:

switch:admin> mapsconfig --emailcfg -address [email protected]

To send a test e-mail:

switch:admin> mapsconfig --testmail

MAPS test welcome mail sent successfully

To import a flow:

switch:admin> mapsconfig --import fmFlow1

To delete all of the user-defined groups, policies, and rules:

switch:admin> mapsconfig --purge

WARNING: This command will clear all the user-defined MAPS \

configurations and activate the factory defined policy \

and rules.

Do you want to continue? (yes, y, no, n): [no] yes

To display the global MAPS configuration:

switch:admin> mapsconfig --show

Configured Notifications: Raslog, Fence, SNMP, EMAIL

Mail Recipient: [email protected]

Relay Host IP is: 10.10.10.10

Relay Host Domain name: brocade.com

FPI Monitoring: Enabled

Paused members :

===============

PORT : 2/5,3/1-2,3/6

CIRCUIT :

SFP :

SEE ALSO

logicalGroup

,

mapsDb

,

mapsPolicy

,

mapsRule

,

mapsSam

,

relayConfig

Advertising