cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
920
Views
0
Helpful
1
Replies

HSRP ip routing tracking

francisco_1
Level 7
Level 7

I have 3 routers- see diagram. R2 is active hsrp with R1. what i am trying to do is track ip routing eth0/2 and eth0/3 on R2. if both interfaces loose EIGRP routes from R3, them decrement hsrp priority to 20. based on the configuration below, it looks like the tracking ip-routing only monitor the line-protocol for the interfaces not the routing reachability. can someone perhaps advise how to go about using hsrp based on ip routing (eigrp) on R2.

track 1 interface Ethernet0/2 ip routing

!

track 2 interface Ethernet0/3 ip routing

!

track 100 list boolean and

object 1

object 2

!

!

!

interface Ethernet0/0

no ip address

shutdown

half-duplex

!

interface Ethernet0/1

ip address 192.168.151.252 255.255.255.0

half-duplex

standby 1 ip 192.168.151.254

standby 1 timers 1 3

standby 1 priority 115

standby 1 preempt delay minimum 60

standby 1 authentication secret

standby 1 name LAB

standby 1 track 100 decrement 20

R2#sh ip route eigrp

D 192.168.254.0/24 [90/409600] via 192.168.3.3, 00:00:15, Ethernet0/3

[90/409600] via 192.168.2.3, 00:00:15, Ethernet0/2

D 192.168.1.0/24 [90/307200] via 192.168.151.253, 00:00:15, Ethernet0/1

[90/307200] via 192.168.3.3, 00:00:15, Ethernet0/3

[90/307200] via 192.168.2.3, 00:00:15, Ethernet0/2

R2#sh standby brief

P indicates configured to preempt.

|

Interface Grp Prio P State Active Standby Virtual IP

Et0/1 1 115 P Active local 192.168.151.253 192.168.151.254

1 Reply 1

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Francisco,

see the following link the ip route option

http://www.cisco.com/en/US/docs/switches/lan/catalyst3750e_3560e/software/release/12.2_35_se2/configuration/guide/swhsrp.html#wp1074918

track object-number ip route ip-address/prefix-length {metric threshold | reachability}

metric threshold I think is AD, reachability if it can be accessed

so if this works define track for some routes of interest that are learned from EIGRP

Hope to help

Giuseppe

Review Cisco Networking products for a $25 gift card