Tuesday, May 23, 2023

Brocade: Zoning setup

A new Brocade optical switch has a default zone enabled. If it is disabled with the
"defzone --noaccess" command, then it will be necessary to fine-tune the zones for the safe operation of initiators with targets.

Working with aliases:

1. Creating an alias (alias):
alicreate "name", "member[; member...]"
Members can be ports or WWN addresses.

2. Adding a new member:
aliad "name", "member[; member...]"

3. Removing a member:
aliremove "name", "member[; member...]"

4. Removing an alias:
alidelete "name"

5.View:
alishow "server*"
Show aliases with name starting with "server".

alishow --ic "server*"
With ignoring the case of characters in the name.

6. Saving configuration after alias settings:
cfgsave

Working with zones:

1. Create a zone:
zonecreate "name", "member[; member...]"
Members can be aliases, ports, or WWN addresses.

2. Adding new members to the zone:
zoneadd "name", "member[; member...]"

3. Removing members from the zone:
zoneremove "name", "member[; member ...]"

4. Deleting a zone:
zonedelete "name"

5. View zone configuration:
zoneshow "server*"
Show zones with a name beginning with "server".

zoneshow --ic "server*"
With ignoring the case of characters in the name.

6. Saving configuration after zone settings:
cfgsave

Working with zone configurations:

1. Create a configuration:
cfgcreate "name", "member[; member ...]"
Only zones can be members of a configuration.

2. Adding zones to the configuration:
cfgadd "name", "member[; member ...]"

3. Removing zones from the configuration:
cfgremove "name", "member[; member ...]"

4. Deleting a configuration:
cfgdelete "name"

5. Saving the configuration:
cfgsave

6. Configuration activation:
cfgenable "name"

7. View:
cfgshow

cfgshow "Test*"
Show configurations with a name starting with "Test".

cfgshow --ic "Test*"
With ignoring the case of characters in the name.

cfgactvshow
Show the currently active configuration.

8. Deactivation of the current working configuration:
cfgdisable

Completely clear the entire zoning configuration:

cfgclear -f

No comments:

Post a Comment