Front | Back |
NVRAM and RAM
|
Boot process loads startup-config into NVRAM, and running-config into RAM
|
Configuring SSH on a router
|
Router#config tRouter(config)#hostname ToddTodd(config)#ip domain-name Lammle.comTodd(config)#username todd password toddTodd(config)#crypto key generate rsa general-keys modulus 1024Todd(config)#line vty 0 4Todd(config-line)#login localTodd(config-line)#transport input SSH
|
Configuring secret password for enable access.
|
Todd(config)#enable secret todd
|
Configuring the AUX password
|
Todd#config tEnter configuration commands, one per line. End with CNTL/Z.Todd(config)#line aux ?<0-0> First Line numberTodd(config)#line aux 0Todd(config-line)#login% Login disabled on line 1, until 'password' is setTodd(config-line)#password auxTodd(config-line)#login
|
Configuring the console password
|
Todd(config-line)#line console ?% Unrecognized commandTodd(config-line)#exitTodd(config)#line console ?<0-0> First Line numberTodd(config-line)#line con 0Todd(config-line)#password consoleTodd(config-line)#loginTodd(config-line)#exec-timeout ?<0-35791> Timeout in minutesTodd(config-line)#exec-timeout 0 ?<0-2147483> Timeout in seconds<cr>Todd(config-line)#exec-timeout 0 0Todd(config-line)#logging synchronous
|
Configuring the telnet password
|
Todd(config-line)#line vty 0 ?% Unrecognized commandTodd(config-line)#exitTodd(config)#line vty 0 ?<1-1180> Last Line number<cr>Todd(config)#line vty 0 1180Todd(config-line)#password telnetTodd(config-line)#login
|
Configuring password encryption
|
Todd#config tEnter configuration commands, one per line. End with CNTL/Z.Todd(config)#service password-encryptionTodd(config)#exit
|
Configuring DHCP
|
Todd#config tTodd(config)#ip dhcp pool FinanceTodd(dhcp-config)#network 10.10.1.0 255.255.255.0Todd(dhcp-config)#default-router 10.10.1.1Todd(dhcp-config)#dns-server 10.30.1.1Todd(dhcp-config)#netbios-name-server 10.30.1.1Todd(dhcp-config)#lease 0 0 1Todd(dhcp-config)#exitTodd(config)#ip dhcp excluded-address 10.10.1.1 10.10.1.199Todd(config)#
|
Router power up process
|
When you first bring up a Cisco router, it will run a power-on self-test (POST), and if that passes,it will look for and load the Cisco IOS from flash memory, if a file is present. The IOS then proceedsto load and looks for a valid configuration in NVRAM called the startup-config. If no file is presentin NVRAM, the router will go into setup mode.
|
What command is used to set a serial interface to provide clocking to another router at 64Kb?
|
Clock rate 64000
|
If you telnet into a router and get the response connection refused, password notset, what would you do on the destination router to stop receiving this message andnot be prompted for a password?
|
Config t, line vty 0 4, no login
|
If you type show inter et 0 and notice the port is administratively down, what wouldyou do?
|
Config t, int e0, no shut
|
If you wanted to delete the configuration stored in NVRAM, what would you type?
|
Erase startup-config
|
If you wanted to set a user-mode password for the console port, what would you type?
|
Config t, line console 0, login, password todd
|
If you wanted to set the enable secret password to cisco, what would you type?
|
Config t, enable secret cisco
|