单臂路由基本配置(vlan三层互通)
2026-11-04 09:07:33
RAIZ

#
interface GigabitEthernet0/0/0.10
dot1q termination vid 10
ip address 192.168.1.254 255.255.255.0
arp broadcast enable
#
interface GigabitEthernet0/0/0.20
dot1q termination vid 20
ip address 192.168.2.254 255.255.255.0
arp broadcast enable
#
SW1:
#
vlan batch 10 20
#
interface Ethernet0/0/1
port link-type access
port default vlan 10
#
interface Ethernet0/0/2
port link-type access
port default vlan 20
#
interface Ethernet0/0/3
port link-type trunk
port trunk allow-pass vlan 10 20
#
注:转载文章来自于网络,版权归原作者或企业所有,侵删!