上图为拓扑示意图:
配置:
<FW-core>DIS CU
[V200R003C00]
#
sysname FW-core
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone Indian Standard Time minus 05:13:20
clock daylight-saving-time Day Light Saving Time repeating 12:32 9-1 12:32 11-23
00:00 2005 2005
#
portal local-server load portalpage.zip
#
drop illegal-mac alarm
#
vlan batch 100 1000
#
set cpu-usage threshold 80 restore 75
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-user admin service-type http
#
firewall zone Local
priority 15
#
interface Ethernet0/0/0
#
interface Ethernet0/0/1
#
interface Ethernet0/0/2
#
interface Ethernet0/0/3
#
interface Ethernet0/0/4
#
interface Ethernet0/0/5
#
interface Ethernet0/0/6
#
interface Ethernet0/0/7
#
interface GigabitEthernet0/0/0
ip address 10.10.10.10 255.255.255.0
#
interface GigabitEthernet0/0/1
#
interface NULL0
#
ip route-static 192.168.10.0 255.255.255.0 10.10.10.11
ip route-static 192.168.20.0 255.255.255.0 10.10.10.11
ip route-static 192.168.30.0 255.255.255.0 10.10.10.11
ip route-static 192.168.40.0 255.255.255.0 10.10.10.11
#
user-interface con 0
authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
#
return
<FW-core>
<Huawei>DIS CU
[V200R003C00]
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone Indian Standard Time minus 05:13:20
clock daylight-saving-time Day Light Saving Time repeating 12:32 9-1 12:32 11-23
00:00 2005 2005
#
portal local-server load portalpage.zip
#
drop illegal-mac alarm
#
set cpu-usage threshold 80 restore 75
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-user admin service-type http
#
firewall zone Local
priority 15
#
interface Ethernet0/0/0
#
interface Ethernet0/0/1
#
interface Ethernet0/0/2
#
interface Ethernet0/0/3
#
interface Ethernet0/0/4
#
interface Ethernet0/0/5
#
interface Ethernet0/0/6
#
interface Ethernet0/0/7
#
interface GigabitEthernet0/0/0
ip address 10.10.11.10 255.255.255.0
#
interface GigabitEthernet0/0/1
#
interface NULL0
#
ip route-static 192.168.10.0 255.255.255.0 10.10.11.11
ip route-static 192.168.20.0 255.255.255.0 10.10.11.11
ip route-static 192.168.30.0 255.255.255.0 10.10.11.11
ip route-static 192.168.40.0 255.255.255.0 10.10.11.11
#
user-interface con 0
authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
#
return
<Huawei>
本文出自 “山猫” 博客,谢绝转载!