• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

H3C S5024P密码忘记

2018-12-31提问
  • 1关注
  • 1收藏,4079浏览
lxys 一段
粉丝:0人 关注:0人

问题描述:


密码忘记了  麻烦大神给破解下


最佳答案

粉丝:108人 关注:1人

看截图应该是进入命令行了,可能是之前设置了进入系统视图的密码。这个无法根据mac地址计算出来。可以尝试display cu查看配置信息。或者参考一楼的建议,重启,ctrl+b进入bootware菜单,跳过配置文件启动。参考如下:

SMB V5平台的交换机,console密码忘记,且不能恢复出厂设置的处理方法。

1、交换机断电重启

System is starting...     

Press Ctrl+D to access BASIC-BOOTWARE MENU

Booting Normal Extend BootWare

The Extend BootWare is self-decompressing.......................Done!

 

****************************************************************************

*                                                                         *

*                 H3C S3110-26TP BootWare, Version 1.10                   *

*                                                                         *

****************************************************************************

Copyright (c) 2004-2014 Hangzhou H3C Technologies Co., Ltd.

Compiled Date       : Jun  5 2014 11:34:07

CPU Type            : MIPS4kec

CPU L1 Cache        : 16KB

CPU Clock Speed     : 500MHz

Memory Type         : DDR3 SDRAM

Memory Size         : 128MB

Memory Speed        : 300MHz

BootWare Size       : 3MB

Flash Size          : 32MB

BootWare Validating...

Press Ctrl+B to enter extended boot menu...

2、根据提示按Ctrl+B

BootWare 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.

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

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

3、根据提示输入6,启动时跳过当前配置启动

Enter your choice(0-9): 6

Flag Set Success.

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

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

4、根据提示输入0,重启设备

Enter your choice(0-9): 0

System is starting...

Press Ctrl+D to access BASIC-BOOTWARE MENU

Booting Normal Extend BootWare

The Extend BootWare is self-decompressing.......................Done!

****************************************************************************

*                                                                         *

*                 H3C S3110-26TP BootWare, Version 1.10                    *

*                                                                         *

****************************************************************************

Copyright (c) 2004-2014 Hangzhou H3C Technologies Co., Ltd.

Compiled Date       : Jun  5 2014 11:34:07

CPU Type            : MIPS4kec

CPU L1 Cache        : 16KB

CPU Clock Speed     : 500MHz

Memory Type         : DDR3 SDRAM

Memory Size         : 128MB

Memory Speed        : 300MHz

BootWare Size       : 3MB

Flash Size          : 32MB

BootWare Validating...

Press Ctrl+B to enter extended boot menu...

Starting to get the main application

file--flash:/s3110_26tp-cmw520-r1105.bin!...................................

.............................................................

The main application file is self-decompressing.............................

....................................................Done!

System application is starting...

Configuration file is skipped.

User interface aux0 is available.

Press ENTER to get started.

5、重启完成敲回车,已经可以登陆交换机

#Apr 26 12:01:48:608 2000 H3C SHELL/4/LOGIN:

 Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1: login from Console

%Apr 26 12:01:48:747 2000 H3C SHELL/5/SHELL_LOGIN: Console logged in from aux0.

6、通过dir查看交换机的配置文件名称,此处文件名为startup.cfg

dir

Directory of flash:/

   0     -rw-      8485  May 07 2000 04:18:19   config.cwmp

   1     drw-         -  Apr 26 2000 12:00:20   logfile

   2     -rw-      2074  May 07 2000 04:18:43   startup.cfg

   3     -rw-  12636160  Apr 26 2000 13:09:03   s3110_26tp-cmw520-r1105.bin

   4     -rw-       151  May 07 2000 04:18:30   system.xml

   5     -rw-      2045  May 07 2000 04:18:35   _startup_bak.cfg

   6     -rw-       325  Apr 26 2000 19:40:48   22.pub

   7     -rw-       324  Apr 26 2000 12:19:59   ssh-x.pub

   8     -rw-      2422  Apr 26 2000 12:20:43   https-server.p12

   9     drw-         -  Apr 26 2000 16:38:58   mk

   10    -rw-       338  Apr 26 2000 19:50:42   identity.pub

   11    -rw-       132  Apr 26 2000 12:34:02   patchstate

   12    -rw-      4096  Apr 26 2000 16:27:49   x

29106 KB total (15943 KB free)

7、通过more查看文件的配置,若CONSOLE口配置的是明文,则直接重启设备通过看到的密码登陆。此处显示为密文:password cipher $c$3$H0SRQBiups2lGlycaTSiW4uZgZCEJKJQ,继续按下一步操作

more startup.cfg

#

 version 5.20.99, Release 1105

#

 sysname H3C

#

 domain default enable system

#

 ipv6

#

 telnet server enable

#

 password-recovery enable

#

acl number 3000

 rule 5 deny ip source 192.168.1.0 0.0.0.255 destination 192.168.2.0 0.0.0.255

#

vlan 1

#

vlan 2

#

domain system

 access-limit disable

 state active  

 idle-cut disable

 self-service-url disable

#

user-group system

 group-attribute allow-guest

#

local-user admin

 password cipher $c$3$H0SRQBiups2lGlycaTSiW4uZgZCEJKJQ

 authorization-attribute level 3

 service-type telnet terminal

 service-type web

#

interface NULL0

#

interface Vlan-interface1

 ip address 192.168.1.234 255.255.255.0

#

interface Ethernet1/0/1

#              

interface Ethernet1/0/2

#

interface Ethernet1/0/3

#

interface Ethernet1/0/4

#

interface Ethernet1/0/5

#

interface Ethernet1/0/6

#

interface Ethernet1/0/7

#

