Cisco Device Management Flashcards
Factory Reset a Router/Switch
Write Erase (erases startup config) Reload (reboots device)
Then setup wizard will run
Configuration Register
Can be used to change the way the router boots
IOS: config-register
ROMMON: confreg
Configuration Register: Boot Normally
config-register 0x2102
Configuration Register: Boot into ROMMON
config-register 0x2120
Configuration Register: Ignore contents of NVRAM (startup-config)
config-register 0x2142
Router Password Recovery: All Steps
Press the break sequence (Ctrl-Break) at power on to break into ROMMON
Confreg 0x2142 to ignore the startup-config on boot
Reset to reload
The router will boot up with no configuration
Enter enable mode
Copy startup config to the running config
This will copy the entire previous config into the running config including the unknown enable secret. You are already in enable mode so you don’t need to know it
Enter a new enable secret in global config to overwrite the old one
This will go into running-config
Config-register 0x2102 so the router will boot normally next restart
Copy run start to save the config (merges new enable password to startup-config)
Switch Password Recovery
Almost identical to router password recovery
May have to physically press the “Mode” button on the front of the switch to break into the switch loader
Command: Backup flash memory via TFTP
Copy flash tftp
Upgrade IOS Image Steps
IOS images can be downloaded from
https://software.cisco.com/
After downloading, copy to device’s flash using TFTP
Copy tftp flash (then enter TFTP server IP, then enter file name)
Delete the old system image or use the boot system command