华为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 
随机推荐
- 谷歌地图,国内使用Google Maps JavaScript API,国外业务
			目前还是得墙 <!DOCTYPE html> <html> <head> <meta name="viewport" content=&q ... 
- 去掉MyEclipse 中烦人的黄线和感叹号!
			Window>>Preferences>>General>>Editors>>Text Editors>>Annotations 选中右边的 ... 
- HIbernate处理数据更新丢失
			使用乐观锁的机制处理: 第一步: 在持久类中添加version属性,并且添加对应的get.set方法; 第二步: 在全局配置文件中配置节点<version name="version& ... 
- SQL Server2012远程访问第二个实列
			现在有一台A电脑和一台B电脑,A是公司的服务器,安装了两个数据库实例(Sql Server 2012 和Sql Server2008 R2),B电脑在家,安装了Sql Server数据库两台电脑不在一 ... 
- 【noip 2014】提高组Day2T3.华容道
			Description 小 B 最近迷上了华容道,可是他总是要花很长的时间才能完成一次.于是,他想到用编程来完成华容道:给定一种局面,华容道是否根本就无法完成,如果能完成,最少需要多少时间. 小 B ... 
- kindeditor编辑器上传图片
			使用的是asp.net MVC 上传图片. 1.下载Kindeditor的对应的包 2.html页面 @{ Layout = null; } <!DOCTYPE html> <htm ... 
- js获取当前时区GMT
			1:js获取当前时区GMT 首先引入插件: <script src="../js/shiqu/jstz-1.0.4.min.js"></script> // ... 
- git 重命名 origin
			git remote rename origin old-origin git remote add origin https://gitlab.com/wuxianqiang/my-project. ... 
- Codeforces712E
			传送门 here 题意: 有n个赌场,第i个赌场的胜率为$ P_i$,在第i个赌场若取胜则到达第$ i+1$个赌场,反之到达第$ i-1$个赌场 定义统治赌场$ L...R$为从赌场$ L$开始,从赌 ... 
- Webstorm快捷操作
			设置和使用技巧:前端工具开发利器webstrom专篇...更新中 选中行上下移:cl+shift+上下箭头 展示文件结构图:view-tool_window-structure.具体的图标含义 生成注 ... 
