User`s manual

26
4.1 Command Line Interface Introduction
The Command Line Interface (CLI) is one of the user interfaces to the switch’s
embedded software system. You can view the system information, show the
status, configure the switch and receive a response back from the system by
typing in a command.
There are different command modes and each mode has its own access ability,
available command lines and uses different command lines to enter and exit.
These modes are User EXEC, Privileged EXEC, Global Configuration and
(Port/VLAN) Interface Configuration modes.
User EXEC mode: As long as you log into the switch by CLI you are in the User
EXEC mode. You can ping, telnet remote device, and show some basic
information.
Type enable to enter the next mode, exit to logout. ? to see the command list
Privileged EXEC mode: type enable in the User EXEC mode, then you can enter
the Privileged EXEC mode. In this mode, the system allows you to view current
configuration, reset default, reload switch, show system information, save
configuration…and enter the global configuration mode.
Type configure terminal to enter next mode, exit to leave. ? to see the command
list
Switch>
enable Turn on privileged mode command
exit Exit current mode and down to previous mode
list Print command list
ping Send echo messages
quit Exit current mode and down to previous mode
show Show running system information
telnet Open a telnet connection
traceroute Trace route to destination
Switch#
archive manage archive files
clear Reset functions
clock Configure time-of-day clock
configure Configuration from vty interface
copy Copy from one file to another
debug Debugging functions (see also 'undebug')
disable Turn off privileged mode command
end End current mode and change to enable mode
exit Exit current mode and down to previous mode
list Print command list
more Display the contents of a file
no Negate a command or set its defaults
ping Send echo messages
quit Exit current mode and down to previous mode
reboot Reboot system
reload copy a default-config file to replace the current one
show Show running system information