2024年1月14日发(作者:)

NBR

(RGNOS)

路由器密码恢复

锐捷网络远程技术支持中心

技术热线:4008-111-000

福 建 星 网 锐 捷 网 络 有 限 公 司

技术支持平台 4008-111-000

福州总部 福州市金山大道618号橘园洲星网锐捷科技园 邮编:350002

我的路由器密码忘记了,请问如何清除密码设置?

答: 如果路由器的特权用户密码丢失,可以按照以下步骤进行恢复。

1. 准备一台运行仿真终端程序的PC ,推荐使用Procomm或者Windows Hyper Terminal(超级终端)。

2. 将PC的串口和路由器的控制台口用配套的控制线连接。

3. 路由器重启,在超级终端上执行ctrl+c ,使路由器进入Rom模式,出现以下菜单。

Main Menu:

1. TFTP Download & Run

2. TFTP Download & Write Into File

3. X-Modem Download & Run

4. X-Modem Download & Write Into File

5. List Active Files

6. List Deleted Files

7. Run A File

8. Delete A File

9. Rename A File

a. Squeeze File System

b. Format File System

c. Other Utilities

福 建 星 网 锐 捷 网 络 有 限 公 司

技术支持平台 4008-111-000

福州总部 福州市金山大道618号橘园洲星网锐捷科技园 邮编:350002

Please select an item: 5

!选择菜单选项5,列出flash上的所有文件,

!其中配置文件名是

show all Active files information in flash!

filename filesize filebaseaddress filecrc time

820 0xf0008118 0x06f90e2b 2037-01-09 14:45:48

2251 0xf00084b8 0x4626ac75 2037-01-09 14:46:12

463424 0xf0008df8 0x0b908d33 2037-01-09 14:53:28

3939648 0xf007a278 0xa66d70f8 2037-01-09 14:46:19

tftp_ 68 0xf043d668 0xacadf42f 2004-05-08 00:00:00

2491 0xf043eb78 0xaf60d9d7 2037-01-09 21:31:46

Please press any key to continue.

Main Menu:

1. TFTP Download & Run

2. TFTP Download & Write Into File

3. X-Modem Download & Run

4. X-Modem Download & Write Into File

5. List Active Files

6. List Deleted Files

7. Run A File

8. Delete A File

9. Rename A File

a. Squeeze File System

b. Format File System

c. Other Utilities

Please select an item: 9 !选择菜单选项9,进行文件名修改操作

!把缺省的配置文件改名称为

Old file name input.

Enter File Name(Input ESC to quit):

New file name input.

福 建 星 网 锐 捷 网 络 有 限 公 司

技术支持平台 4008-111-000

福州总部 福州市金山大道618号橘园洲星网锐捷科技园 邮编:350002

Enter File Name(Input ESC to quit):

Write file to flash: !!

Write file to flash successfully!

Rename successfully!

Main Menu:

1. TFTP Download & Run

2. TFTP Download & Write Into File

3. X-Modem Download & Run

4. X-Modem Download & Write Into File

5. List Active Files

6. List Deleted Files

7. Run A File

8. Delete A File

9. Rename A File

a. Squeeze File System

b. Format File System

c. Other Utilities

Please select an item: 5 !此时文件名已改为,

!路由器找不到配置文件,

!就会以默认配置运行路由器,

!这样就避开了原先配置的用户口令

show all Active files information in flash!

filename filesize filebaseaddress filecrc time

820 0xf0008118 0x06f90e2b 2037-01-09 14:45:48

2251 0xf00084b8 0x4626ac75 2037-01-09 14:46:12

463424 0xf0008df8 0x0b908d33 2037-01-09 14:53:28

3939648 0xf007a278 0xa66d70f8 2037-01-09 14:46:19

tftp_ 68 0xf043d668 0xacadf42f 2004-05-08 00:00:00

2491 0xf043f5a8 0xaf60d9d7 2004-05-08 00:00:00

Please press any key to continue.

福 建 星 网 锐 捷 网 络 有 限 公 司

技术支持平台 4008-111-000

福州总部 福州市金山大道618号橘园洲星网锐捷科技园 邮编:350002

通过以上操作,将配置文件改名为。这样启动路由器进入主模式之后,路由器找不到配置文件,就会以默认配置运行路由器,这样就避开了原先配置的用户口令了。

4. 进入路由器的大版本,再把配置恢复回来,并且重新修改密码

进入大版本后,执行以下的操作来恢复原先的配置

NBR1000#dir !通过该命令,查看路由器上flash上的所有文件,其中

! 是需要恢复的配置文件

! 是路由器生程的默认的配置文件

!现在就是要删除默认的配置文件,把备份的配置文件改名为默认配置文件

Directory of flash:/

1 an 820 0x 6f90e2b Jan 16 2000 07:45:40

2 an 2251 0x4626ac75 Jan 16 2000 07:46:11

3 an 68 0xc262d273 May 8 2004 00:00:00 tftp_

5 an 463424 0x b908d33 Jan 21 2000 12:27:24

6 an 3280512 0xf57c2af4 Jan 21 2000 12:57:43

7 an 313 0x732dfe8c Jan 22 2000 06:16:37

8 an 73 0x 7c9de51 Jan 1 1970 08:00:16

NBR1000#

NBR1000#

NBR1000#delete !通过该命令,删除默认的配置文件

NBR1000#

NBR1000#rename !通过该命令, 把备份的配置文件

!改名为默认的配置文件

NBR1000#copy startup-config running-config

! 通过该命令,将配置文件拷贝到当前的运行环境中

通过以上的步骤,我们就把原先在rom版本改名的配置文件恢复回来了,现在您要做的只要把enable密码修改一下,记住修改后的密码,下次进路由器用修改后的密码登陆,就没有问题了.

福 建 星 网 锐 捷 网 络 有 限 公 司

技术支持平台 4008-111-000

福州总部 福州市金山大道618号橘园洲星网锐捷科技园 邮编:350002

福 建 星 网 锐 捷 网 络 有 限 公 司

800技术支持平台 800-858-1360

福州总部 福州市金山大道618号橘园洲星网锐捷科技园 邮编:350002