静态路由冗余和负载均衡
废话不说,直接看配置
网络拓扑结构图
Router A上联出口路由
| 10.5.159.161--------- 10.5.159.162 | |
ROUTER A | | ROUTER B | 10.5.174.1 -- 10.5.174.0/24
| 10.5.159.153--------- 10.5.159.154 | |
Router A的配置结果
#Router A 是 H3c MSR50-60 有NQA,没有detect group nqa entry dgz 2m type icmp-echo destination ip 10.5.159.154 frequency 2000 history-record enable history-record number 3 reaction 1 checked-element probe-fail threshold-type consecutive 3 action-type trigger-only # nqa entry dgz pcm type icmp-echo destination ip 10.5.159.162 frequency 5000 history-record enable history-record number 3 reaction 1 checked-element probe-fail threshold-type consecutive 3 action-type trigger-only nqa agent max-concurrent 20 nqa schedule dgz 2m start-time now lifetime forever nqa schedule dgz pcm start-time now lifetime forever track 1 nqa entry dgz pcm reaction 1 track 2 nqa entry dgz 2m reaction 1 ip route-static 10.5.174.0 255.255.255.0 10.5.159.162 track 1 ip route-static 10.5.174.0 255.255.255.0 10.5.159.154 track 2
Router B 的配置结果
#Router B 是 H3c AR28-11 有detect group,没有NQA detect-group 1 detect-list 1 ip address 10.5.159.161 detect-group 2 detect-list 1 ip address 10.5.159.153 ip route-static 0.0.0.0 0.0.0.0 10.5.159.161 preference 60 detect-group 1 ip route-static 0.0.0.0 0.0.0.0 10.5.159.153 preference 60 detect-group 2
NQA可以理解为增强版的Detect Group。

虽然我自己不学这个,但也受教咯