现在有两家运营商移动跟电信 本地路由器接口移动地址是156.251.1.18 远端为156.251.1.17 路由器电信地址156.250.1.18远端为156.250.1.17 现在需要做负载分担链路备份 即两条链路没有问题时 业务走电信 视频会议走移动 当任意一条出现问题的时候 可自动切换到另一条链路 现在做了配置 发现不生效 没成功 不知道问题出在哪里 求大神帮忙
(0)
最佳答案
配置两台静态默认路由,备份链路的优先级调高就好了
(0)
nqa agent enable nqa entry wan1 1 type icmp-echo destination ip 156.251.1.17 next-hop 156.251.1.17 probe count 3 probe timeout 3000 frequency 1000 reaction 1 checked-element probe-fail threshold-type consecutive 6 action-type trigger-only quit nqa entry wan2 1 type icmp-echo destination ip 156.250.1.17 next-hop 156.250.1.17 probe count 3 probe timeout 3000 frequency 1000 reaction 1 checked-element probe-fail threshold-type consecutive 6 action-type trigger-only quit nqa schedule wan1 1 start-time now lifetime forever nqa schedule wan2 1 start-time now lifetime forever track 1 nqa entry wan1 1 reaction 1 track 2 nqa entry wan2 1 reaction 1 配置acl acl number 3444 rule 0 permit ip source 156.252.1.160 0.0.0.31 rule 1000 dney ip acl number 3555 dianxin办公 description dianxin rule 0 permit ip source 156.4.83.0 0.0.0.255 rule 1 permit ip source 156.4.82.0 0.0.0.255 rule 3 permit ip source 156.250.11.0 0.0.0.255 rule 4 permit ip source 156.4.97.0 0.0.0.255 rule 1000 deny ip quit policy-based-route wan permit node 1 if-match acl 3444 apply ip-address next-hop 156.251.1.17 track 1 quit policy-based-route wan permit node 2 if-match acl 3555 apply ip-address next-hop 156.250.1.17 track 2 quit interface GigabitEthernet 6/0********* ip policy-based-route wan quit ip route-static 0.0.0.0 0.0.0.0 156.251.1.17 track 1 preference 60 ip route-static 0.0.0.0 0.0.0.0 156.250.1.17 track 2 preference 100
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
nqa agent enable nqa entry wan1 1 type icmp-echo destination ip 156.251.1.17 next-hop 156.251.1.17 probe count 3 probe timeout 3000 frequency 1000 reaction 1 checked-element probe-fail threshold-type consecutive 6 action-type trigger-only quit nqa entry wan2 1 type icmp-echo destination ip 156.250.1.17 next-hop 156.250.1.17 probe count 3 probe timeout 3000 frequency 1000 reaction 1 checked-element probe-fail threshold-type consecutive 6 action-type trigger-only quit nqa schedule wan1 1 start-time now lifetime forever nqa schedule wan2 1 start-time now lifetime forever track 1 nqa entry wan1 1 reaction 1 track 2 nqa entry wan2 1 reaction 1 配置acl acl number 3444 rule 0 permit ip source 156.252.1.160 0.0.0.31 rule 1000 dney ip acl number 3555 dianxin办公 description dianxin rule 0 permit ip source 156.4.83.0 0.0.0.255 rule 1 permit ip source 156.4.82.0 0.0.0.255 rule 3 permit ip source 156.250.11.0 0.0.0.255 rule 4 permit ip source 156.4.97.0 0.0.0.255 rule 1000 deny ip quit policy-based-route wan permit node 1 if-match acl 3444 apply ip-address next-hop 156.251.1.17 track 1 quit policy-based-route wan permit node 2 if-match acl 3555 apply ip-address next-hop 156.250.1.17 track 2 quit interface GigabitEthernet 6/0********* ip policy-based-route wan quit ip route-static 0.0.0.0 0.0.0.0 156.251.1.17 track 1 preference 60 ip route-static 0.0.0.0 0.0.0.0 156.250.1.17 track 2 preference 100