设备有两条运营商外线,都是固定ip上网(或者拨号上网),内网两个段是同一个公司的两个内网,要求一个网段走一条线路,同时使用且其中一个断掉后能实现相互备份。并且需要探测运营商远端地址
同时需要探测运营商
远端设备,并不是直连接口down
如何配置
不涉及
不涉及
不涉及
[H3C-track-2]display current-configuration
#
version 7.1.064, Release 0427P22
#
sysname H3C
#
track 1 nqa entry admin test reaction 1
#
track 2 nqa entry admin test2 reaction 2
#
system-working-mode standard
xbar load-single
password-recovery enable
lpu-type f-series
#
vlan 1
#
policy-based-route test permit node 10
if-match acl 3998
apply next-hop 15.1.1.5 track 1
apply next-hop 16.1.1.6
#
policy-based-route test permit node 20
if-match acl 3997
apply next-hop 16.1.1.6 track 2
apply next-hop 15.1.1.5
#
nqa entry admin test
type icmp-echo
destination ip 57.1.1.7
frequency 100
next-hop ip 15.1.1.5
reaction 1 checked-element probe-fail threshold-type consecutive 5 action-type trigger-only
#
nqa entry admin test2
type icmp-echo
destination ip 67.1.1.7
frequency 100
next-hop ip 16.1.1.6
reaction 2 checked-element probe-fail threshold-type consecutive 5 action-type trigger-only
#
nqa schedule admin test start-time now lifetime forever
nqa schedule admin test2 start-time now lifetime forever
#
#
interface GigabitEthernet0/0
port link-mode route
combo enable copper
ip address 12.1.1.1 255.255.255.0
ip policy-based-route test
#
interface GigabitEthernet0/1
port link-mode route
combo enable copper
ip address 15.1.1.1 255.255.255.0
nat outbound
#
interface GigabitEthernet0/2
port link-mode route
combo enable copper
ip address 16.1.1.1 255.255.255.0
nat outbound
#
#
ip route-static 23.1.1.0 24 12.1.1.2
ip route-static 24.1.1.0 24 12.1.1.2
#
acl advanced 3997
rule 0 permit icmp source 24.1.1.0 0.0.0.255
#
acl advanced 3998
rule 0 permit icmp source 23.1.1.0 0.0.0.255
#
return
[H3C-track-2]
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作