|




















Site Map
| |
|
Cisco Router CLl Commands
To understand the CISCO
Router CLI commands, basic usage and configuration
of cisco routers you have to understand the command line interface(cli) of
the cisco ios. It is through the CLI, every instructions or commands are
given to the router(it is like the command prompt in windows or shell prompt
in
linux).
The command line interface(cli) has the following modes or levels of access
for the execution of the router commands.
1. User execution mode
2. Privilege execution mode
3. Global configuration mode
3.1 interface configuration mode
3.2 sub-interface configuration mode
3.3 line configuration mode
3.4 router configuration mode
1. User execution mode
a. to view the statistics of the router
b. we cannot do any modifications to the configuration in this mode.
Examples :
To view help type the command as follows in the router
command prompt :
router>?
To display commands starting with letter 's'
router>s?
2. Privilege execution mode
Here changes can be made and will affect the configuration of this router
a. To enter into privilege mode from user mode :
router>enable
then the prompt changes to
router#
b. To quit
router#logout
c. To view various parameters that can be used with the 'show' command :
router# show ?
d. To view the ios version:
router# show version
e. To copy the configuration from dram(temporary memory) to
nvram(permanent memory) :
router# copy running-config startup-config (or)
router# copy run start (or) router# wr
f. To view the content of the running config(dram) :
router# show running-config (or) router# sh run
g. To view the content of the startup config(nvram) :
router# show startup-config (or) router# sh start
h. To view the commands previously typed in the cli (by default 10
entries are shown)
router# show history
i. To change the default history size
router# terminal history size 20
j. To view the history size setting
router# show terminal
k. To view content of flash memory
router# show flash
l. To view the settings of the ethernet port 0
router# show int e0
m. To view the settings of the serial port 0
router# show int s0
n. To view the settings of all interfaces
router# show interfaces
o.To view the settings of all interfaces
router# show ip interface brief <-- to view only
minimal details
Continued Click Here
|
|