Restoring group membership – Brocade Monitoring and Alerting Policy Suite Administrators Guide (Supporting Fabric OS v7.3.0) User Manual
Page 42
![background image](/manuals/361669/42/background.png)
group and then deletes the group. If a logical group is present in user-defined rules, the -force option
deletes all the rules that are configured with the given group and then deletes the group.
The following example shows that the user-defined group GOBLIN_PORTS
exists, deletes the group, and then shows that the group has been deleted.
switch:admin> logicalgroup --show
-------------------------------------------------------------------------------------
Group Name |Predefined |Type |Member Count |Members
-------------------------------------------------------------------------------------
ALL_PORTS Yes Port 48 6/0-15,7/0-31
ALL_SFP Yes SFP 11 7/8-14,7/24-27
ALL_PS Yes PowerSupply 2 0-1
: : : : :
: : : : :
GOBLIN_PORTS No Port 10 1/1-5,3/7-9,3/12
SFPGroup No SFP 10 1/1-5,3/7-9,3/12
switch:admin> logicalgroup --delete GOBLIN_PORTS
switch:admin> logicalgroup --show
-------------------------------------------------------------------------------------
Group Name |Predefined |Type |Member Count |Members
-------------------------------------------------------------------------------------
ALL_PORTS Yes Port 48 6/0-15,7/0-31
ALL_SFP Yes SFP 11 7/8-14,7/24-27
ALL_PS Yes PowerSupply 2 0-1
: : : : :
: : : : :
SFPGroup No SFP 10 1/1-5,3/7-9,3/12
Restoring group membership
MAPS allows you to restore the membership of any modified MAPS group back to its default. This can
be done to predefined, dynamic, and user-defined groups. This command does not work on groups
with a static definition.
To restore the membership of a modified MAPS group, complete the following steps.
1. Connect to the switch and log in using an account with admin permissions.
2. Enter logicalgroup --restore group_name. This restores the group membership to its default.
3. Optional: Enter logicalgroup --show group_name -details to view the group membership.
Restoring group membership
42
Monitoring and Alerting Policy Suite Administrator's Guide
53-1003147-01