我們在工作中經常遇到HSRP,常見的方法是通過track物理接口實現優先級的調整,達到主備切換的目的。
但卻時常有這類問題出現:一二層沒有問題,三層無法PING通(路由協議或ARP等原因),HSRP這時無法檢測並即時切換,從而造成故障隱患。
使用Object Tracking可以讓HSRP track ip而不僅僅是接口。
相關資料:
1、http://www.cisco.com/en/US/docs/ ... _eot.html#wp1055799
2、https://supportforums.cisco.com/message/555294#555294
In the following example, the tracking process is configured to track the reachability of IP route 10.2.2.0/24:
Router A Configuration
track 100 ip route 10.2.2.0/24 reachability
!
interface Ethernet0/0
ip address 10.1.1.21 255.255.255.0
standby 1 preempt
standby 1 ip 10.1.1.1
standby 1 priority 110
standby 1 track 100 decrement 10
Router B Configuration
track 100 ip route 10.2.2.0/24 reachability
!
interface Ethernet0/0
ip address 10.1.1.22 255.255.255.0
standby 1 preempt
standby 1 ip 10.1.1.1
standby 1 priority 105
standby 1 track 100 decrement 10
使用Object Tracking輔助HSRP監測IP地址,提高數據中心網絡穩定性
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.