HCL 配置之 ping 通及 Telnet
HCL 配置之 ping 通及 Telnet
最后更新于
HCL 配置之 ping 通及 Telnet
最后更新于
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C]sysname LWR[LWR]int g0/0
[LWR-GigabitEthernet0/0]ip add 192.168.11.1 255.255.255.0
[LWR-GigabitEthernet0/0]quit
[LWR]int g0/1
[LWR-GigabitEthernet0/1]ip add 192.168.10.1 255.255.255.0
[LWR-GigabitEthernet0/1]quit
[LWR]dis cur
...
#
interface GigabitEthernet0/0
port link-mode route
combo enable copper
ip address 192.168.11.1 255.255.255.0
#
interface GigabitEthernet0/1
port link-mode route
combo enable copper
ip address 192.168.10.1 255.255.255.0[LWR]telnet server enable
[LWR]user-interface vty 0 4
[LWR-line-vty0-4]authentication-mode none
[LWR-line-vty0-4]user level-5<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<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<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<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.