You are troubleshooting an OSPF issue on a Juniper router. The router has a single interface ge-0/0/1 with IP 10.1.1.1/30 connected to a neighbor with IP 10.1.1.2/30. OSPF is configured area 0. The 'show ospf neighbor' command shows no neighbors. 'show interfaces ge-0/0/1 terse' shows the interface is up. 'show configuration protocols ospf' shows:
area 0.0.0.0 {
interface ge-0/0/1.0 {passive;
} }
What is the problem?
Trap 1: The hello timer is too slow
A hello timer that is too slow still allows hellos to be sent, only at longer intervals than the default 10 seconds on broadcast interfaces. OSPF requires matching hello intervals between neighbors, but even a mismatched or slow timer would still generate packets and could eventually form an adjacency if intervals align. The absence of any neighbor in the OSPF database indicates that no hellos are being transmitted at all, which is characteristic of a passive interface, not a slow timer.
Trap 2: Authentication is missing
OSPF authentication is an optional feature and not enabled by default. If authentication were configured on one side but not the other, it would cause a checksum or key mismatch and prevent adjacency formation. However, the problem statement gives no indication that authentication is configured on the router, and OSPF operates normally without it. The lack of neighbors is better explained by a passive interface, which suppresses hellos regardless of authentication settings.
Trap 3: The interface is administratively down
An administratively down interface would be displayed in a 'down' state in the interface terse output, and OSPF would not run on it because the physical or logical link is disabled. The provided terse output explicitly shows the interface is up, ruling out any administrative shutdown as the cause. Administrative down is also a deliberate action that disables all traffic, whereas a passive interface leaves the interface operational but restricts only OSPF hello processing.
- A
The OSPF interface is configured as passive
Setting an OSPF interface to passive in Junos disables hello packet transmission entirely on that interface. Without hellos, the router cannot discover neighbors or form an adjacency, so the OSPF neighbor state remains Down. The interface stays administratively and protocol up, but OSPF treats it as a stub network, advertising the subnet while never establishing a neighbor relationship. This directly matches a terse output showing the interface up and no OSPF neighbors.
- B
The hello timer is too slow
Why it fails: A hello timer that is too slow still allows hellos to be sent, only at longer intervals than the default 10 seconds on broadcast interfaces. OSPF requires matching hello intervals between neighbors, but even a mismatched or slow timer would still generate packets and could eventually form an adjacency if intervals align. The absence of any neighbor in the OSPF database indicates that no hellos are being transmitted at all, which is characteristic of a passive interface, not a slow timer.
- C
Authentication is missing
Why it fails: OSPF authentication is an optional feature and not enabled by default. If authentication were configured on one side but not the other, it would cause a checksum or key mismatch and prevent adjacency formation. However, the problem statement gives no indication that authentication is configured on the router, and OSPF operates normally without it. The lack of neighbors is better explained by a passive interface, which suppresses hellos regardless of authentication settings.
- D
The interface is administratively down
Why it fails: An administratively down interface would be displayed in a 'down' state in the interface terse output, and OSPF would not run on it because the physical or logical link is disabled. The provided terse output explicitly shows the interface is up, ruling out any administrative shutdown as the cause. Administrative down is also a deliberate action that disables all traffic, whereas a passive interface leaves the interface operational but restricts only OSPF hello processing.