Managing A Cisco Internetwork: Sonia Hanif Roll No
Managing A Cisco Internetwork: Sonia Hanif Roll No
By
Sonia Hanif
Roll No.
Cisco Router Components
Register
– 16-bit software written into NVRAM
– Loads from flash memory & looks for the startup-config file
Configuration Register Bits
– 16 bits read 15-0, from left to right
– default setting: 0x2102
Register 2 1 0 2
Bit number 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Binary 0 0 1 0 0 0 0 1 0 0 0 0 0 0 1 0
[output cut]
Router(config)#config-register 0x0101
Router(config)#^Z
Router#sh ver
[output cut]
Configuration register is 0x2102 (will be 0x0101 at
next reload)
Recovering Passwords
Step #1: Boot the router & interrupt the boot sequence by
performing a break
Step #2: Change the configuration register to turn on bit 6
(0x2142)
Step #3: Reload the router
Step #4: Enter the privileged mode
Step #5: Copy the startup-config to running-config
Step #6: Change the password
Step #7: Reset the configuration register to the default value
Step #8: Reload the router
Recovering Passwords Steps 1-2
Step #1: Boot the router & interrupt the boot sequence
by pressing Cntl+break
Cisco 2600 routers are different than 2500 routers. For
2600 routers:
Step #2: Change the configuration register to turn on bit
6 (0x2142)
rommon>confreg 0x2142
You must reset or power cycle for new config to take
effect
Recovering Passwords Steps 3-4
Router#RouterB
RouterB#(Ctrl+Shift+6) (X)
Router#switch
Using DNS to Resolve Names