华为交换机忘记console的密码,怎么恢复出厂设置

华为交换机忘记console的密码,怎么恢复出厂设置,第1张

1、首先用console线连接交换机和主机,打开终端,然后重启交换机,然后在终端上会显示很多东西,当出现下面红框内的话是,按CTRL+B;

2、输入BOOTROM的密码[email protected]

盒式交换机的某些款型支持使用快捷键“Ctrl+E”进入BootROM主菜单,请根据设备的界面提示 *** 作。

盒式交换机在V100R006C03之前的版本,BootROM默认密码为huawei;在V100R006C03及其之后的版本,默认密码为[email protected]

框式交换机在V100R006C03之前的版本,BootROM默认密码为9300;在V100R006C03及其之后的版本,默认密码为[email protected]

3、出现下图内容后,选择“7. Clear password for console user”,在底部光标出输入“7”;

4、出现下图内容后,选择“1. Boot with default mode”,在底部光标出输入“1”

5、稍等片刻即可完成,此时交换机是没有密码的,接下来通过命令给交换机增加密码,确保交换机的安全性。

扩展资料:

1、一般情况下由于密码忘记我们会被阻挡在交换机telnet远程管理界面之外。

2、虽然可以尝试console线连接交换机的控制接口,但是很多时候这个密码也被网络管理员进行了设置,不巧的是如果这个密码忘记也会被阻挡在console控制台之外。

3、我们保持终端连接交换机,然后重新启动该设备,在启动阶段看到显示“press ctrl-b to enter boot menu”界面时按Ctrl和B键。这样将进入启动菜单,一般这个密码是不会被设置的,默认是空口令,直接回车即可。如果这个密码也被设置那么我们就只有将设备返厂维修了。

4、当交换机显示出boot menu界面时,我们会看到有9个选项我们要恢复密码的话就选择skip current configuration file(启动加载时跳过当前配置文件)即可。

5、选择skip current configuration file(启动加载时跳过当前配置文件)后我们继续选择reboot来重新启动交换机,不过这次启动和以往不同的是将不加载当前的configuration file配置文件,也就是说里面设置的密码验证都将暂时无效。

6、再次启动交换机自检完毕后就会显示startup configuration is skipped,user interface aux0 is available的信息,这表明当前的配置文件没有加载,用户顺利进入aux0即console控制台管理界面,我们不用输入任何密码就可以近来了。

7、通过user-interface aux 0进入console设置模式,然后通过authentication-mode none将控制台验证密码取消。最后千万不要忘记使用save将修改保存,否则重新启动后又将回到之前的配置文件,同样需要密码验证了。

user privilege  level{0|1|2|3}

0

参观

ping、tracert、telnet、rsh、super、language-mode、display、quit

1

监控

0级命令、msdp-tracert、mtracert、reboot、reset、send、terminal、undo、upgrade、debugging

2

系统

所有配置命令(管理级的命令除外)和0、1级命令

3

管理

所有命令

#不带console用户的设置

user-interface  console  0 

authentication-mode  password

set authentication  password  cipher  123456

user privilege  level  0

idle-timeout  60

exit

super password ciper  123456

user-interface aux 0 

authentication-mode  password

set authentication  password  cipher  123456

user privilege  level  0

idle-timeout  60

exit

super password ciper  123456

super password ciper  123456  #登录super用户,需要在<>用户模式下:<>super

<Huawei>super

Password:

华为华三console设置用户名密码,super密码

user-interface  console  0

idle-timeout  60

authentication-mode aaa

aaa

local-user  admin password  cipher  admin

local-user  admin privilege  level  0

local-user  admin service-type  terminal

super password  cipher  123456

启动时,按Ctrl+B进入BOOTROM目录

二、输入BOOTROM的密码

· 盒式交换机的某些款型支持运用快捷键“Ctrl+E”进入BootROM主菜单,请根据设备的界面提示 *** 作。

· 盒式交换机在V100R006C03之前的版本,BootROM默认密码为huawei在V100R006C03及其之后的版本,默认密码为[email protected]

· 框式交换机在V100R006C03之前的版本,BootROM默认密码为9300在V100R006C03及其之后的版本,默认密码为[email protected]

三、输入7,清除console密码

四、输入1,已默认模式进入系统(重要:此时一定要选择1,而不要选择8,选择8的话,还是需要密码的)

五、输入新密码,进入系统或无密码模式进入,修改新密码

无密码模式进入,修改console密码的方式

system-view

Enter system view, return user view with Ctrl+Z.

[hws2]user

[hws2]user-interface con

[hws2]user-interface console 0

[hws2-ui-console0]authentication-mode pa

[hws2-ui-console0]authentication-mode password

[hws2-ui-console0]set authentication password cipher Huawei@123

[hws2-ui-console0]

六、保存配置(一定要记得保存密码)

save

The current configuration will be written to the device.

Are you sure to continue?[Y/N]y

Jan 1 2008 00:26:03-05:13 hws2 %%01CFM/4/SAVE(l)[27]:The user chose Y when deciding whether to save the configuration to the device.

Now saving the current configuration to the slot 0 .

Info: Save the configuration successfully.


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/tougao/7816156.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-10
下一篇 2023-04-10

发表评论

登录后才能评论

评论列表(0条)

保存