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: