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-21
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 38 Configuring and Managing Zones
Enhanced Zoning
To enable enhanced zoning in a VSAN, perform this task:
Modifying the Zone Database
Modifications to the zone database is done within a session. A session is created at the time of the first
successful configuration command. On creation of a session, a copy of the zone database is created. Any
changes done within the session are performed on this copy of the zoning database. These changes in the
copy zoning database are not applied to the effective zoning database until you commit the changes.
Once you apply the changes, the session is closed.
If the fabric is locked by another user and for some reason the lock is not cleared, you can force the
operation and close the session. You must have permission (role) to clear the lock in this switch and
perform the operation on the switch from where the session was originally created.
To commit or discard changes to the zoning database in a VSAN, perform this task:
Releasing Zone Database Locks
To release the session lock on the zoning database on the switches in a VSAN, use the no zone commit
vsan command from the switch where the database was initially locked.
switch# configuration terminal
switch(config)# no zone commit vsan 2
If session locks remain on remote switches after using the no zone commit vsan command, you can use
the clear zone lock vsan command on the remote switches.
switch# clear zone lock vsan 2
Command Purpose
Step 1
switch# configuration terminal
Enters configuration mode.
Step 2
switch(config)# zone mode enhanced vsan
vsan-id
Enables enhanced zoning in the specified VSAN.
switch(config)# no zone mode enhanced
vsan vsan-id
Disables enhanced zoning in the specified VSAN.
Command Purpose
Step 1
switch# configuration terminal
Enters configuration mode.
Step 2
switch(config)# zone commit vsan vsan-id
Applies the changes to the enhanced zone database
and closes the session.
switch(config)# zone commit vsan vsan-id
force
Forcefully applies the changes to the enhanced zone
database and closes the session created by another
user.
switch(config)# no zone commit vsan
vsan-id
Discards the changes to the enhanced zone database
and closes the session.
switch(config)# no zone commit vsan
vsan-id force
Forcefully discards the changes to the enhanced zone
database and closes the session created by another
user.