1.主备出口路由配置不同优先级,主链路绑定track 1
ip route-static 0.0.0.0 0 Dialer0 track 1
ip route-static 0.0.0.0 0 192.168.68.1 preference 65
2.NQA配置
nqa entry admin wan1
type icmp-echo
destination ip 8.8.8.8
frequency 3000
history-record enable
history-record number 10
next-hop ip 192.168.2.1
probe count 10
probe timeout 500
reaction 1 checked-element probe-fail threshold-type consecutive 3 action-type trigger-only
#全局启用此nqa
nqa schedule admin wan1 start-time now lifetime forever
3.Track nqa绑定
#全局track nqa和行为
track 1 nqa entry admin wan1 reaction 1
4.开启链路切换时重建NAT表
#全局开启NAT链路切换会话重建功能
nat link-switch recreate-session
发表回复