静态路由结合track检测,当链路恢复时,NQA无法检测到链路恢复信息,导致rtm提交的track1_up 那一栏的命令无法生效,导致路由无法切换回来
当我undo shutdown s6520_3的g1/0/2接口时,链路恢复后,track无法探测到信息,同时也无法触发rtm
S6850_1配置:
#
track 1 nqa entry admin test reaction 1
nqa entry admin test
type icmp-echo
destination ip 100.0.0.2
frequency 5000
history-record enable
history-record number 10
next-hop ip 100.0.0.2
probe count 3
probe timeout 1000
reaction 1 checked-element probe-fail threshold-type consecutive 5 action-type trigger-only
source ip 100.0.0.1
#
nqa schedule admin test start-time now lifetime forever
#
ip route-static 2.2.2.2 32 200.0.0.2 preference 80
ip route-static 2.2.2.2 32 100.0.0.2 track 1
#
rtm cli-policy track1_down
event track 1 state negative
action 0 cli system-view
action 1 cli int g1/0/2
action 2 cli shutdown
user-role network-admin
#
rtm cli-policy track1_up
event track 1 to 2 state positive
action 0 cli system-view
action 1 cli int g1/0/2
action 2 cli undo shutdown
user-role network-admin
#
(0)
最佳答案
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明