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

OSPF adjacencies on HSRP routers

switched switch
Level 1
Level 1

All,

I have two routers, both routers running HSRP on around 9 subinterfaces with one router as primary and the other standby.

I have a OSPF adjacencies with the loopback (router-id) on each router, with that of the 9 subinterfaces on the other HSRP router.

Do I need this many adjacencies to be active, I am thinking if OSPF is flapping for any reason it will cause router performance issues.

Should each router only form one adjacencies with teh other HSRP router?

1 Reply 1

acampbell
VIP Alumni
VIP Alumni

Hi,

You really only need the OSPF neighborship accross the subinterfaces that you regard as your layer3 IP routing
interfaces/Vlans.

Lets say you use vlans 21 & 22 for IP routing and these are sub interfaces on fas0/0 off each router
and may be they have a serial routed interface Serial0/0/0

router ospf 1
area 0 authentication message-digest
passive-interface default
no passive-interface FastEthernet0/0.21
no passive-interface FastEthernet0/0.22
no passive-interface Serial0/0/0
... MORE OSPF CONFIG ....
!
!
!
interface FastEthernet0/0.21
ip ospf message-digest-key 1 md5 MY-OSPF-PASSWORD
.... MORE CONFIG ....
!
interface FastEthernet0/0.22
ip ospf message-digest-key 1 md5 MY-OSPF-PASSWORD
.... MORE CONFIG ....
!
interface Serial0/0/0
ip ospf message-digest-key 1 md5 MY-OSPF-PASSWORD
.... MORE CONFIG ....
!

You will now only allow OSPF neiborships to form on your selected interfaces/sub-interfaces

Hope this helps
Regards
Alex

Regards, Alex. Please rate useful posts.
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:

Review Cisco Networking products for a $25 gift card