配置如下:
track 201 list boolean or
object 1
nqa entry 2501 1
type icmp-echo
destination ip 10.1.12.1
frequency 500
probe count 5
probe timeout 1000
reaction 1 checked-element probe-fail threshold-type consecutive 5 action-type trigger-only
source ip 10.1.12.2
#
nqa schedule 2501 1 start-time now lifetime forever
track 1 nqa entry 2501 1 reaction 1
rtm cli-policy undo-ospf-net
event track 201 state negative
action 0 cli system-view
action 1 cli ospf 1
action 2 cli area 0.0.0.0
action 2 cli area undo network 10.1.12.0 0.0.0.255
user-role network-admin
commit
#
rtm cli-policy ospf-net
event track 201 state positive
action 0 cli system-view
action 1 cli ospf 1
action 2 cli area 0.0.0.0
action 2 cli area network 10.1.12.0 0.0.0.255
user-role network-admin
commit
#####
interface g0/1
vrrp vrid 1 track 1 priority reduced 30
计划是通过EAA去获取Track(track下联设备的一个IP,通过nqa去探测是否可达)的结果,
若可达,即track结果是positive,就进行相应端口的ospf network 10.1.12.0 0.0.0.255 操作
若不可达,即track结果是negative,就进行相应端口的ospf undo network 10.1.12.0 0.0.0.255操作
当前测试结果是%Jul 1 11:27:22:686 2025 ar1 RTM/6/RTM_POLICY: CLI policy undo-ospf-net is running failed.
(0)
最佳答案
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论