作者:邓聪聪

华为QUIDWAY系列交换机的console重置

这里以华为QUIDWAY S3700密码清除为例;

各位看官请自行注意,这是两个不同版本设备的重置方法。

一:方法1

首先在电脑上新建一个空的文本文档,修改文件名称为a.cfg 重启交换机按CTRL+B进入到bootrom菜单,进入bootrom菜单时需要输入密码:

Press Ctrl+B to enter BOOTROM menu... 2 #出现此提示时按Ctrl+B password: #输入密码  (默认一般都是huawei)

MAIN MENU

1. Boot with default mode

2. Enter serial submenu

3. Enter startup submenu

4. Display flash files

5. Modify BOOTROM password

6. Reboot Enter your choice(1-6): 2 #选择2进入到 serial submenu 菜单

SERIAL SUBMENU

1. Download file to SDRAM through serial interface and boot

2. Download file to Flash through serial interface

3. Modify serial interface boot parameter

4. Return to main menu Enter your choice(1-4): 2 #选择2把电脑上的a.cfg发送到交换机中Please select file. XMODEM

用CRT之类的终端工具在发送文件弹出菜单中的文件名输入a.cfg的路径,协议选择Xmodem,点击发送,把a.cfg上传到交换机

正在传输 a.cfg... download to SDRAM successfully

please input a new filename: a.cfg #输入文件名称a.cfg

Writing Flashdone

File length: 0 bytes

Took time : 0s

SERIAL SUBMENU

1. Download file to SDRAM through serial interface and boot

2. Download file to Flash through serial interface

3. Modify serial interface boot parameter

4. Return to main menu Enter your choice(1-4): 4 #选择4回到MAIN MENU菜单

MAIN MENU

1. Boot with default mode

2. Enter serial submenu

3. Enter startup submenu

4. Display flash files

5. Modify BOOTROM password

6. Reboot Enter your choice(1-6): 3 #选择3进入Startup Configuration Submenu菜单

Startup Configuration Submenu

1. Display startup configuration

2. Modify startup configuration

3. Return to main menu Enter your choice(1-3): 1 #选择1查看交换机当前启动使用的配置文件

Current startup configuration

startup type : Flash

startup file : s2300-v100r002c02spc100.cc

configuration file: vrpcfg.cfg #查看到交换机当前启动使用的配置文件为vrpcfg.cfg

license file :

patch package :

Startup Configuration Submenu

1. Display startup configuration

2. Modify startup configuration

3. Return to main menu Enter your choice(1-3): 2  #选择2修改交换机的启动配置文件选2后回车几次,直到出现current: vrpcfg.cfg时在new后输入新的启动文件名

current: vrpcfg.cfg new : a.cfg  #输入a.cfg,使交换机下次启动使用此文件

Startup Configuration Submenu

1. Display startup configuration

2. Modify startup configuration

3. Return to main menu Enter your choice(1-3): 3  #选择3返回到MAIN MENU菜单

MAIN MENU

1. Boot with default mode

2. Enter serial submenu

3. Enter startup submenu

4. Display flash files

5. Modify BOOTROM password

6. Reboot

Enter your choice(1-6): 6 #选择6重启交换机,即可以空配置文件启动,有的交换机重启的菜单号是7。

Reboot... 交换机启动后通过more vrpcfg.cfg查看交换机的配置内容,复制除console和vty外的配置内容,交换机的配置视图下粘贴把配置还原。

<Quidway>more vrpcfg.cfg //复制除console和vty外的配置内容

<Quidway>system-view //进入到配置视图

[Quidway] //粘贴除console和vty外的配置内容

[Quidway]undo startup saved-configuration //删除交换机启动文件

重新配置交换机console和vty的认证方式和用户名密码,然后保存配置即可。

二:方法2

交换机软件版本为:

Software Version : VRP (R) Software, Version 5.70 (V100R006C05)

<Quidway>reboot

Info: The system is now comparing the configuration, please wait.

System will reboot! Continue?[Y/N]:y

