华为路由器单臂路由配置

华为路由器单臂路由配置_第1张图片

路由器AR1配置:

interface GigabitEthernet0/0/1.1
 dot1q termination vid 10       /dot1q封装,对应所属vlan
 ip address 10.1.10.254 255.255.255.0 
 arp broadcast enable    /启用arp广播
#
interface GigabitEthernet0/0/1.2
 dot1q termination vid 20    /dot1q封装,对应所属vlan
 ip address 10.1.20.254 255.255.255.0 
 arp broadcast enable


LW1配置:

interface GigabitEthernet0/0/1
 port link-type access
 port default vlan 10
#
interface GigabitEthernet0/0/2
 port link-type access
 port default vlan 20

interface GigabitEthernet0/0/5
 port link-type trunk
 port trunk allow-pass vlan 10 20

interface GigabitEthernet0/0/10
 port link-type trunk
 port trunk allow-pass vlan 2 to 4094

LW2配置:

interface GigabitEthernet0/0/3
 port link-type access
 port default vlan 10
#
interface GigabitEthernet0/0/4
 port link-type access
 port default vlan 20
#

interface GigabitEthernet0/0/10
 port link-type trunk
 port trunk allow-pass vlan 2 to 4094


你可能感兴趣的:(华为路由器单臂路由配置)