Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)

Procedure
PurposeCommand or Action
Enters configuration mode.switch# configuration terminal
Step 1
Enables enhanced zoning in the specified
VSAN.
switch(config)# zone mode enhanced vsan
vsan-id
Step 2
Disables enhanced zoning in the specified
VSAN.
switch(config)# no zone mode enhanced vsan
vsan-id
Step 3
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:
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configuration terminal
Step 1
Applies the changes to the enhanced zone database
and closes the session.
switch(config)# zone commit vsan
vsan-id
Step 2
Forcefully applies the changes to the enhanced zone
database and closes the session created by another
user.
switch(config)# zone commit vsan
vsan-id force
Step 3
Discards the changes to the enhanced zone database
and closes the session.
switch(config)# no zone commit vsan
vsan-id
Step 4
Forcefully discards the changes to the enhanced zone
database and closes the session created by another
user.
switch(config)# no zone commit vsan
vsan-id force
Step 5
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
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
562 OL-16597-01
Configuring and Managing Zones
Modifying the Zone Database