注:转载请注明出处 Blog.csdn.net/kandypig
因H3C版本更新,原有透明模式命令已经更改,所以很多人不太清楚F100-A如何配置透明模式。
最近正好配置了一台F100-A,将配置贴出,仅供参与。
#
sysname F100-A
#
firewall packet-filter enable
firewall packet-filter default permit
#
insulate
#
bridge enable
bridge 1 enable
#
firewall statistic system enable
#
radius scheme system
server-type extended
#
domain system
#
local-user admin
password simple bobkang
level 3
#
interface Aux0
async mode flow
#
interface Ethernet0/0
bridge-set 1
#
interface Ethernet0/1
bridge-set 1
#
interface Ethernet0/2
bridge-set 1
#
interface Ethernet0/3
bridge-set 1
#
interface Ethernet1/0
bridge-set 1
#
interface Ethernet1/1
bridge-set 1
#
interface Ethernet1/2
bridge-set 1
#
interface Bridge-template1
ip address 192.168.0.200 255.255.255.0 //管理IP地址
#
interface NULL0
#
firewall zone local
set priority 100
#
firewall zone trust
add interface Ethernet0/0
add interface Ethernet0/1
add interface Ethernet0/2
add interface Ethernet0/3
add interface Bridge-template1 //这条很重要
set priority 85
#
firewall zone untrust
add interface Ethernet1/0
add interface Ethernet1/1
add interface Ethernet1/2
set priority 5
#
firewall zone DMZ
set priority 50
#
firewall interzone local trust
#
firewall interzone local untrust
#
firewall interzone local DMZ
#
firewall interzone trust untrust
#
firewall interzone trust DMZ
#
firewall interzone DMZ untrust
#
ip route-static 0.0.0.0 0.0.0.0 192.168.0.1 preference 60 //默认路由,没有它,非本网段将不能telnet或者无法web管理
#
user-interface con 0
user-interface aux 0
user-interface vty 0 4
authentication-mode scheme
#
return