当前位置:网站首页 > 网络设备调试 正文 网络设备调试

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

frank 2025-09-01 22:32:31 网络设备调试 1 ℃ 0 评论

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 will be saved to the configuration file for the n
ext startup:, Continue?[Y/N]:N //提示是否保存选N
Info: If want to r

版权说明:如非注明,本站文章均为 扬州驻场服务-网络设备调试-监控维修-南京泽同信息科技有限公司 原创,转载请注明出处和附带本文链接

请在这里放置你的在线分享代码
«    2025年9月    »
1234567
891011121314
15161718192021
22232425262728
2930
搜索
最新留言
    文章归档
    网站收藏
    友情链接