interface Ethernet1/0/8

#

interface Ethernet1/0/9

#              

interface Ethernet1/0/10

#

interface Ethernet1/0/11

#

interface Ethernet1/0/12

#

interface Ethernet1/0/13

#

interface Ethernet1/0/14

#

interface Ethernet1/0/15

#

interface Ethernet1/0/16

#

interface Ethernet1/0/17

#

interface Ethernet1/0/18

#

interface Ethernet1/0/19

#

interface Ethernet1/0/20

#

interface Ethernet1/0/21

#

interface Ethernet1/0/22

#

interface Ethernet1/0/23

#

interface Ethernet1/0/24

#

interface GigabitEthernet1/0/25

#

interface GigabitEthernet1/0/26

#

 load xml-configuration

#

 load tr069-configuration

#

user-interface aux 0

 authentication-mode scheme

user-interface vty 0 4

 authentication-mode scheme

user-interface vty 5 15

#

return

8、电脑上启动TFTP服务器

9、给交换机配置一个IP地址,此处配置为192.168.1.2

sys

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

[H3C]int vlan 1

[H3C-Vlan-interface1]ip add 192.168.1.2 24

[H3C-Vlan-interface1]quit

[H3C]quit

10、通过TFTP命令把配置文件输出到电脑上

tftp 192.168.1.251 put startup.cfg

  File will be transferred in binary mode

  Sending file to remote TFTP server. Please wait... \

  TFTP:     2074 bytes sent in 0 second(s).

  File uploaded successfully.          //提示输出成功

11、把刚刚输出到电脑上的配置文件startup.cfg用记事本打开

12、把密码改掉(此处改为:明文的admin),并保存

13、把刚才修改后的文件通过TFTP在上传到电脑上,根据提示输入y,把原来的文件覆盖掉

tftp 192.168.1.251 get startup.cfg

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:     2042 bytes received in 0 second(s)

  File downloaded successfully.      //提示上传成功

14、再重启路由器,不保存配置

reboot

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

 This command will reboot the device. Current configuration will be lost, save current configuration? [Y/N]:n     //注意这里是输入n

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

#Apr 26 12:07:45:150 2000 H3C DEVM/1/REBOOT:

 Reboot device by command.

%Apr 26 12:07:45:236 2000 H3C DEVM/5/SYSTEM_REBOOT: System is rebooting now.

 Now rebooting, please wait...

System is starting...

Press Ctrl+D to access BASIC-BOOTWARE MENU

Booting Normal Extend BootWare

The Extend BootWare is self-decompressing.......................Done!

 

****************************************************************************

*                                                                         *

*                 H3C S3110-26TP BootWare, Version 1.10                    *

*                                                                         *

****************************************************************************

Copyright (c) 2004-2014 Hangzhou H3C Technologies Co., Ltd.

 

Compiled Date       : Jun  5 2014 11:34:07

CPU Type            : MIPS4kec

CPU L1 Cache        : 16KB

CPU Clock Speed     : 500MHz

Memory Type         : DDR3 SDRAM

Memory Size         : 128MB

Memory Speed        : 300MHz

BootWare Size       : 3MB

Flash Size          : 32MB

BootWare Validating...

Press Ctrl+B to enter extended boot menu...

Starting to get the main application

file--flash:/s3110_26tp-cmw520-r1105.bin!...................................

.............................................................

The main application file is self-decompressing.............................

....................................................Done!

System application is starting...

User interface aux0 is available.

Press ENTER to get started.

15、根据提示敲回车登陆,输入用户admin

Login authentication

Username:admin

Password:

#Apr 26 12:01:29:470 2000 H3C SHELL/4/LOGIN:

 Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1:admin login from Console

%Apr 26 12:01:29:616 2000 H3C SHELL/5/SHELL_LOGIN: admin logged in from aux0.


1 个回答
粉丝:16人 关注:1人

默认console无密码,尝试admin,不行就console登录按ctrl+B进入bootware菜单,按6提示skip跳过配置启动,进入后配置一个已知用户

Booting ... Booting ...image 0 ************************************************************ * * * H3C S5024P BOOTROM, Version 100 * * * ************************************************************ Copyright (c) 2004-2006 Hangzhou H3C Technologies Co., Ltd. All rights Reserved. CPU Type : 8051 CPU Clock Speed : 17MHz Memory Size : 128KB Software Version : S5024P-R0105 The switch MAC is: 000f-e23c-7836 ********************************************************************* * Copyright (c) 2004-2006 Hangzhou H3C Technologies Co., Ltd. * * All rights Reserved. * * Without the owner's prior written consent, * * no decompiling or reverse-engineering shall be allowed. * ********************************************************************* User interface Aux0/0 is available Please press ENTER. <zz5024>

lxys 发表时间:2018-12-31 更多>>

老款机器没有ctrl b按键

lxys 发表时间:2018-12-31

那将设备重启信息记录贴出来看下

刀锋之影 发表时间:2018-12-31

Booting ... Booting ...image 0 ************************************************************ * * * H3C S5024P BOOTROM, Version 100 * * * ************************************************************ Copyright (c) 2004-2006 Hangzhou H3C Technologies Co., Ltd. All rights Reserved. CPU Type : 8051 CPU Clock Speed : 17MHz Memory Size : 128KB Software Version : S5024P-R0105 The switch MAC is: 000f-e23c-7836 ********************************************************************* * Copyright (c) 2004-2006 Hangzhou H3C Technologies Co., Ltd. * * All rights Reserved. * * Without the owner's prior written consent, * * no decompiling or reverse-engineering shall be allowed. * ********************************************************************* User interface Aux0/0 is available Please press ENTER. <zz5024>

lxys 发表时间:2018-12-31

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明