Send documentation comments to mdsfeedback-doc@cisco.com
4-84
Cisco MDS 9000 Family Command Reference
OL-8413-07, Cisco MDS SAN-OS Release 3.x
Chapter 4 C Commands
clear zone
clear zone
To clear all configured information in the zone server for a specified VSAN, use the clear zone command
in EXEC mode.
clear zone {database | lock | statistics {lun-zoning | read-only-zoning}} vsan vsan-id
Syntax Description
Defaults None.
Command Modes EXEC mode.
Command History
Usage Guidelines After issuing a clear zone database command, you need to explicitly issue the copy running-config
startup-config to ensure that the running configuration is used when you next start the switch.
When you issue the clear zone lock command from a remote switch, only the lock on that remote switch
is cleared. When you issue the clear zone lock command from the switch where the lock originated, all
locks in the VSAN are cleared.
Note The recommended method to clear a session lock on a switch where the lock originated is by issuing the
no zone commit vsan command.
Examples The following examples 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.
lun-zoning Clears LUN-zoning related statistics.
read-only-zoning Clears read-only zoning related statistics.
vsan Clears zone information for a VSAN.
vsan-id The ID of the VSAN is from 1 to 4093.
Release Modification
1.0(2) This command was introduced.
3.0(1) Added the lock option.
Command Description
show zone Displays zone information for any configured interface.