cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
624
Views
1
Helpful
4
Replies

HSRp tracking

valipourmoj
Level 1
Level 1

Hello everyone. 

 

I have an issue with HSRP tracking. IS it supposed to the track of the interface which is not setup for HSRP? I have this network that is attached, but tracking doesn't work. Any suggestion? 

valipourmoj_0-1677630428803.png


interface GigabitEthernet0/0
ip address 192.168.10.1 255.255.255.0
duplex auto
speed auto
shutdown
standby version 2
standby 20 ip 192.168.10.250
standby 20 priority 150
standby 20 preempt
standby 20 track GigabitEthernet0/1
!
interface GigabitEthernet0/1
ip address 192.168.20.2 255.255.255.0
duplex auto
speed auto
standby version 2
standby 30 ip 192.168.20.250
standby 30 priority 150
standby 30 preempt
standby 30 track GigabitEthernet0/0
!

 

 

interface GigabitEthernet0/0

ip address 192.168.10.2 255.255.255.0

duplex auto

speed auto

standby version 2

standby 20 ip 192.168.10.250

standby 20 priority 130

standby 20 preempt

standby 20 track GigabitEthernet0/1

!

interface GigabitEthernet0/1

ip address 192.168.20.2 255.255.255.0

duplex auto

speed auto

standby version 2

standby 30 ip 192.168.20.250

standby 30 priority 130

standby 30 preempt

standby 0 track GigabitEthernet0/0

 

2 Accepted Solutions

Accepted Solutions

Thank you for your response. 

there are 2 HSRP, 20 for left side and 30 for the right side. we have to have HSRP for both side as we have 3 routers in the middle. How can we not have HSRP for one side? 

 

Do I need to create sub interface to tackle this? if I remove one HSRP, let say right side, how should I route the packet in R3? 

 

thanks 

View solution in original post

valipourmoj
Level 1
Level 1

I found the answer. It doesn't matter if both side are using HSRP. the decrement number by default is 10, so the priority number should be not more than 10 so after the decrementing, other router can take the routing.

View solution in original post

4 Replies 4

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Both Interfaces 0/0 and 0/1 are part of HSRP group 30. You need to track an interface that is NOT part of any HSRP.

HTH

 

Thank you for your response. 

there are 2 HSRP, 20 for left side and 30 for the right side. we have to have HSRP for both side as we have 3 routers in the middle. How can we not have HSRP for one side? 

 

Do I need to create sub interface to tackle this? if I remove one HSRP, let say right side, how should I route the packet in R3? 

 

thanks 

valipourmoj
Level 1
Level 1

I found the answer. It doesn't matter if both side are using HSRP. the decrement number by default is 10, so the priority number should be not more than 10 so after the decrementing, other router can take the routing.

Also, keep in mind I don't believe pre-emption is enabled by default. So even if it decrements you still need to enable preemption or the router wont take over.

Review Cisco Networking for a $25 gift card