Reference Guide
Example displaying all zone configurations that start with "Test"
switch:admin> cfgshow "Test*"
cfg: Test1 Blue_zone
cfg: Test_cfg Purple_zone; Blue_zone
Example displaying all zone configurations that start with "Test", regardless of the case
switch:admin> cfgshow --ic "Test*"
cfg: Test1 Blue_zone
cfg: Test_2 Red zone; Blue_zone
Viewing the zone aliases in the zone configuration
The following procedure lists the zone aliases, including the user-defined aliases, in the zone configuration.
1. Log in to the switch.
2. View the zone aliases using the zoneshow --alias
[-ic] [pattern]
command.
The zoneshow --alias command displays all the zones containing aliases matching the
pattern
. You can use POSIX style
regular expression for the alias pattern. The pattern can contain the following:
∙ A question mark (?) to match any single character.
∙ An asterisk (*) to match any string of characters.
∙ A range of characters to match any character within the range: for example, [0-9] or [a-f].
The following example shows all the zones containing the alias specified when the complete pattern is specified in the
command (case sensitive).
switch:admin> zoneshow --alias ali1
Defined configuration:
zone: zone1 ali1
zone: zone3 2,2; ali1
The following example shows all the zones containing the aliases matching the POSIX style regular expression specified in the
pattern (case sensitive).
switch:admin> zoneshow --alias ali1*
Defined configuration:
zone: zone1 ali1
zone: zone3 2,2; ali1
zone: zone4 21,22; ali12
switch:admin> zoneshow --alias "a*"
zone: Zone3 ald1
zone: aliii aldds
zone: h1 al; Ali1; dev3
zone: zone1 ali1
zone: zone4 dev2; aldds
switch:admin> zoneshow --alias "*a*"
zone: Zone3 ald1
zone: aliii aldds
zone: h1 al; Ali1; dev3
zone: zone1 ali1
zone: zone4 dev2; aldds
switch:admin> zoneshow --alias "*1*"
zone: Zone3 ald1
zone: h1 al; Ali1; dev3
zone: zone1 ali1
Administering Advanced Zoning
Brocade Fabric OS Administration Guide, 8.0.1
53-1004111-02 327