You are on page 1of 7

Mode of Operation User EXEC Privileged EXEC

How to Enter the Mode First level accessed. From user EXEC mode, enter enable password command From privileged EXEC, enter configure terminal. From global mode, enter interface type number. From privileged EXEC mode, enter command setup.

Prom pt Router > Router #

Global Config

Router(config )#

Interface Config


Setu p

Prompted dialog

User EXEC Mode Commands:

Router>enable Router>exit
Privileged EXEC Commands: Router# show version Router# show flash Router# show terminal Router# show history Router# show clock Router# set clock hh:mm:ss day month year Router# show interface

Router# show interface <interfacename> Router# show controllers serial<0-1> Router# show running-config Router# show startup-config Router# copy run start-config (or) write Router# copy start running-config Router# show cdp neighbors Router# show cdp neighbors detail Router#show cdp users Router#show cdp entry* protocols Router#show cdp entry* version Router#show cdp traffic Router#configure terminal Global Configure mode commands: Router(config)#hostname <name> Router(config)#banner motd # type a banner message # Router(config)#interface <interface name><0-1> Interface mode commands: Router(config-if)#ip address <ip address> <subnetmask> Router(config-if)#clock rate 64000 - only serial interface dce terminal Router(config-if)#description < type des message > Router(config-if)#bandwidth <range> Router(config-if)#no shotdown

Enhanced Editing Commands Ctrl+A Moves your cursor to the beginning of the line Ctrl+E Moves your cursor to the end of the line Esc+B Moves back one word Ctrl+B Moves back one character Ctrl+F Moves forward one character Esc+F Moves forward one word Ctrl+D Deletes a single character Backspace Deletes a single character Ctrl+R Redisplays a line Ctrl+U Erases a line Ctrl+W Erases a word Ctrl+Z Ends configuration mode and returns to EXEC Tab Finishes typing a command for you


Set a enable password: Router(config)#enable password ccna Set a secret password: Router(config)#enable secret cisco Set a console password: Router(config)#line console 0 Router(config-line)#password cisco Router(config-line)#login Set a vty password: Router(config)#line vty 0 4 Router(config-line)#password ccnp Router(config-line)#login Set a aux password: Router(config) line aux 0 Router(config-line)#password cisco Router(config-line)#login

WAN interfaces Serial interface (S0, S1 etc) 60 pin/26 pin(smart serial) ISDN interface(BRI0 etc) RJ45 LAN interfaces Ethernet AUI (Attachment Unit Interface) (E0) 15 pin 10bT RJ45 Administration interfaces Console RJ45 - Local Auxiliary RJ45 Remote ROM A bootstrap program is located here. It is same as BIOS of the PC. Bootstrap program current version is 11.0 Flash Internetwork Operating System (IOS) developed by Cisco is stored here. IOS is

Command line interface and current version is 13.0

NVRAM Non volatile RAM, similar to Hard Disk It is also known as Permanent Storage or Startup Configuration. Generally size of NVRAM is 32 KB. RAM It is also known as Temporary Storage or running Configuration. Minimum size of RAM is 2MB. RAM is greater than NVRAM is the Router Processor Motorola Processor 70 Mhz, RISC based processor

The Router Boot Sequence: 1. The router performs a POST. The POST tests the hardware to verify that all components of the device are operational and present. 2. The bootstrap program is responsible for finding where each IOS program is located and then loading the file. By default, the IOS software is loaded from flash memory in all Cisco routers. 3. The IOS software looks for a valid configuration file stored in NVRAM. This file is called startup-config and is only there if an administrator copies the runningconfig file into NVRAM. 4. If a startup-config file is in NVRAM, the router will copy this file and place it in RAM and call the file running-config. The router will use this file to run the router.

WINDOWS Start Programs Accessories Communications HyperTerminal HyperTerminal. Give the Connection Name & Select Any Icon Select Serial (Com) Port where Router is Connected. In Port Settings Click on Restore Defaults