问题描述:
现在配置如下,有端口映射、vlan、原来运营商接入是拨号、现在要换运营商网络,改成静态ip接入。求助一个静态ip接入命令(最好能添加多个运营商公网静态ip)(前提不改原来vlan 及172.16网段,端口映射我可以自己弄)
******************************************************************************
* Copyright (c) 2004-2013 Hangzhou H3C Tech. Co., Ltd. All rights reserved. *
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
******************************************************************************
login: admin
Password:
dis cu
#
version 7.1.042, Release 0007P02
#
sysname router
#
telnet server enable
#
dialer-group 1 rule ip permit
dialer-group 2 rule ip permit
#
system-working-mode
password-recovery enable
#
vlan 1
#
policy-based-route 123 permit node 10
if-match acl 2100
apply output-interface Dialer1
#
policy-based-route 2 permit node 2
if-match acl 2100
apply output-interface Dialer2
#
controller Cellular0/0
#
controller Cellular0/1
#
interface Aux0
#
interface Dialer1
mtu 1492
ppp pap local-user 2800004567password cipher $c$3$V8GVIhxKxnKx3ltCv7jxTfnYyY
eq1MutTpjF
dialer bundle enable
dialer-group 1
dialer timer idle 0
dialer timer autodial 60
ip address ppp-negotiate
tcp mss 1024
nat outbound 2000
nat server protocol tcp global current-interface 33890 inside 172.16.10.254 338
9
nat server protocol tcp global current-interface 40000 inside 172.16.10.253 338
9
nat server protocol tcp global current-interface 80 inside 172.16.10.230 80
nat server protocol tcp global current-interface 82 inside 172.16.10.254 82
nat server protocol tcp global current-interface 5366 inside 172.16.10.230 5366
nat server protocol tcp global current-interface 8088 inside 172.16.10.210 8088
nat server protocol tcp global current-interface 18080 inside 172.16.10.220 180
80
nat server protocol tcp global current-interface 18090 inside 172.16.10.220 180
90
nat server protocol tcp global current-interface 22670 inside 172.16.10.254 226
7
nat server protocol udp global current-interface 83 inside 172.16.10.254 80
#
interface Dialer2
mtu 1492
ppp pap local-user 4800006788password cipher $c$3$MA+297OBDk73rZRSaknULz5rOp
2rukYks/3g
dialer bundle enable
dialer-group 2
dialer timer idle 0
dialer timer autodial 60
ip address ppp-negotiate
tcp mss 1024
nat outbound 2001
nat server protocol tcp global current-interface 82 inside 172.16.10.235 82
#
interface Dialer10
#
interface NULL0
#
interface GigabitEthernet0/0
port link-mode route
combo enable copper
mtu 1492
tcp mss 1024
nat static enable
pppoe-client dial-bundle-number 1
#
interface GigabitEthernet0/1
port link-mode route
combo enable copper
mtu 1492
ip address 172.16.100.1 255.255.255.0
tcp mss 1024
ip policy-based-route 123
#
interface GigabitEthernet0/2
port link-mode route
mtu 1492
tcp mss 1024
pppoe-client dial-bundle-number 2
#
scheduler logfile size 16
#
line class aux
user-role network-admin
#
line class tty
user-role network-operator
#
line class vty
user-role network-operator
#
line aux 0
user-role network-admin
#
line vty 0 63
authentication-mode scheme
user-role network-operator
#
ip route-static 0.0.0.0 0 Dialer2
ip route-static 0.0.0.0 0 Dialer1 preference 100
ip route-static 172.16.0.0 16 172.16.100.2
#
acl number 2000
rule 1 permit source 172.16.10.0 0.0.0.255
#
acl number 2001
rule 10 permit
#
acl number 2100
rule 5 permit source 172.16.10.0 0.0.0.255
#
super password role network-admin hash $h$6$SPR7Wp7ewsOjC3EK$NBdYoKF26kr9I7pE22
RdZc188JmA8rqPFrv/DJuuSQ9SZc0t/SvczDlMP1KPSTEo5GGxOqIwheV6ypsrqKi/Cw==
#
domain system
#
aaa session-limit ftp 16
aaa session-limit telnet 16
aaa session-limit http 16
aaa session-limit ssh 16
aaa session-limit https 16
domain default enable system
#
role name level-0
description Predefined level-0 role
#
role name level-1
description Predefined level-1 role
#
role name level-2
description Predefined level-2 role
#
role name level-3
description Predefined level-3 role
#
role name level-4
description Predefined level-4 role
#
role name level-5
description Predefined level-5 role
#
role name level-6
description Predefined level-6 role
#
role name level-7
description Predefined level-7 role
#
role name level-8
description Predefined level-8 role
#
role name level-9
description Predefined level-9 role
#
role name level-10
description Predefined level-10 role
#
role name level-11
description Predefined level-11 role
#
role name level-12
description Predefined level-12 role
#
role name level-13
description Predefined level-13 role
#
role name level-14
description Predefined level-14 role
rule 1 permit read feature
rule 2 permit write feature
#
user-group system
#
local-user admin class manage
password hash $h$6$dJfNzUL220EE65Xj$3X9OTVkOksA7OLn8haJfpa50z1t0L8/4PrjOIMqfhoo
V+Trm4Q0GrLXG5+FZDOAd8IxelcGXxIty/lvnTlWd3w==
service-type telnet http
authorization-attribute user-profile 32
authorization-attribute user-role network-operator
authorization-attribute user-role level-14
authorization-attribute user-role level-15
#
return
组网及组网描述:
劳驾工程师指导、并回复加上接入运营商静态ip命令(给出命令、谢谢)
暂无评论