In ospf, I config the passve-interfce to interface. e.g.
router ospf 1
network 192.168.1.0 0.0.0.255
Does it mean that the interface FE 0/0 MUST be the "stub area"?
does the "passive-interface" appear in stub area?
If config the stub area, the passive-interface should be config aslo.
the purpose of passive-interface is to allow the advertisement of the IP subnet associated to the interface without sending out:
- periodic updates for RIP and IGRP: these older protocol miss the state machine concept so they still accept routing updates heard on a passive interface. The same applies to RIPv2
- stop to send Hello packets out the interface: this applies to OSPF IS-IS and EIGRP: all of these protocols have a neighbor state machine: they cannot accept an update from someone that is not a neighbor so for them the passive interface stops sending and also receiving routing updates.
BGPv4: the passive-interface concept doesn't apply to BGP: for BGP a network is not a trigger for sending or receiving updates, hellos out the interface(s) whose IP addresses match the network command. In BGP a network command makes BGP to advertise the prefix if it is present in the routing table by any routing source (not only connected interfaces but also static routes or other routing protocols).
BGP packets are exchanged only on manually configured TCP sockets that act as communication channels for exchanging reachability information.
ODR is based on CDP version2: if CDP is disabled on the link ODR will not work. But there is no passive-interface concept.
Hope to help