3lvyhg,S6850 console密码忘记,如何在不丢配置的情况下重新进入设置

 互联网资讯   2023-05-15 23:12   127 人阅读  0 条评论
1684163541,CRM论坛(CRMbbs.com)——一个让用户更懂CRM的垂直性行业内容平台,CRM论坛致力于互联网、客户管理、销售管理、SCRM私域流量内容输出5年。 如果您有好的内容,欢迎向我们投稿,共建CRM多元化生态体系,创建CRM客户管理一体化生态解决方案。内容来源:知了社区

问题描述:

S6850 console密码忘记,如何在不丢配置的情况下重新进入设置

组网及组网描述:


7小时前提问

telnet或者ssh能登吗?telnet和ssh能登的话,进去改,这两个不行的话就只能重启进CTRL b

参考:

一、 组网:

二、 问题描述:

客户S7500E以太网交换机长期未通过console口登录,忘记了设置的console口登录口令,导致无法登录交换机。

三、 过程分析:

在配置了telnet的情况下,我们可以通过telnet方式登录到设备上,修改或者重新设置console口的登录口令。

如果没有配置telnet或者telnet登录之后用户权限不够,则只能通过删除配置文件的方式恢复对设备的控制权。

四、 解决方法:

如果用户设置的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         

9          735       Aug/07/

10         4843      Dec/06/

11         591       Aug/07/

12         2954      Sep/11/

13         7918      Jun/

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-cmw5

The backup application file is:cfa0:/s7500e-cmw5

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口登陆的相关设置。

7小时前回答

暂无

参考:

一、 组网:

二、 问题描述:

客户S7500E以太网交换机长期未通过console口登录,忘记了设置的console口登录口令,导致无法登录交换机。

三、 过程分析:

在配置了telnet的情况下,我们可以通过telnet方式登录到设备上,修改或者重新设置console口的登录口令。

如果没有配置telnet或者telnet登录之后用户权限不够,则只能通过删除配置文件的方式恢复对设备的控制权。

四、 解决方法:

如果用户设置的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         

9          735       Aug/07/

10         4843      Dec/06/

11         591       Aug/07/

12         2954      Sep/11/

13         7918      Jun/

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-cmw5

The backup application file is:cfa0:/s7500e-cmw5

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口登陆的相关设置。

7小时前回答

暂无

3.1 进入bootroom菜单清除Consle密码

通过conlse线和crt软件连接并登陆设备,然后把设备断电重启。控制台上会打印如下信息,当出现“press Ctrl+B”的时候快速按住“Ctrl+B” 进入botroom菜单

System is starting...
Press Ctrl+D to access BASIC-BOOTWARE MENU
Booting Normal Extend BootWare
The Extend BootWare is self-decompressing.......................Done!
BootWare Validating...
Press Ctrl+B to enter extended boot menu... 

BotWare password: Not required. Please press Enter to continue.

Password recovery capability is enabled.

Note: The current operating device is flash

Enter < Storage Device Operation > to select device.

      按住“Ctrl+B”进入如下菜单。选择“<6> Skip Current System Configuration”跳过当前配置启动,不同设备可能不是数字6,

===========================<EXTEND-BOOTWARE MENU>===========================

|<1> Boot System                                                           |

|<2> Enter Serial SubMenu                                                  |

|<3> Enter Ethernet SubMenu                                                |

|<4> File Control                                                          |

|<5> Restore to Factory Default Configuration                              |

|<6> Skip Current System Configuration                                     |

|<7> BootWare Operation Menu                                               |

|<8> Clear Super Password                                                  |

|<9> Storage Device Operation                                              |

|<0> Reboot                                                                |

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

Ctrl+Z: Access EXTEND-ASSISTANT MENU

Ctrl+F: Format File System

Enter your choice(0-9): 6    

Flag Set Success.

然后输入0重启设备

===========================<EXTEND-BOOTWARE MENU>===========================

|<1> Boot System                                                           |

|<2> Enter Serial SubMenu                                                  |

|<3> Enter Ethernet SubMenu                                                |

|<4> File Control                                                          |

|<5> Restore to Factory Default Configuration                              |

|<6> Skip Current System Configuration                                     |

