NETBASE DAY04(03):华为交换机设置超时闲置时间,密码以及恢复出厂设置

0.1 问题
为交换机lsw1设置终端登录密码Taren1,退出终端重进以验证登录效果
将会话的闲置超时设为2880分钟
恢复出厂设置,重新进入后观察设备名变化
0.2 步骤
步骤一:为交换机lsw1设置终端登录密码Taren1

system-view //进系统视图
[lsw1] user-interface console 0 //进终端配置
[lsw1-ui-console0] set authentication password cipher Taren1
//设置终端登录密码为 Taren1
[lsw1-ui-console0]authentication-mode password //启用密码认证
Please Press ENTER.
Login authentication
Password: //再次进终端时,要求密码验证

步骤二:将会话的闲置超时设为2880分钟

[lsw1-ui-console0] idle-timeout 2880 //将闲置超时设为2880分钟
[lsw1-ui-console0]
步骤三:恢复交换机出厂设置

reset saved-configuration
Warning: The action will delete the saved configuration in the device.
The configuration will be erased to reconfigure. Continue? [Y/N]:Y
//提示是否恢复选Y
reboot
Info: The system is now comparing the configuration, please wait.
Warning: All the configuration

猜你喜欢

转载自blog.csdn.net/weixin_45843450/article/details/104569120