华为QUIDWAY系列交换机的console重置
作者:邓聪聪
华为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重置的更多相关文章
- 华为QUIDWAY系列路由器的负载均衡配置
作者:邓聪聪 华为系列路由器的负载均衡NQA联动侦测配置案例: 需求:该局域网,IP地址(末位奇数)走联通,IP地址(末位偶数)走电信当某个运营商不可达时,自动切换.通过NQA来确定运营商是否可达., ...
- 华为S5300系列交换机限制特定IP可以登录Web
针对Web管理可能有如下需求: 1.限制某个特定IP允许访问Web 2.默认修改80端口访问 那么针对上面的设置可以有效杜绝而已Web密码暴力破解,增强交换机安全等. 实现: 1.限制特定IP登录We ...
- 华为S5700系列交换机配置通过Telnet登录设备
声明:不管什么服务,都需要交换机开启服务,创建对应权限的用户,在通道下允许协议通过,缺一不可,以telnet为例. 组网图形 图1 配置通过Telnet登录设备组网图 组网需求 如图一所示,PC与设备 ...
- 华为S5700系列交换机配置文件导出、导入
一.导出 配置用户名密码,使能ftp ftp server enable aaa local-user putty password cipher putty123 local-user putty ...
- 华为QUIDWAY系列路由器的单臂路由配置案例
作者:邓聪聪 单臂路由 单臂路由(router-on-a-stick)是指在路由器的一个接口上通过配置子接口(或“逻辑接口”,并不存在真正物理接口)的方式,实现原来相互隔离的不同VLAN(虚拟局域网) ...
- 华为S5300系列交换机V100R005SPH021升级补丁
S23_33_53-V100R005SPH021.pat 附件: 链接:https://pan.baidu.com/s/1xaEZa8hn8psHSQXrk2d9yA 密码:9b6o
- 华为S5300系列交换机V100R005SPH020升级补丁
S23_33_53-V100R005SPH020.pat 附件: 链接:https://pan.baidu.com/s/1-qgNEtRsZbNnC4eK4DTctA 密码:wpn3
- 华为S5300系列交换机V100R006SPH019升级补丁
S5300_V100R006SPH019.pat 附件: 链接:https://pan.baidu.com/s/1M1S5amGGViUieSp8lJ9psw 密码:sexx
- 华为S5300系列交换机V200R001SPH027升级补丁
S5300SI-V200R001SPH027.pat 附件: 链接:https://pan.baidu.com/s/1ulE0j5Rp4xMkAaOjNGKLMA 密码:d5ze
随机推荐
- jdk7 并行计算框架Fork/Join
故名思义,拆分fork+合并join.jdk1.7整合Fork/Join,性能上有大大提升. 思想:充分利用多核CPU把计算拆分成多个子任务,并行计算,提高CPU利用率大大减少运算时间.有点像,Map ...
- angular,vue,react的基本语法—双向数据绑定、条件渲染、列表渲染、angular小案例
基本语法: 1.双向数据绑定 vue 指令:v-model="msg" react constructor(){ this.state{ msg:"双向数据绑定" ...
- source命令导入大数据速度慢优化
XX市邮政微商城的项目数据库,300多M,约220万条数据,source命令导入花了20个小时左右,太不可思议. 速度慢原因:220多万条数据,就 insert into 了220多万次,下图: 这是 ...
- Openresty 学习笔记(一)opm 工具的使用
1.自1.11.2.2开始,OpenResty版本已经包含并默认安装opm.所以通常你不需要自己安装opm. 2.我们在这里只需要做一个软连接就可以了 cd /usr/local/openresty/ ...
- spring拦截器中修改响应消息头
问题描述 前后端分离的项目,前端使用Vue,后端使用Spring MVC. 显然,需要解决浏览器跨域访问数据限制的问题,在此使用CROS协议解决. 由于该项目我在中期加入的,主要负责集成shiro框架 ...
- java的几个奇怪语法
=============================Java 双冒号 :: 语法的含义=============================下面的代码中有双冒号,初看上去很奇怪, list. ...
- IScroll5要防止重复加载
增加一个判断条件,ajax未返回前,设置为true,返回前设置为false,只有为false下才能够出发加载数据事件效果好很多.
- 按科室统计 2.181222版本 关联查询join 不对
SQL: select t0.deptName, t0.deptId, t0.startTime, t0.endTime, IFNULL(t0.num,) as num0, IFNULL(t1.num ...
- bzoj 3916 暴力哈希
暴力的哈希,注意: 将一个串当作另一个串的前缀,需要乘上p[len],len=后面串的长度 这是自己的代码,拿数据在本地测A掉了,但是bz上wa了??bz换数据了难道?? #include<cs ...
- ubuntu 18.04//18.10&&windows 7/10双系统系统时间不一致
新版本的Ubuntu使用systemd启动之后,时间也改成了由timedatectl来管理,因此网上的许多方法就不适用了. 经过测试发现下面的方法可以解决双系统时间不一致问题: 1.将硬件时间UTC改 ...