cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
938
Views
0
Helpful
6
Replies

HSRP tracking on Cat.3750

fdubus
Level 1
Level 1

Hello,

I am trying to create a HSRP route reachability on a Catalyst 3750 version IP Services 12.2(44)SE2.

The route is present in the routing table but the tracking object is down :

Switch#show track 3

Track 3

IP route 192.168.252.49 255.255.255.255 reachability

Reachability is Down (no route)

1 change, last change 00:05:32

First-hop interface is unknown

Switch#show IP route 192.168.252.49 255.255.255.255

Routing entry for 192.168.252.49/32

Known via "ospf 1", distance 110, metric 2, type intra area

Last update from 192.168.252.9 on Port-channel1, 00:20:58 ago

Routing Descriptor Blocks:

* 192.168.252.9, from 192.168.252.49, 00:20:58 ago, via Port-channel1

Route metric is 2, traffic share count is 1

Here is the only command I used (and i used on routers):

track 3 ip route 192.168.252.49 255.255.255.255 reachability

Any ideas ?

Thanks by advance !

6 Replies 6

smothuku
Level 7
Level 7

Hi ,

Can you paste the config.

192.168.252.49 is learning through port channel . Am i right.

Tks,

Satish

Yes i am learning 192.168.252.49 through the Po1.

192.168.252.49 is also the loopback of the ospf adjacent router.

which part of the config do you want me to paste ?

The config relevant to HSRP.

-Ashok.


With best regards...
Ashok

HSRP Config:

interface Vlan4

ip address 172.18.1.2 255.255.0.0

ip pim sparse-dense-mode

standby 4 ip 172.18.1.1

standby 4 timers msec 300 1

standby 4 priority 250

standby 4 preempt delay minimum 60

standby 4 authentication md5 key-string *****

standby 4 track 3 decrement 30

end

Hi ,

Reachability is Down (no route) showing no route means there is no static route on the switch.

Track coomand will be used whenever you have routes configured on the switch or router itself.

Tks,

satish

You are wrong, Satish.

Track IP route feature is not limited to static routes. It just needs reachability.

See the following example...

CE-1#sh track 5

Track 5

IP route 150.1.1.0 255.255.255.0 reachability

Reachability is Up (OSPF)

1 change, last change 00:10:15

First-hop interface is FastEthernet0/0

Tracked by:

HSRP FastEthernet0/1 1

CE-1#

CE-1#sh ip ro 150.1.1.0

Routing entry for 150.1.1.0/24

Known via "ospf 10", distance 110, metric 20, type extern 2, forward metric 1

Last update from 70.1.1.2 on FastEthernet0/0, 00:12:45 ago

Routing Descriptor Blocks:

* 70.1.1.2, from 70.1.1.2, 00:12:45 ago, via FastEthernet0/0

Route metric is 20, traffic share count is 1

CE-1#

Coming back to original problem, it's giving first hop interface is unknown eventhough Port-channel is active. Can you please try the same track command (without applying to the interface) with different IP route with via any other interface than Port channel on the same router. Then, check with "sh track" command. If that tracking works fine, then it should some tuning might need to be done for port channel interface. You can try debugging of tracking events with "debug standby events track detail" command.

Regards...

-Ashok.


With best regards...
Ashok
Getting Started

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: