neighbor (Protocols BGP)
Syntax
Hierarchy Level
Release Information
Statement introduced before Junos OS Release 7.4.
Description
Explicitly configure a neighbor (peer). To configure multiple BGP peers, include multiple neighbor statements.
By default, the peer’s options are identical to those of the group. You can override these options by including peer-specific option statements within the neighbor statement.
The neighbor statement is one of the statements you can include in the configuration to define a minimal BGP configuration on the routing device. (You can include an allow all statement in place of a neighbor statement.)
On MX Series routers configured with enhanced subscriber management, you can use this statement to statically provision a subscriber’s client IP address as the BGP neighbor IP address. This is supported for only LNS subscribers. With enhanced subscriber management, you must also configure the routing-services statement at the [edit dynamic-profiles profile-name interfaces interface-name unit logical-unit-number] hierarchy level.
Options
address—IPv6 or IPv4 address of a single peer.
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.