h3c典型网关配置
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
#
undo voice vlan mac-address 00e0-bb00-0000
#
domain default enable system
#
dns server 221.6.4.66
#
telnet server enable
#
ip ttl-expires enable
ip unreachables enable
#
undo alg dns
#
acl number 2000
rule 0 permit source 192.168.0.0 0.0.255.255
rule 5 permit source 10.1.0.0 0.0.255.255
#
acl number 3001
rule 5 permit tcp source 192.168.0.0 0.0.255.255 destination 10.1.209.8 0 desti
nation-port eq www
#
vlan 1
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
pki domain default
crl check disable
#
user-group system
#
local-user admin
password cipher .]@USE=B,53Q=^Q`MAF4<1!!
authorization-attribute level 3
service-type telnet
local-user szdyzx
password cipher 9IT&@2238=;Q=^Q`MAF4<1!!
authorization-attribute level 3
service-type telnet
#
interface NULL0
#
interface GigabitEthernet0/0
port link-mode route
ip address 192.168.0.1 255.255.255.0
#
interface GigabitEthernet0/1
port link-mode route
description To_1
nat outbound 2000
nat server protocol tcp global 222.92.102.50 www inside 10.1.209.8 www
ip address 172.20.1.210 255.255.255.252
#
interface GigabitEthernet0/2
port link-mode route
description To_2
#
interface GigabitEthernet0/3
port link-mode route
description To_教师
nat outbound 3001
nat server protocol tcp global 222.192.102.150 www inside 10.1.218.8 www
ip address 192.168.20.2 255.255.254.0
#
interface GigabitEthernet0/4
port link-mode route
description To_S7506E-S G4/0/3
#
interface GigabitEthernet0/5
port link-mode route
description To_S7506E-S G4/0/4
#
interface GigabitEthernet1/0
port link-mode route
#
interface GigabitEthernet1/1
port link-mode route
#
interface GigabitEthernet1/2
port link-mode route
#
interface GigabitEthernet1/3
port link-mode route
#
ip route-static 0.0.0.0 0.0.0.0 GigabitEthernet0/1 172.20.1.209
ip route-static 10.1.209.0 255.255.255.0 GigabitEthernet0/3 192.168.20.1
ip route-static 10.1.214.0 255.255.255.128 GigabitEthernet0/3 192.168.20.1
ip route-static 10.1.214.128 255.255.255.128 GigabitEthernet0/3 192.168.20.1
ip route-static 10.1.215.0 255.255.255.192 GigabitEthernet0/3 192.168.20.1
ip route-static 192.168.0.0 255.255.255.0 GigabitEthernet0/3 192.168.20.1
ip route-static 192.168.20.0 255.255.254.0 GigabitEthernet0/3 192.168.20.1
#
snmp-agent
snmp-agent local-engineid 800063A203C4CAD931AE02
snmp-agent community read public
snmp-agent community write private
snmp-agent sys-info version all
#
load xml-configuration
#
load tr069-configuration
#
user-interface con 0
user-interface vty 0 4
authentication-mode scheme
#
return