Send feedback to nx5000-docfeedback@cisco.com
1-17
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1 Configuring and Managing Zones
Verifying Zone Information
Cloning Zones, Zone Sets, FC Aliases, and Zone Attribute Groups
To clone a zone, zone set, fcalias, or zone-attribute-group, perform this task:
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
Note After entering a clear zone database command, you must explicitly enter the copy running-config
startup-config to ensure that the running configuration is used when the switch reboots.
Note Clearing a zone set only erases the full zone database, not the active zone database.
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
Command Purpose
Step 1
switch# configuration terminal
Enters configuration mode.
Step 2
switch(config)# zoneset clone oldname newname
vsan vsan-id
Clones a zone set in the specified VSAN.
switch(config)# zone clone oldname newname vsan
number
Clones a zone in the specified VSAN.
switch(config)# fcalias clone oldname newname
vsan vsan-id
Clones a fcalias in the specified VSAN.
switch(config)# zone-attribute-group clone
oldname newname vsan vsan-id
Clones a zone attribute group in the
specified VSAN.
Step 3
switch(config)# zoneset activate name newname
vsan vsan-id
Activates the zone set and updates the new
zone name in the active zone set.