首页 科技问答 H3C S10504忘记密码

H3C S10504忘记密码

科技问答 269
1675650050,

问题描述:

新购买的H3C S10504,设置了console密码,但是忘记了。而且交换机也没有设置telnet登录,现在进不了交换机,请问有什么方法?交换机已经在正常使用。

(0)

最佳答案

已采纳 JuneQ JuneQ 六段 粉丝:14人 关注:4人

如果用户设置的console登录口令丢失,又不能通过telnet方式修改口令,可以使用以下解决方法:删除启动文件。具体操作步骤如下:

1.   进入BOOTROM菜单

Press Ctrl+B to enter Boot Menu...4

Please input BootRom password:

 

   BOOT MENU

 

1. Download application file to device

2. Select application file to boot

3. Display all files in device

4. Delete file from device

5. Modify BootRom password

0. Reboot

Enter your choice(0-5):

键入Ctrl+B组合键进入BOOTROM菜单。

2、导出设备配置文件到外部TFTP/FTP服务器

BOOT MENU

1. Download application file to device

2. Select application file to boot

3. Display all files in device

4. Delete file from device

5. Modify BootRom password

0. Reboot

 

Enter your choice(0-5):                   //此处输入CTRL+Y键后敲击ENTER

 

Please select application file upload choices:

1. Upload file from Flash via TFTP protocol

2. Upload file from CF card via TFTP protocol

0. Return to boot menu

 

Enter your choice(0-2): 1           //选择1,使用TFTPF方式导出配置文件

 

Load File name           :sda startup.cfg

Switch IP address        :192.168.0.36 172.16.0.1

Server IP address        :192.168.0.30 172.16.0.2

 //根据实际情况输入配置文件名称,设备地址、TFTP服务器地址

Are you sure to upload file to server? Yes or No (Y/N):Y

//选择Y

Load file from flash to sdram...done!

Uploading...done!

在BOOTROM菜单下,按CTRL+Y键后敲击ENTER,按照提示设置TFTP服务器,导出用户配置。

3、删除当前启动配置文件

Please select application file upload choices:

1. Upload file from Flash via TFTP protocol

2. Upload file from CF card via TFTP protocol

0. Return to boot menu

 

Enter your choice(0-2): 0                             //回到Bootrom菜单

 

   BOOT MENU

 

1. Download application file to device

2. Select application file to boot

3. Display all files in device

4. Delete file from device

5. Modify BootRom password

0. Reboot

 

Enter your choice(0-5): 4                       //删除当前启动配置文件

Flash:/

 

Number.    Size(B)   Time                 Name

===============================================================================

1          4588      Nov/05/

2          864024    Jul/19/

3          12610     Aug/13/

4          970       Aug/09/

5          62930     Nov/05/

6          4         Oct/12/

7          33367493  Oct/15/

8          21413     Nov/05/

9          735       Aug/07/

10         4843      Dec/06/

11         591       Aug/07/

12         2954      Sep/11/

13         7918      Jun/20/2000 04:37:39 triple.cfg                   

14         3807      Nov/05/

15         1411      Feb/24/

16         16413     Nov/05/

17         429436    Sep/22/

18         6524      Nov/01/

19         7345      May/15/

Free space: 29672448 bytes

 

The current application file is:cfa0:/s7500e-cmw520-r6708p08.app

The backup application file is:cfa0:/s7500e-cmw520-r6105.app

Please input the file number to delete :8       //启动配置文件对应序号8

The file you selected is flash:/startup.cfg, delete it? Yes or No(Y/N)Y

Deleting.....done!                                            //选择Y                            

在导出用户配置之后,此步骤用以删除启动文件,让设备重新以空配置启动(如果设备配置无需保存,可以直接删除设备启动文件,无需进行第二步的配置备份)。

   4、重启设备

           BOOT MENU

 

1. Download application file to device

2. Select application file to boot

3. Display all files in device

4. Delete file from device

5. Modify BootRom password

0. Reboot

 

Enter your choice(0-5): 0                             //选择0,重启设备

Starting......

RAMLine.....OK

System is booting...............

      设备将以空配置重启,使用console口成功登陆设备后可以设置新的的console密码,如需要刷回原来的配置,切记先删除console口登陆的相关设置。


(0)

暂无评论

回复xxx [x] 0

该问题暂时没有网友解答

,H3C S10504忘记密码