Jan 1 2008 00:09:13+08:00 Quidway %%01CMD/4/REBOOT(l)[1]:The user chose Y when deciding whether to reboot the system. Info: system is rebooting ,please wait... Jan 1 2008 00:09:14+08:00 Quidway %%01SRM/4/MSTRSCURST(l)[2]:Master SCU is reset. Jan 1 2008 00:09:14+08:00 Quidway %%01SRM/4/ResetReason(l)[3]: Board reset by VRP command or net manager . System reboot at 00:09:15 BIOS LOADING ... Copyright (c) 2008-2011 HUAWEI TECH CO., LTD. (Ver349, Mar 15 2013, 11:00:55)

Press Ctrl+B to enter BOOTROM menu ... 2

显示到此处时,按CTRL+B进入BOOTROM

password:  # 输入BOOTROM密码,此处的密码为 Admin@huawei.com 早期版本的为huawei

BOOTROM MENU

1. Boot with default mode

2. Enter serial submenu

3. Enter startup submenu

4. Enter ethernet submenu

5. Enter filesystem submenu

6. Modify BOOTROM password

7. Clear password for console user

8. Reboot

Enter your choice(1-8): 7  #选择7,清除CONSOLE密码

Note: Clear password for console user? Yes or No(Y/N):y

Clear password for console user successfully. Choose "1" to boot, then set a new password. Note: Do not choose "8. Reboot" or power off the device, otherwise this operation will not take effect.

注意看清上面的提示,选择1为缺省启动.

BOOTROM

MENU

1. Boot with default mode

2. Enter serial submenu

3. Enter startup submenu

4. Enter ethernet submenu

5. Enter filesystem submenu

6. Modify BOOTROM password

7. Clear password for console user

8. Reboot

Enter your choice(1-8): 1 #选择1并回车,交换机重新启动

Decompressing Image file ... done There is no record in region Exception.

Initialize FSP Task

PPI DEV SysInit..................OK

Hard system init.................OK

Begin to start the system, please waiting ......

VOS VFS init.....................OK

Startup File Check...............OK

VOS monitor init.................OK

CFM init advance.................OK

PAT init ........................OK

HA S2M init......................OK

VOS VFS init hind ...............OK

VRP_Root begin...

VRP_InitializeTask begin...

Init the Device Link.............OK

CFG_PlaneInit begin..............OK

CFM_Init begin...................OK

CLI_CmdInit begin................OK

VRP_RegestAllLINKCmd begin.......OK

create task begin................

task init begin...

Recover configuration...OK!

Press ENTER to get started.

重启完毕,回车后要求配置登陆密码(密码也有复杂性要求的,如不符合会提示)

Please configure the login password (6-16)

Enter Password:

Confirm Password:

<Quidway>

