Boolean Object Tracking

Object Tracking
Object Tracking通过跟踪已定义对象的组合状态来工作,并与以下布尔函数一起使用:
AND – 它要求track列表中定义的所有对象都已UP。
OR——它要求至少有一个实例处于UP状态。

ip sla 1
icmp-echo 192.168.1.1 source-interface Vlan999
timeout 9000 <————- the time configured , in milliseconds, that the router waits for a response
frequency 15 <—————- sends probes every 15 seconds
track 1 ip sla 1 reachability
ip sla 2
icmp-echo 100.100.100.100  source-interface FastEthernet4
timeout 9000           <———–the time configured , in milliseconds, that the router waits for a response
frequency 15       <—————– sends probes every 15 seconds
ip sla schedule 2 life forever start-time now

track 2 ip sla 2 reachability
track 3 list boolean and
object 1           < ——————   track 1
object 2            <—————— track 2
interface Vlan1
ip address 192.168.0.2 255.255.255.0
standby 1 ip 192.168.0.1                   <———-   Virtual HSRP IP Address
standby 1 priority 150                        <———-   Configured priority
standby 1 preempt                             <———–  Preemption required to be enabled
standby 1 track 3 decrement 60      <———–  If the tracking list is down the priority decrements by 60, becomes 90 which is under 100, and the router switches to standby mode
Cisco@Networkstraining# show track 3
Track 3
List boolean and
Boolean AND is Up
1 changes, last change 1d10h
object 1 Up
object 2 Up
Tracked by:
HSRP Vlan1 1

https://www.networkstraining.com/configuring-high-availability-using-hsrp-and-boolean-object-tracking/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

剪刀石头布Cheers

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值