Passive-interface command behavior in RIP, EIGRP & OSPF

Passive-interface command is used in all routing protocols to disable sending updates out from a specific interface. However the command behavior varies from o­ne protocol to another.

In RIP this command will disable sending multicast updates via a specific interface but will allow listening to incoming updates from other RIP speaking neighbors.

This simply means that the router will still be able to receive updates o­n that passive interface and use them in the routing table.

In EIGRP the passive-interface command stops sending outgoing hello packets, hence the router can not form any neighbor relationship via the passive interface. This behavior stops both outgoing and incoming routing updates.

In OSPF the passive-interface has a similar behavior to EIGRP. The command suppresses hello packets and hence neighbor relationships.

I have o­nly o­ne final note here regarding sending unicast updates:

If you used the neighbor command under the RIP process, the router will send unicast updates as well as multicast updates.The passive-interface command must be used disable multicast updates and allowing o­nly unicast.

In EIGRP the neighbor command disables multicast updates o­n an interface by default and allows o­nly unicast updates.

Related posts:

  1. EIGRP timers (hello, hold-down and active)
  2. Automatic summarization in RIP and EIGRP
  3. EIGRP metric manipulation
  4. The ip route-cache command – Bury the hatchet series
  5. How-to: Avoid DNS lookup when mistyping a command


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

7 Responses to “Passive-interface command behavior in RIP, EIGRP & OSPF”

  1. [...] Posted by Peter Kurdziel on June 5, 2009 Passive-interface command behavior in RIP, EIGRP & OSPF [...]

  2. Ripduman singh Says:

    quite simple yet stronger and knowledgable tutorials.thx.

  3. Wael Osama Says:

    @Ripduman
    I am glad we are meeting you expectations :) , your feedback is really appreciated.

  4. Thank you so much for the useful info. Still I would like to know what is the difference between interface shut down and passive behavior in EIGRP & OSPF (My understanding is we can shut down the interface rather it configured as passive. Is any other advantage as being passive interface than it could be shut down). I am very much thankfull for your response.

  5. Jescibz,

    If you shutdown the interface it will not be advertised by any routing protocol, the main reason behind using the passive interface command is to be able to advertise the interface subnet without forming adjacency on that interface.

    If you still need more clarifications feel free to post your thoughts.

    Wael

  6. Hi everybody,
    I have a similar question with Jescibz. I do not understand what is the difference between two interfaces that one of them is “passive interface” on eigrp, and the other one is not enabled for eigrp(do not send any Hello packets but not shutdown also)

    We can do the same thing that “passive interface” command does by not enabling eigrp on this interface. Am I right?

    Thanks…

  7. ilkin,

    passive interface advertise the network defined on this interface without participating in neighbor relationship on the interface; without passive interface the network defined on this interface will not be advertised.

Leave a Reply