配置设备间互联地址(sys进入[h3c]再配置命令)
按一下命令操作并理解
1.配置设备间互联地址 ( SYS 进入[h3c] 再配置命令)
=====SWA==========
SWA
vlan 10
10.1
Vlan-
ip 192.168.10.254 255.255.255.0
/0/3
port vlan 10
=======================================
2.创建vlan网关
=================================
vlan 100
Vlan-
ip 192.168.100.254 255.255.255.0
range 1/0/1 to 1/0/2
port vlan 100
==========结果PC3========
pc 随意配置好相应网段地址,想一下可用地址
ping 192.168.10.1
Ping 192.168.10.1 (192.168.10.1): 56 data bytes, press to break
56 bytes from 192.168.10.1: =0 ttl=255 time=0.836 ms
56 bytes from 192.168.10.1: =1 ttl=255 time=1.238 ms
56 bytes from 192.168.10.1: =2 ttl=255 time=0.677 ms
56 bytes from 192.168.10.1: =3 ttl=255 time=0.819 ms
56 bytes from 192.168.10.1: =4 ttl=255 time=1.038 ms
===============SWB============
SWB
vlan 10
10.2
Vlan-
ip 192.168.10.2 255.255.255.0
/0/3
port vlan 10