ENSP路由器的基本命令操作(第十六课)
1-1 代码重点回顾
1 ipconfig 查看 pc机的IP地址
2 ping 连接的IP地址
3 system-view 进入系统视图
4 [Huawei]interface GigabitEthernet 0/0/1 进入接口视图 过0/0/1
5 quit 返回上一层视图
6 ctrl+Z 快速返回用户视图
7 [sy]sysname tedu-ntd-lswl 进入系统视图改名字
8 shutdown 关闭端口
9 undo shutdown 启用端口
10 display current-configuration 查看当前配置
11 save 保存配置
12 [tedu-ntd-lsw1] user-interface console 0 //进终端配置
13 [tedu-ntd-lsw1-ui-console0] set authentication password cipher Taren1 //设置终端登录密码为 Taren1
14 [tedu-ntd-lsw1-ui-console0] authentication-mode password //启用密码认证
15 [tedu-ntd-lsw1-ui-console0] idle