2.hostname > confreg 0x2142This step bypasses the startup configuration where the passwords are stored.
3.hostname > reset
The router reboots, but ignores the saved configuration.
4.Type no after each setup question, or press Ctrl-C in order to skip the initial setup procedure.
5.hostname > enable
6.hostname# configure memory or copy startup-config running-config
in order to copy the NVRAM into memory.
Warning: Do not type copy running-config startup-config or write. These commands erase your startup configuration.
7.Type show running-config.
The show running-config command shows the configuration of the router. In this configuration, the shutdown command appears under all interfaces, which indicates all interfaces are currently shut down. In addition, the passwords (enable password, enable secret, vty, console passwords) are in either an encrypted or unencrypted format. You can reuse unencrypted passwords. You must change encrypted passwords to a new password.
8.hostname(config)# configure terminal
10.Issue the no shutdown command on every interface that you use.
11.hostname(config)# config-register 0x2102
12.hostname# write memory or copy running-config startup-config
Configuration Register Values
The factory-default setting for the configuration register is 0x2102. This indicates that the router should attempt to load a Cisco software image from Flash memory and load the startup configuration with a console speed of 9600 baud.
Configuration Register Setting | Router Behavior |
0x102 |
|
0x1202 |
|
0x2101 |
|
0x2102 |
|
0x2120 |
|
0x2122 |
|
0x2124 |
|
0x2142 |
|
0x2902 |
|
0x2922 |
|
0x3122 |
|
0x3902 |
|
0x3922 |
|
If the value not in the table, determine which bits are set in order to compute the value:
Bit Number | Hex | Meaning |
00-03 | 0x0000-0x000F | Boots Field Parameters:
|
06 | 0x0040 |
|
07 | 0x0080 |
|
08 | 0x0100 |
|
10 | 0x0400 |
|
5,11,12 | 0x0020, 0x0800, 0x1000 |
|
13 | 0x2000 |
|
14 | 0x4000 |
|
15 | 0x8000 |
|
沒有留言:
張貼留言