Cisco AP776A - Nexus Converged Network Switch 5020 Configuration Manual page 87

Cisco mds 9000 family cli configuration guide - release 4.x (ol-18084-01, february 2009)
Hide thumbs Also See for AP776A - Nexus Converged Network Switch 5020:
Table of Contents

Advertisement

Chapter 2
Before You Begin
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
Before the MDS NX-OS Release 4.1(1a), you can execute an EXEC mode command from a
configuration mode or submode prompt. You can issue this command from any submode within the
configuration mode. When in configuration mode (or in any submode), enter the do command along with
the required EXEC mode command. The entered command is executed at the EXEC level and the prompt
resumes its current mode level.
switch(config)# do terminal session-timeout 0
switch(config)#
In this example, terminal session-timeout is an EXEC mode command—you are issuing an EXEC
mode command using the configuration mode do command.
The do command applies to all EXEC mode commands other than the end and exit commands. You can
also use the help (?) and command completion (Tab) features for EXEC commands when issuing a do
command along with the EXEC command.
Table 2-2
modes.
Table 2-2
Command
Ctrl-P
Ctrl-N
Ctrl-R
Ctrl-X H
Alt-P
Alt-N
Ctrl-G
Ctrl-Z
Ctrl-L
Ctrl-O
Displaying the Present Working Context
Some features have configuration submode hierarchy nested more than one level deep. In these cases,
you can display the commands you used to reach your present working context (PWC). To display the
command used to reach the current PWC, issue the pwc command at any command mode prompt.
switch(config-if)# pwc
(config t) -> (int mgmt 0)
OL-18084-01, Cisco MDS NX-OS Release 4.x
lists some useful command key combinations that can be used in both EXEC and configuration
Useful Command Key Combination Descriptions
Description
Up history.
Down history.
Refreshes the current line and reprints it.
List history.
When using this key combination, press and release the Ctrl and X keys together
before pressing the H key.
History search backwards.
The difference between Tab completion and Alt-P or Alt-N is that Tab
Note
completes the current word while Alt- P and Alt-N completes a previously
entered command.
History search forwards.
Exit.
End.
Refresh the screen.
Clear screen.
Cisco MDS 9000 Family CLI Configuration Guide
Using the CLI
2-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents