Reference (Supporting Fabric OS v7.3.0) Owner manual

Table Of Contents
Fabric OS Command Reference 561
53-1003131-01
logicalGroup
2
--update
Changes the characteristic string of an existing group.
-feature feature_name
Specifies the existing feature name for the group. Valid feature names are
PORTNAME and NODEWWN.
pattern value
Specifies the wildcard characters while defining the feature characteristics. The
wildcard characters "*" for any string, "?" for any single character, "[expr]" for one
character from the set specified in the expression, or '!' for negation of the string,
are supported. If '!' is specified in the pattern, the pattern must be in single quotes.
--restore
Restores the membership entries for the group.
group_name
Restores entries for a single specified group. The name can be a predefined or a
user-defined group created with feature option.
--show
Displays detailed information for a single group or all groups in MAPS. For each
group, the group name, type, member count, and group members are displayed.
group_name
Displays information for a single specified group. The name can be a predefined
or a user-defined group.
[-details]
Displays detailed information for each group. This operand is optional.
--help
Displays the command usage.
EXAMPLES To create a group with three port members:
switch:admin> logicalgroup --create CRITICAL_PORTS
-type port -members "2, 10, 22"
To add members to a group:
switch:admin> logicalgroup --addmember CRITICAL_PORTS
-members "4, 5"
To delete members from a group:
switch:admin> logicalgroup --delmember CRITICAL_PORTS
-delmember "5"
To clone a group:
switch:admin> logicalgroup --clone CRITICAL_PORTS
-name LONG_DISTANCE_PORTS
To display the members of a group:
switch:admin> logicalgroup --show CRITICAL_PORTS
Group Name |Predefined |Type |Member Count |Members
----------------------------------------------------------------
CRITICAL_PORTS No Port 9 2,4,10,22
To delete a group:
switch:admin> logicalgroup --delete CRITICAL_PORTS