|<7> BootWare Operation Menu                                               |

|<8> Clear Super Password                                                  |

|<9> Storage Device Operation                                              |

|<0> Reboot                                                                |

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

Ctrl+Z: Access EXTEND-ASSISTANT MENU

Ctrl+F: Format File System

Enter your choice(0-9): 0

System is starting...

Press ENTER to get started.

3.2 如果不需要之前的配置信息的话

操作步骤:跳过启动文件后直接保存当前配置,再重启。

<H3C>save

The current configuration will be written to the device. Are you sure? [Y/N]:y

Please input the file name(*.cfg)[flash:/startup.cfg]

(To leave the existing filename unchanged, press the enter key):(输入回车)

flash:/startup.cfg exists, overwrite? [Y/N]:y

Validating file. Please wait...

Configuration is saved to device successfully.

<H3C>reboot

Start to check configuration with next startup configuration file, please wait.........DONE!

Current configuration may be lost after the reboot, save current configuration? [Y/N]:y

This command will reboot the device. Continue? [Y/N]:y

3.3 如果需要之前的配置信息的话

<H3C>

#Apr 26 12:02:07:166

 Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1<hh3cLogIn>: login from Console

%Apr 26 12:02:07:306

<H3C>dir  %查看设备配置文件

Directory of flash:/

 

   1     drw-         -  Apr 26

   2     -rw-      1666  Apr 26

   3     -rw-      1556  Apr 26

   4     -rw-       151  Apr 26

29106 KB total (16876 KB free) 

给设备和电脑配置成同网段IP地址(举例:WAC配置成192.168.100.1,电脑配置成192.168.100.2),在电脑上通过3CD软件搭建tftp服务器。

 

 

<H3C>sys

System View: return to User View with Ctrl+Z.

[H3C]interface Vlan-interface 1

[H3C-Vlan-interface1]ip address 192.168.100.1 24

[H3C-Vlan-interface1]quit

[H3C]ping 192.168.100.2

  PING 192.168.100.2: 56  data bytes, press CTRL_C to break

    Reply from 192.168.100.2: bytes=56 Sequence=1 ttl=128 time=7 ms

    Reply from 192.168.100.2: bytes=56 Sequence=2 ttl=128 time=2 ms

 

<H3C>tftp 192.168.100.2 put startup.cfg
 
  File will be transferred in binary mode
  Sending file to remote TFTP server. Please wait... |
  TFTP:     1666 bytes sent in 0 second(s).
  File uploaded successfully.

 

<H3C>

 

下载成功:

 

可以到本地相关路径(此例子中是E盘)查看到相关文件。

需要恢复之前配置

解决方法:删除密码恢复之前配置文件

使用记事本打开startup.cfg文件

 

删除aux0口下的认证方式和密码并保存文件

 

覆盖当前配置文件

<H3C>tftp 192.168.100.

The file startup.cfg exists. Overwrite it? [Y/N]:y

  Verifying server file...

  Deleting the old file, please wait...

  ...

  File will be transferred in binary mode

  Downloading file from remote TFTP server, please wait....

  TFTP:     1166 bytes received in 0 second(s)

  File downloaded successfully.

 

<H3C>reboot

Start to check configuration with next startup configuration file, please wait.........DONE!

Current configuration may be lost after the reboot, save current configuration? [Y/N]:n 不保存配置

This command will reboot the device. Continue? [Y/N]:y 确定继续重启

7小时前回答

暂无

你正在,S6850 console密码忘记,如何在不丢配置的情况下重新进入设置

版权声明:本文内容源于互联网搬运整理,仅限于小范围内传播学习和文献参考,不代表本站观点,请在下载后24小时内删除,如果有侵权之处请第一时间联系我们删除。敬请谅解! E-mail:c#seox.cn(#修改为@)


CRM论坛:CRM论坛(CRMBBS.COM)始办于2019年,是致力于✅CRM实施方案✅免费CRM软件✅SCRM系统✅客户管理系统的垂直内容社区网站,CRM论坛持续专注于CRM领域,在不断深化理解CRM系统的同时,进一步利用新型互联网技术,为用户实现企业、客户、合作伙伴与产品之间的无缝连接与交互。

评论已关闭!