Clear Zone - Cisco MDS 9000 series Command Reference Manual

Hide thumbs Also See for MDS 9000 series:
Table of Contents

Advertisement

clear zone

S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
clear zone
To clear all configured information in the zone server for a specified VSAN, use the clear zone command
in EXEC mode.
Syntax Description
database
lock
statistics
lun-zoning
read-only-zoning
vsan
vsan-id
Defaults
None.
Command Modes
EXEC mode.
Command History
Release
1.0(2)
3.0(1)
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
Command
show zone
Cisco MDS 9000 Family Command Reference
4-84
clear zone {database | lock | statistics {lun-zoning | read-only-zoning}} vsan vsan-id
Clears zone server database information.
Clears a zone server database lock.
Clears zone server statistics.
Clears LUN-zoning related statistics.
Clears read-only zoning related statistics.
Clears zone information for a VSAN.
The ID of the VSAN is from 1 to 4093.
Modification
This command was introduced.
Added the lock option.
Description
Displays zone information for any configured interface.
Chapter 4
C Commands
OL-8413-07, Cisco MDS SAN-OS Release 3.x

Advertisement

Table of Contents
loading

Table of Contents