华为S5700交换机基本操作命令:
1.系统视图模式下清空端口配置:
[Quidway] clear configuration interface GigabitEthernet 0/0/12
2.交换机恢复出厂设置:
用户视图下输入reset saved-configuration
<Quidway>reset saved-configuration
reboot
N
Y
3.save保存交换机配置。
4.配置交换机时区及时间:
<Quidway> clock timezone BJ add 8
<Quidway> clock datetime 09:51:30 2017-12-20
5.设置线路密码及console密码:
线路密码:
[Quidway]user-interface maximum-vty 15
[Quidway]user-interface vty 0 14
[Quidway-ui-vty0-14]user privilege leve 2
[Quidway-ui-vty0-14]authentication-mode aaa
[Quidway-ui-vty0-14]aaa
[Quidway-aaa]local-user admin password cipher admin@123
[Quidway-aaa]local-user admin service-type telnet
console密码:
<Quidway>system-view
[Quidway-ui-console0]authentication-mode password
[Quidway-ui-console0]set authentication password cipher admin@123
6.设置静态路由:
[Quidway]ip route-static 0.0.0.0 0.0.0.0 210.14.139.65