华为QUIDWAY系列交换机的console重置的更多相关文章

  1. 华为QUIDWAY系列路由器的负载均衡配置

    作者:邓聪聪 华为系列路由器的负载均衡NQA联动侦测配置案例: 需求:该局域网,IP地址(末位奇数)走联通,IP地址(末位偶数)走电信当某个运营商不可达时,自动切换.通过NQA来确定运营商是否可达., ...

  2. 华为S5300系列交换机限制特定IP可以登录Web

    针对Web管理可能有如下需求: 1.限制某个特定IP允许访问Web 2.默认修改80端口访问 那么针对上面的设置可以有效杜绝而已Web密码暴力破解,增强交换机安全等. 实现: 1.限制特定IP登录We ...

  3. 华为S5700系列交换机配置通过Telnet登录设备

    声明:不管什么服务,都需要交换机开启服务,创建对应权限的用户,在通道下允许协议通过,缺一不可,以telnet为例. 组网图形 图1 配置通过Telnet登录设备组网图 组网需求 如图一所示,PC与设备 ...

  4. 华为S5700系列交换机配置文件导出、导入

    一.导出 配置用户名密码,使能ftp ftp server enable aaa local-user putty password cipher putty123 local-user putty ...

  5. 华为QUIDWAY系列路由器的单臂路由配置案例

    作者:邓聪聪 单臂路由 单臂路由(router-on-a-stick)是指在路由器的一个接口上通过配置子接口(或“逻辑接口”,并不存在真正物理接口)的方式,实现原来相互隔离的不同VLAN(虚拟局域网) ...

  6. 华为S5300系列交换机V100R005SPH021升级补丁

    S23_33_53-V100R005SPH021.pat 附件: 链接:https://pan.baidu.com/s/1xaEZa8hn8psHSQXrk2d9yA  密码:9b6o

  7. 华为S5300系列交换机V100R005SPH020升级补丁

    S23_33_53-V100R005SPH020.pat 附件: 链接:https://pan.baidu.com/s/1-qgNEtRsZbNnC4eK4DTctA  密码:wpn3

  8. 华为S5300系列交换机V100R006SPH019升级补丁

    S5300_V100R006SPH019.pat 附件: 链接:https://pan.baidu.com/s/1M1S5amGGViUieSp8lJ9psw  密码:sexx

  9. 华为S5300系列交换机V200R001SPH027升级补丁

    S5300SI-V200R001SPH027.pat 附件: 链接:https://pan.baidu.com/s/1ulE0j5Rp4xMkAaOjNGKLMA  密码:d5ze

随机推荐

  1. Linux下weblogic10.3.6(jar)版本安装详解

    一.安装前的准备 安装weblogic是需要JDK环境的,虽然weblogic有自带的JDK,但是我一般是自己选择JDK进行安装,如果你要自行安装,可以参考我的另一篇博客 https://www.cn ...

  2. ActiveMQ详细入门使用教程

    ActiveMQ介绍 MQ是消息中间件,是一种在分布式系统中应用程序借以传递消息的媒介,常用的有ActiveMQ,RabbitMQ,kafka.ActiveMQ是Apache下的开源项目,完全支持JM ...

  3. Linux记录-sysctl.conf优化方案

    Sysctl是一个允许您改变正在运行中的Linux系统的接口.它包含一些 TCP/IP 堆栈和虚拟内存系统的高级选项, 这可以让有经验的管理员提高引人注目的系统性能.用sysctl可以读取设置超过五百 ...

  4. Linux记录-配置sudoers无密登录和环境变量

    su root vim /etc/sudoers.d/sfapp sfapp ALL=(ALL) ALLsfapp ALL=(ALL) NOPASSWD: ALL Defaults !env_rese ...

  5. angular,vue,react的父子通信

    父子通信 父传子 vue: 父组件:<child :msg="datamsg" ></child> //子组件的msg属性上加数据,datamsg是数据 子 ...

  6. js验证登录注册

    js验证登录注册的优势,在前台直接验证,不需要在后台读取返回数据验证,减轻服务器压力. 登陆验证得必要性,拦截恶意脚本的登录注册攻击.哈哈,当然有些高手是可以直接跳过js验证的. 所以还是后台验证,并 ...

  7. 不存数据库的token验证

    不需要数据库存,纯粹通过计算来判断是否相等 {name:chuck,id:1}|自己加密方式加密后的内容 截取加密内容,反解,判断反解内容与{name:chuck,id:1}是否相同,只会耗费计算资源 ...

  8. ACM-ICPC 2018 焦作赛区网络预赛 A Magic Mirror(签到)

    https://nanti.jisuanke.com/t/31710 题意 若输入的是Jessie或jessie,输出Good guy!,否则输出Dare you say that again? 分析 ...

  9. navicat and connection is being used

    1.在已经保存的连接上上编辑,测试连接成功,但是点击连接就会一直提示 connection is being used 2.需要新建一个连接,才能使用,不能再已保存的上面修改

  10. idea上使用maven模块开发

    使用maven模块开发: 使用Maven构建多模块项目 在平时的Javaweb项目开发中为了便于后期的维护,我们一般会进行分层开发,最常见的就是分为common(域模型层).dao(数据库访问层).s ...