H3C交换机实验:Track与NQA联动(双链路)配置举例(不涉及到建立邻居)
H3C交换机实验:Track与NQA联动(双链路)配置举例(不涉及到建立邻居)
sw1:
nqa entry 1 1
type icmp-echo
destination ip 12.12.12.2
frequency 100
next-hop ip 12.12.12.2
reaction 1 checked-element probe-fail threshold-type consecutive 2 action-type trigger-only
#
nqa entry 2 2
type icmp-echo
destination ip 21.21.21.2
frequency 100
next-hop ip 21.21.21.2
reaction 2 checked-element probe-fail threshold-type consecutive 2 action-type trigger-only
track 1 nqa entry 1 1 reaction 1
track 2 nqa entry 2 2 reaction 2
# 启动探测。
[H3C] nqa schedule 1 1 start-time now lifetime forever
ip route-static 0.0.0.0 0 21.21.21.2 track 2 preference 80
ip route-static 0.0.0.0 0 12.12.12.2 track 1 preference 70
sw2:
nqa entry 1 1
type icmp-echo
destination ip 12.12.12.1
frequency 100
next-hop ip 12.12.12.1
reaction 1 checked-element probe-fail threshold-type consecutive 2 action-type trigger-only
#
nqa entry 2 2
type icmp-echo
destination ip 21.21.21.1
frequency 100
next-hop ip 21.21.21.1
reaction 2 checked-element probe-fail threshold-type consecutive 2 action-type trigger-only
track 1 nqa entry 1 1 reaction 1
track 2 nqa entry 2 2 reaction 2
# 启动探测。
[H3C] nqa schedule 1 1 start-time now lifetime forever
ip route-static 0.0.0.0 0 21.21.21.1 track 2 preference 80
ip route-static 0.0.0.0 0 12.12.12.1 track 1 preference 70
测试:测试时,切换线路时,没有丢包
[sw2]interface GigabitEthernet 1/0/1
[sw2-GigabitEthernet1/0/1]shutdown
BFD、NQA、SLA(列表、list、全)bfdlist、nqalist、slalist
http://www.zh-cjh.com/wenzhangguilei/976.html
文章归类、所有文章列表、LISTLIST
http://www.zh-cjh.com/wangzhangonggao/2195.html
2、本资源基本为原创,部分来源其他付费资源平台或互联网收集,如有侵权请联系及时处理。
3、本站大部分文章的截图来源实验测试环境,请不要在生产环境中随意模仿,以免带来灾难性后果。
转载请保留出处: www.zh-cjh.com珠海陈坚浩博客 » H3C交换机实验:Track与NQA联动(双链路)配置举例(不涉及到建立邻居)
作者: cjh
手机扫一扫,手机上查看此文章: |
一切源于价值!
其他 模板文件不存在: ./template/plugins/comment/pc/index.htm