Creating a zone configuration, Adding a zone to a zone configuration – Brocade Network OS Administrator’s Guide v4.1.1 User Manual
Page 184

CAUTION
When edits are made to the defined configuration, and those edits affect a currently enabled
zone configuration, issuing a "cfg-save" command makes the enabled configuration effectively
stale. Until the enabled configuration is reenabled, the merging of new RBridges into the
cluster is not recommended. This merging may cause unpredictable results, with the potential
for mismatched enabled-zoning configurations among the RBridges in the cluster.
Example of viewing the zoning enabled configuration:
switch# show zoning enabled-configuration
zoning enabled-configuration cfg-name cfg1
zoning enabled-configuration enabled-zone zone1 member-entry 10:00:00:00:00:00:00:01
zoning enabled-configuration enabled-zone zone2 member-entry 10:00:00:00:00:00:00:02
Creating a zone configuration
A zone configuration cannot persist without any member zones. When creating a new zone
configuration, the zoning defined-configuration cfg command places you in a command sub-
configuration mode where you must add at least one member zone. While zone configurations without
any member zones can exist in volatile memory, they are deleted when the transaction commits
successfully.
The following procedure adds a new zone configuration to the defined configuration.
1. In privileged EXEC mode, enter the configure terminal command to enter global configuration
mode.
2. Enter the zoning defined-configuration cfg command and enter a new configuration name.
A subconfiguration mode prompt appears.
3. Enter the member-zone subconfiguration mode command and specify the name of at least one
zone.
Add multiple zones in one operation by separating each zone name with a semicolon (;).
4. Enter the exit command to return to global configuration mode.
5. Enter the zoning enabled-configuration cfg-action cfg-save command to save the modified
configuration to nonvolatile memory.
Example of creating a zone configuration with one member zone:
switch# configure terminal
Entering configuration mode terminal
switch(config)# zoning defined-configuration cfg config1
switch(config-cfg-config1)# member-zone zone1
switch(config-cfg-config1)# exit
switch(config)# zoning enabled-configuration cfg-action cfg-save
NOTE
Zone aliases are not valid zone configuration members. Adding an alias to an existing zone
configuration will not be blocked. However, the attempt to enable a zone configuration that contains
aliases will fail with an appropriate error message.
Adding a zone to a zone configuration
1. In privileged EXEC mode, enter the configure terminal command to enter global configuration
mode.
2. Enter the zoning defined-configuration cfg command and enter the name of the configuration to
which you want to add zones.
Creating a zone configuration
184
Network OS Administrator’s Guide
53-1003225-04