Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
8-25
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 8 Fibre Channel Commands
clear zone
clear zone
To clear all configured information in the zone server for a specified VSAN, use the clear zone
command.
clear zone {database | lock | statistics} vsan vsan-id
Syntax Description
Command Default None
Command Modes EXEC mode
Command History
Usage Guidelines After entering a clear zone database command, you need to explicitly enter the copy running-config
startup-config to ensure that the running configuration is used when you next start the switch.
When you enter the clear zone lock command from a remote switch, only the lock on that remote switch
is cleared. When you enter the clear zone lock command from the switch where the lock originated, all
locks in the VSAN are cleared. The recommended method to clear a session lock on a switch where the
lock originated is by entering the no zone commit vsan command.
Examples The following example shows how to clear all configured information in the zone server for VSAN 1:
switch# clear zone database vsan 1
Related Commands
database Clears zone server database information.
lock Clears a zone server database lock.
statistics Clears zone server statistics.
vsan Clears zone information for a VSAN.
vsan-id The ID of the VSAN is from 1 to 4093.
Release Modification
4.0(0)N1(1a) This command was introduced.
Command Description
show zone Displays zone information for any configured interface.