09-13-2013 05:32 AM
Hi all,
I was trying to configure the track interface command within hsrp, and when I apply the command the priority group decrement immediately.
Before of apply the configuration:
RP/0/RSP0/CPU0:PE1-ASR9010-LAB-MACUL#sh hsrp bvi 600
Thu Sep 12 14:04:07.548 UTC
P indicates configured to preempt.
|
Interface Grp Pri P State Active addr Standby addr Group addr
BV600 1 110 P Active local 200.10.10.3 200.10.10.1
Then, I apply track interface:
router hsrp
interface BVI600
address-family ipv4
hsrp 1 version 1
timers 1 3
preempt
priority 110
address 200.10.10.1
track GigabitEthernet0/3/0/26 20
!
And priority decrement:
RP/0/RSP0/CPU0:PE1-ASR9010-LAB-MACUL#sh hsrp bvi 600
Thu Sep 12 14:05:20.302 UTC
P indicates configured to preempt.
|
Interface Grp Pri P State Active addr Standby addr Group addr
BV600 1 90 P Standby 200.10.10.3 local 200.10.10.1
Why priority decrement if the interface is always up?
Regards.
Solved! Go to Solution.
09-18-2013 06:31 AM
What is the configuration on GIg0/3/0/26? Is it definded as l3 or l2 interface? HSRP can't track an L2 interface.
Thanks,
Bryan
09-13-2013 06:32 AM
Is the interface 'GigabitEthernet0/3/0/26' down ?
09-13-2013 07:46 AM
No. That´s why I am asking why the priority decrement if the interface is always UP.
Look:
RP/0/RSP0/CPU0:PE1-ASR9010-LAB-MACUL#sh inter gi 0/3/0/26
Fri Sep 13 10:41:55.907 UTC
GigabitEthernet0/3/0/26 is up, line protocol is up
Without track command:
RP/0/RSP0/CPU0:PE1-ASR9010-LAB-MACUL#sh hsrp bvi 600
Fri Sep 13 10:42:30.411 UTC
P indicates configured to preempt.
|
Interface Grp Pri P State Active addr Standby addr Group addr
BV600 1 110 P Active local 200.10.10.3 200.10.10.1
After I apply track command:
router hsrp
interface BVI600
address-family ipv4
hsrp 1 version 1
timers 1 3
preempt
priority 110
address 200.10.10.1
track GigabitEthernet0/3/0/26 20
RP/0/RSP0/CPU0:PE1-ASR9010-LAB-MACUL#sh inter gi 0/3/0/26
Fri Sep 13 10:44:28.498 UTC
GigabitEthernet0/3/0/26 is up, line protocol is up
RP/0/RSP0/CPU0:PE1-ASR9010-LAB-MACUL#sh hsrp bvi 600
Fri Sep 13 10:44:43.139 UTC
P indicates configured to preempt.
|
Interface Grp Pri P State Active addr Standby addr Group addr
BV600 1 90 P Standby 200.10.10.3 local 200.10.10.1
09-18-2013 03:48 AM
09-18-2013 06:31 AM
What is the configuration on GIg0/3/0/26? Is it definded as l3 or l2 interface? HSRP can't track an L2 interface.
Thanks,
Bryan
09-18-2013 12:33 PM
An option may be to create an object and track the state of that object?
track THISOBJECT type line-protocol state interface GigE0/0/0/10
router hsrp
int bvi 52
address-family ipv4
track object THISOBJECT 20
didnt test it, but it might be a usable workaround available in 4.2.1 onwards.
xander
09-23-2013 09:40 PM
Hi Alexander,
I tried with track object and it works fine.
Thanks!.
Regards.
09-23-2013 09:38 PM
Hi Bryan,
The inteface is L2, that is the problem. Thanks!
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: