1、ENSP下载
https://blog.csdn.net/fanjufei123456/article/details/104956425
2、建立简单的拓扑结构图
3、PC配置
4、基础命令操作
(1)用户视图系统视图
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]
(2)修改设备的名字
[Huawei]sysname Fanjufei
[Fanjufei]
(3)系统视图接口视图
[Fanjufei]interface e0/0/1
[Fanjufei-Ethernet0/0/1]
(4)接口视图系统视图
[Fanjufei]interface e0/0/1
[Fanjufei-Ethernet0/0/1]quit
[Fanjufei]
(5)系统视图协议视图
[Fanjufei]ospf 100
[Fanjufei-ospf-100]
(6)Crtl+Z操作回到用户视图
[Fanjufei-ospf-100]
<Fanjufei>
5、实验操作
(1)设置系统时钟
- 设置时区及其偏移量:clock timezone BEIJING add 08:00:00
- 设置时间及其日期:clock datetime 09:59:00 2020-05-20
<Fanjufei>clock timezone BEIJING add 08:00:00
<Fanjufei>clock datetime 09:59:00 2020-05-20
<Fanjufei>display clock
2020-05-20 09:59:17+08:00
Wednesday
Time Zone(BEIJING) : UTC+08:00
<Fanjufei>
(2)配置console接口登录密码—Ctrl+Z—quit(输入密码时候不显示)
[Fanjufei]user-interface console 0
[Fanjufei-ui-console0]authentication-mode password
[Fanjufei-ui-console0]set authentication password cipher 123456
[Fanjufei-ui-console0]user privilege level 15
[Fanjufei-ui-console0]
<Fanjufei>quit User interface con0 is available
Please Press ENTER.
Login authentication
Password:
<Fanjufei>
(3)配置标题消息
<Fanjufei>sy
Enter system view, return user view with Ctrl+Z.
[Fanjufei]header login information "welcome to access huawei!"
[Fanjufei]header shell information "Do not reboot the device!"
<Fanjufei>quit User interface con0 is available
Please Press ENTER.
welcome to access huawei!
Login authentication
Password:
Do not reboot the device!
(4)保存
<Fanjufei>save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y
Info: Please input the file name ( *.cfg, *.zip ) [vrpcfg.zip]:
May 20 2020 11:04:36+08:00 Fanjufei %%01CFM/4/SAVE(l)[0]:The user chose Y when d
eciding whether to save the configuration to the device.
<Fanjufei>
(5)重启设备
6、实现PC间的通信
抓包工具Wireshark: