Using The Do Command As A Shortcut; Displaying Cee Cli Commands And Command Syntax - Dell 53-1002116-01 Administrator's Manual

Dell network card user manual
Table of Contents

Advertisement

2
CEE Command Line Interface

Using the do command as a shortcut

You can use the do command to save time when you are working in any configuration mode and
you want to run a command in the EXEC or Privileged EXEC mode.
For example, if you are configuring an LLDP and you want to execute a Privileged EXEC mode
command, such as the dir command, you would first have to exit the LLDP configuration mode.
However, by using the do command with the dir command you can ignore the need to change
configuration modes, as shown in the following example.
switch(conf-lldp)#do dir
Contents of flash://
-rw-r-----
-rw-r-----
-rw-r-----
-rw-r-----
switch(conf-lldp)#

Displaying CEE CLI commands and command syntax

Enter a question mark (?) in any command mode to display the list of commands available in that
mode.
switch>?
Exec commands:
enable
exit
help
logout
quit
show
terminal
To display a list of commands that start with the same characters, type the characters followed by
the question mark (?).
switch>e?
enable
exit
To display the keywords and arguments associated with a command, enter the keyword followed by
the question mark (?).
switch#terminal ?
length
no
If the question mark (?) is typed within an incomplete keyword, and the keyword is the only keyword
starting with those characters, the CLI displays help for that keyword only.
switch#show d?
dot1x
<cr>
If the question mark (?) is typed within an incomplete keyword but the keyword matches several
keywords, the CLI displays help for all the matching keywords.
switch#show i?
interface
ip
18
1276
1276
1276
1276
Turn on privileged mode command
End current mode and down to previous mode
Description of the interactive help system
Exit from the EXEC
Exit current mode and down to previous mode
Show running system information
Set terminal line parameters
Turn on privileged mode command
End current mode and down to previous mode
Set number of lines on a screen
Negate a command or set its defaults
IEEE 802.1X Port-Based Access Control
Interface status and configuration
Internet Protocol (IP)
Wed Feb
4 07:08:49 2009
Wed Feb
4 07:10:30 2009
Wed Feb
4 07:12:33 2009
Wed Feb
4 10:48:59 2009
Dell Converged Enhanced Ethernet Administrator's Guide
startup_rmon_config
rmon_config
rmon_configuration
starup-config
53-1002116-01

Advertisement

Table of Contents
loading

Table of Contents