Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

neighbor (Protocols OSPF)

Syntax

neighbor address <eligible>;

Hierarchy Level

[edit logical-systems logical-system-name protocols (ospf | ospf3) area area-id interface interface-name],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols (ospf | ospf3) area area-id interface interface-name],[edit protocols (ospf | ospf3) area area-id interface interface-name],[edit routing-instances routing-instance-name protocols (ospf | ospf3) area area-id interface interface-name]

Release Information

Statement introduced before Junos OS Release 7.4.

Description

For nonbroadcast interfaces only, specify neighboring routers. On a nonbroadcast interface, you must specify neighbors explicitly because OSPF does not send broadcast packets to dynamically discover their neighbors. To specify multiple neighbors, include multiple neighbor statements.

Options

address—IP address of a neighboring router.

eligible—(Optional) Allow the neighbor to become a designated router.

Default: If you omit this option, the neighbor is not considered eligible to become a designated router.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Published: 2013-02-01