Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

OSPF and HSRP on Layer 3 Switch

When using Wireshark to sniff traffic on the LAN we see OSPF and HSRP advertisements on port terminating client machines.  Is there a method for preventing the swich from flooding the keepalives/advertisments out all ports?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: OSPF and HSRP on Layer 3 Switch

When using Wireshark to sniff traffic on the LAN we see OSPF and HSRP
advertisements on port terminating client machines.  Is there a method
for preventing the swich from flooding the keepalives/advertisments out
all ports?

Hi,

Genrally  with multicast traffic you can turn on IGMP snooping on your switch and this will stop multicast being sent to all ports.But with HSRP and OSPF IGMP snooping wont work.

Some switches do have comamnds to block multicast on ports,Check out the below link for multicast blocking on individual ports on switch.

http://www.cisco.com/en/US/products/hw/switches/ps5023/products_configuration_guide_chapter09186a008081dfa8.html#wp1087814

Hope to Help !!

Ganesh.H

Remember to rate the helpful post

4 REPLIES
Purple

Re: OSPF and HSRP on Layer 3 Switch

    To eliminate the ospf  advertisements under the ospf process , enter " passive interface default" .  You then "no passive interface " the ports that go to other  ospf  links to other routers or layer 3 switches .  Obviously this should be done under a change window as possible disruption could occur.  I'm not sure there is any way to block the hsrp stuff as it is a multicast  which gets passed to all ports in the same vlan .

Re: OSPF and HSRP on Layer 3 Switch

Hi,

The addresses used by HSRP and OSPF are link local multicast addresses so they are flooded out the link

224.0.0.5 all OSPF speaking router

224.0.0.2 all routers on the segment

These is the normal operation of link local multicast addresses, used to find out any OSPF speaking router on that segment or HSRP router...

Passive interface on a switch with make the interfaces not to participate in OSPF, but if you have another switch connected on the port where you dont have passive interface enabled just to advertise that interface in OSPF, the downstream switch connected with hosts still receive the OSPF hellos

IMO its better not to filter out these messages as they are meant for routers (224.0.0.2/224.0.0.5)

HTH

Hitesh Vinzoda

Pls rate useful posts

Re: OSPF and HSRP on Layer 3 Switch

When using Wireshark to sniff traffic on the LAN we see OSPF and HSRP
advertisements on port terminating client machines.  Is there a method
for preventing the swich from flooding the keepalives/advertisments out
all ports?

Hi,

Genrally  with multicast traffic you can turn on IGMP snooping on your switch and this will stop multicast being sent to all ports.But with HSRP and OSPF IGMP snooping wont work.

Some switches do have comamnds to block multicast on ports,Check out the below link for multicast blocking on individual ports on switch.

http://www.cisco.com/en/US/products/hw/switches/ps5023/products_configuration_guide_chapter09186a008081dfa8.html#wp1087814

Hope to Help !!

Ganesh.H

Remember to rate the helpful post

New Member

Re: OSPF and HSRP on Layer 3 Switch

Thank you all for the help.

1447
Views
10
Helpful
4
Replies
CreatePlease to create content