![background image](http://html.mh-extra.com/html/smc-networks/6624fmst/6624fmst_management-manual_1300650042.webp)
3-8
Using the Command Line Interface (CLI)
Using the CLI
U
si
n
g t
h
e Co
m
m
a
n
d
Li
ne
In
te
rf
ac
e (
C
LI
)
Typing
?
at the Manager level produces this listing:
Figure 3-4. Example of the Manager-Level Command Listing
When
- - MORE - -
appears, there are more commands in the listing. To list the
next screenfull of commands, press the Space bar. To list the remaining
commands one-by-one, repeatedly press [Enter].
Typing
?
at the Global Configuration level or the Context Configuration level
produces similar results.
Use [Tab] To Search for or Complete a Command Word.
You can use
[Tab] to help you find CLI commands or to quickly complete the current word
in a command. To do so, press [Tab] immediately after typing the last letter of
the last keyword in the CLI (with no spaces allowed). For example, at the
Global Configuration level, if you press [Tab] immediately after typing “
t
,” the
CLI displays the available command options that begin with “t.” For example:
SMC6624M(config)# t
[Tab]
telnet-server
time
trunk
telnet
SMC6624M(config)# t
SMC6624M# ?
boot
Reboot the device
configure
Enter the Configuration context
copy
Copy datafiles to/from the switch
end
Return to the Manager Exec context
erase
Erase configuration file stored in flash
getMIB
Retrieve and display the MIB objects specified
kill
Kill all other active telnet/console sessions
log
Display log events
page
Toggle paging mode
Execute command and redirect its output
redo
Re-execute a command from history
reload
Warm reboot of the switch
repeat
Repeat execution of the previous command
clear
Reset sundry statistics
setMIB
Set the value of a MIB object
setup
Set up initial configuration for the switch
telnet
Initiate an outbound telnet session
terminal
Set the dimensions of the terminal window
update
Enter ROM monitoring mode
walkMIB
Display MIB objects and values
write
View or save the running configuration of the switch
-- MORE --
When - - MORE - - appears, use
the Space bar or [Return] to list
additional commands.