1 00:00:00,430 --> 00:00:07,750 A simple search in a search engine such as Google for Cisco password recovery will show you documents 2 00:00:07,750 --> 00:00:13,840 such as the following, which give you step by step instructions for recovering passwords from various 3 00:00:13,840 --> 00:00:14,590 devices. 4 00:00:15,400 --> 00:00:20,890 Here's an example for the Cisco 2900 Integrated Services Router. 5 00:00:23,290 --> 00:00:30,390 Documents such as the following will show you a step-by-step procedure for recovering the passwords. 6 00:00:31,060 --> 00:00:37,330 So, for example, either switch off or shut down the router, remove the compact flash that is on the 7 00:00:37,330 --> 00:00:38,170 back of the router. 8 00:00:38,920 --> 00:00:41,440 Here's an example of a 2951, 9 00:00:42,310 --> 00:00:47,560 you can get more information about the back panel slots and connectors on the various routers once again 10 00:00:47,560 --> 00:00:48,660 from Cisco's website. 11 00:00:49,540 --> 00:00:57,610 So as an example, you are shown here on 2901 where the compact flash is 01 and that'll 12 00:00:57,610 --> 00:01:02,010 continue for various routers of different descriptions. 13 00:01:02,770 --> 00:01:11,350 So as an example for 2911 the compact flash is found here and here, so you need to remove the compact 14 00:01:11,350 --> 00:01:14,320 flash as an example and then switch on the router. 15 00:01:14,920 --> 00:01:25,150 Once the router is in ROM MON mode, reinsert the compact flash and then type CONF REG 0x2142 at 16 00:01:25,150 --> 00:01:26,420 the ROM MON prompt. 17 00:01:27,370 --> 00:01:31,690 Now, as part of this course, you'll have access to the configure register software. 18 00:01:32,830 --> 00:01:37,210 This allows you to see various options for the configuration register. 19 00:01:38,570 --> 00:01:44,330 So as an example, if you set it to 2142, as shown on the Cisco website. 20 00:01:46,370 --> 00:01:50,600 That shows you that it ignores NVRAM contents. 21 00:01:51,830 --> 00:01:58,510 So bit-6 is set on, in other words, the third hexadecimal value, and if you remember, a hex 22 00:01:58,520 --> 00:02:05,950 values is 4 binary bits, this bit, bit-6 is set on, which means ignore and NVRAM contents. 23 00:02:06,620 --> 00:02:12,080 So the router will boot up, but it will ignore any saved configuration. 24 00:02:12,950 --> 00:02:15,380 You type reset to reboot the router. 25 00:02:16,520 --> 00:02:20,660 So the router will now reboot but ignore the saved configuration. 26 00:02:21,840 --> 00:02:29,490 You need to type no or control see to skip the initial set up procedure, then type enable at the 27 00:02:29,490 --> 00:02:35,910 router a prompt and then type configure memory or copy start up config to running-config 28 00:02:37,610 --> 00:02:46,100 and then you could change the password by typing configure terminal, enable secret and whatever password 29 00:02:46,100 --> 00:02:47,000 you want to configure. 30 00:02:48,670 --> 00:02:54,190 You will need to no-shut any interfaces that you want to use when the router boots, all interfaces 31 00:02:54,190 --> 00:03:00,470 will be in the down state when you copy your config from start up to running-config. 32 00:03:00,760 --> 00:03:02,580 So you need to manually no-shut them. 33 00:03:03,160 --> 00:03:09,640 You should then use the config register command to set it back to the default register. 34 00:03:09,640 --> 00:03:16,120 So config register is 0x2102 as an example, and then you need to save your config. 35 00:03:16,930 --> 00:03:18,000 This document is great. 36 00:03:18,010 --> 00:03:18,880 It shows you 37 00:03:19,880 --> 00:03:26,540 the full examples of what you're going to be doing, but rather than doing it that way, I'm going to 38 00:03:26,540 --> 00:03:27,860 simply demonstrate this.