Transcript Document

Cisco CLI (command line interface).
• login with the user password
• enter privileged mode with the enable
password
• disable or quit
Advanced help features:
• command completion and prompting
• syntax checking
Editing features:
•
automatic line scrolling
•
cursor controls
•
history buffer with command recall
•
copy and paste, which are available on most
computers
For security purposes, the router has two levels
of access to commands
• user mode --Typical tasks include those that
check the router status. In this mode, router
configuration changes are not allowed.
• privileged mode --Typical tasks include those
that change the router configuration.
To access the full set of commands, you
must first enable the privileged mode. At the
">" prompt, type "enable".
At the "password" prompt, enter the
password that has been set with the "enable
secret" command
the prompt changes to a # (pound sign)
because you are now in the privileged
mode. From the privileged mode, you can
access modes such as the global
configuration mode and other specific
modes including:
• interface
• route-map
• subinterface
• several additional
configuration
modes
• line
• router
To logout of the router, type exit
To access privileged mode, type enable (or as
shown in the figure, the abbreviation ena). You
will be prompted for a password.
If you type a "?" (question mark) at the
privileged mode prompt, the screen displays a
longer list of commands than it would at the
user mode prompt. LAB-A>
user mode
LAB-A>enable
command for priv. mode
LAB-A>#
privilege mode
LAB-A> ?
help
With the command history feature you can
complete the following tasks:
• Set the command history buffer size.
• Recall commands.
• Disable the command history feature.
To change the number of command lines the
system records during a terminal session, use
the terminal history size or the history
size command.
The maximum number of commands is 256.