<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]sys LWS1
[LWS1]int g1/0/1
[LWS1-GigabitEthernet1/0/1]no sh
[LWS1-GigabitEthernet1/0/1]quit
[LWS1]int g1/0/2
[LWS1-GigabitEthernet1/0/2]no sh
[LWS1-GigabitEthernet1/0/2]quit
S2:
Ctrl+C enter
<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]sys LWS2
[LWS2]int g1/0/1
[LWS2-GigabitEthernet1/0/1]no sh
[LWS2-GigabitEthernet1/0/1]quit
[LWS2]int g1/0/2
[LWS2-GigabitEthernet1/0/2]no sh
[LWS2-GigabitEthernet1/0/2]quit
5、测试
(1)PC ping 路由器地址
(2)Host(真机) ping R 并 telnet
6、时间配置
<LWR>sys
System View: return to User View with Ctrl+Z.
[LWR]clock p
[LWR]clock protocol none
[LWR]quit
<LWR>clock datetime 21:53:50 2019/09/09
7、保存
<LWR>save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait...
Configuration is saved to device successfully.