Deleting a zone, Managing zones, Viewing the defined configuration – Brocade Network OS Administrator’s Guide v4.1.1 User Manual
Page 182

switch(config)# zoning defined-configuration zone zone1
switch(config-zone-zone1)# no member-entry 50:05:07:61:00:09:20:b4
switch(config-zone-zone1)# no member-entry alias3
switch(config-zone-zone1)# exit
switch(config)# zoning enabled-configuration cfg-action cfg-save
Deleting a zone
Before deleting a zone, ensure that the zone is not a member of any enabled zone configuration.
Although the deletion will proceed in RAM, you will not be able to save the configuration to nonvolatile
memory if an enabled zone configuration has the deleted zone as a member.
1. In privileged EXEC mode, enter the show running-config zoning defined-configuration
command and verify that the zone you want to delete is not a member of an enabled zone
configuration. If the zone is a member of an enabled zone configuration, remove it.
2. Enter the configure terminal command to enter the global configuration mode.
3. Enter the no zoning defined-configuration zone command and enter the name of the zone you
want to delete.
4. Enter the zoning enabled-configuration cfg-action cfg-save command to save the modified
configuration to nonvolatile memory.
NOTE
Saving the configuration to nonvolatile memory also deletes the zone configuration if the zone you
are removing is the last member zone in the configuration.
Example of removing a zone from the defined configuration:
switch# show running-config zoning defined-configuration
zoning defined-configuration zone zone1
member-entry 10:00:00:00:00:00:00:01
!
zoning defined-configuration zone zone2
member-entry 10:00:00:00:00:00:00:02
!
switch# configure terminal
Entering configuration mode terminal
switch(config)# no zoning defined-configuration zone zone2
switch(config)# zoning enabled-configuration cfg-action cfg-save
Updating flash ...
switch(config)# exit
switch# show running-config zoning defined-configuration
zoning defined-configuration zone zone1
member-entry 10:00:00:00:00:00:00:01
Managing zones
Consider the topics below when managing zones.
Viewing the defined configuration
To view the defined configuration, in privileged EXEC mode enter the show running-config zoning
defined-configuration command.
For each configuration, the command lists each member zone. For each zone, the command lists the
WWN or alias name of each member. The following example illustrates this.
switch# show running-config zoning defined-configuration
zoning defined-configuration cfg cfg0
member-zone zone_0_1
member-zone zone_0_2
Deleting a zone
182
Network OS Administrator’s Guide
53-1003225-04