拓扑图如下
配置如下:
#
sysname Huawei
#
undo info-center enable
#
vlan batch 10 20
#
interface Vlanif1
#
interface Vlanif10
ip address 10.0.1.1 255.255.255.0
arp-proxy enable #开启arp代理
#
interface Vlanif20
ip address 10.0.2.1 255.255.255.0
arp-proxy enable #开启arp代理
#
interface MEth0/0/1
#
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 NULL0
#
user-interface con 0
user-interface vty 0 4
#
return
本文出自 “笑尔编个核\壳?” 博客,请务必保留此出处http://webjin.blog.51cto.com/722625/1605363
原文地址:http://webjin.blog.51cto.com/722625/1605363