Configuring and Managing Zones
Step 6
Clearing the Zone Server Database
You can clear all configured information in the zone server database for the specified VSAN.
To clear the zone server database, use the following command:
switch# clear zone database vsan 2
After entering a clear zone database command, you must explicitly enter the copy running-config
Note
startup-config to ensure that the running configuration is used when the switch reboots.
Clearing a zone set only erases the full zone database, not the active zone database.
Note
Verifying Zone Information
You can view any zone information by using the show command. If you request information for a specific
object (for example, a specific zone, zone set, VSAN, or alias, or keywords such as brief or active), only
information for the specified object is displayed.
The following example shows how to display zone information for all VSANs:
switch# show zone
The following example shows how to display zone information for a specific VSAN:
switch# show zone vsan 1
The following example shows how to display the configured zone sets for a range of VSANs:
switch# show zoneset vsan 2-3
The following example shows how to display the members of a specific zone:
switch# show zone name Zone1
The following example shows how to display fcalias configuration:
switch# show fcalias vsan 1
The following example shows how to display all zones to which a member belongs:
switch# show zone member pwwn 21:00:00:20:37:9c:48:e5
The following example shows how to display the number of control frames exchanged with other switches:
switch# show zone statistics
The following example shows how to display the active zone set:
switch# show zoneset active
The following example shows how to display the active zones:
switch# show zone active
The following example shows how to display the zone status:
switch# show zone status
OL-16597-01
Command or Action
switch(config)# zoneset activate name newname
vsan vsan-id
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Clearing the Zone Server Database
Purpose
Activates the zone set and updates the new
zone name in the active zone set.
559