#
nqa entry 1 1
type icmp-echo
destination ip 1.1.1.1
frequency 3000
out-interface vlan-interface 1000
source interface vlan-interface 1000
reaction 1 checked-element probe-fail threshold-type consecutive action-type trigger-only
#
nqa schedule 1 1 start-time now lifetime forever
#
track 1 nqa entry 1 1 reaction 1
#
track 2 list boolean and
object 1 not
#
ip route-static 1.1.1.1 32 9.9.9.9 track 2
#
---------------------------------------------------------------------------------
组网:
1.1.1.1外联---(vlanif1000)设备(vlanif999)---9.9.9.9(1.1.1.1内联)
---------------------------------------------------------------------------------
需求:设备配置nqa,检测通过外联vlanif1000接口ping测试1.1.1.1
step1、当1.1.1.1可以ping通时,nqa探测成功,track 1为positive,track 2为negative,静态路由绑定track 2因此不生效;
step2、当1.1.1.1无法ping通时,nqa探测失败,track 1为negative,track 2为positive,静态路由绑定track 1因此生效。
step3、当1.1.1.1恢复后,nqa探测成功,重复step1操作
---------------------------------------------------------------------------------
问题:
现在step1、step2均测试成功没有问题,在step3时,上联1.1.1.1恢复时,nqa探测失败,静态路由始终生效
---------------------------------------------------------------------------------
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论