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

If you enter the zone member command, you can undo the results:
switch(config)# zone name test vsan 1
switch(config-zone)# member pwwn 12:12:12:12:12:12:12:12
switch(config-zone)# no member pwwn 12:12:12:12:12:12:12:12
WARNING: Zone is empty. Deleting zone test. Exit the submode.
switch(config-zone)#
Delete a created facility.
If you want to delete a zone that you created, enter the following commands:
switch(config)# zone name test vsan 1
switch(config-zone)# exit
switch(config)# no zone name test vsan 1
switch(config)#
You cannot delete a zone facility called test while still in zone configuration submode. You must first
exit the zone submode and return to configuration mode.
Revert to the default value.
If you enter the zone merge-control restrict vsan command, you can undo the results:
switch(config)# zone merge-control restrict vsan 10
switch(config)# no zone merge-control restrict vsan 10
switch(config)#
Using Keyboard Shortcuts
You can execute an EXEC mode command from a configuration mode or submode prompt. You can enter
this command from any submode within the configuration mode. The command is executed at the EXEC
level, and the prompt resumes its current mode level, as in the following example:
switch(config)# terminal session-timeout 0
In this example, terminal session-timeout is an EXEC mode command.
The following table lists some useful command keys that can be used in both EXEC and configuration modes.
Table 4: Useful Command Keys
DescriptionCommand
Up historyCtrl-P
Down historyCtrl-N
List historyCtrl-X-H
History search backwardsAlt-P
The difference between Tab completion and
Alt-P or Alt-N is that pressing Tab
completes the current word, while Alt-P and
Alt-N completes a previously entered
command.
Note
History search forwardsAlt-N
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01 23
Using Commands
Using Keyboard Shortcuts