Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
38-17
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 38 Configuring and Managing Zones
Zone Set Duplication
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.
Step 2
switch(config)# zoneset rename oldname
newname vsan vsan-id
Renames a zone set in the specified VSAN.
switch(config)# zone rename oldname
newname vsan vsan-id
Renames a zone in the specified VSAN.
switch(config)# fcalias rename oldname
newname vsan vsan-id
Renames a fcalias in the specified VSAN.
switch(config)# zone-attribute-group
rename oldname newname vsan vsan-id
Renames 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.
Command Purpose
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.