Modifying The Zone Database; Releasing Zone Database Locks - Cisco N5010P-N2K-BE Software Configuration Manual

Nx-os software configuration guide
Table of Contents

Advertisement

Chapter 38
Configuring and Managing Zones
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
To enable enhanced zoning in a VSAN, perform this task:
Command
Step 1
switch# configuration terminal
Step 2
switch(config)# zone mode enhanced vsan
vsan-id
switch(config)# no zone mode enhanced
vsan vsan-id

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:
Command
Step 1
switch# configuration terminal
Step 2
switch(config)# zone commit vsan vsan-id
switch(config)# zone commit vsan vsan-id
force
switch(config)# no zone commit vsan
vsan-id
switch(config)# no zone commit vsan
vsan-id force

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
OL-16597-01
Purpose
Enters configuration mode.
Enables enhanced zoning in the specified VSAN.
Disables enhanced zoning in the specified VSAN.
Purpose
Enters configuration mode.
Applies the changes to the enhanced zone database
and closes the session.
Forcefully applies the changes to the enhanced zone
database and closes the session created by another
user.
Discards the changes to the enhanced zone database
and closes the session.
Forcefully discards the changes to the enhanced zone
database and closes the session created by another
user.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Enhanced Zoning
38-21

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nexus 5000 series

Table of Contents