neighbor passive

This command prevents the router from ever trying to open a BGP connection with the specified peer.

Syntax

neighbor ip-address passive
no neighbor ip-address passive

Parameters

ip-address Specifies the BGP peer as a valid IPv4 address in dotted-quad format or as a valid IPv6 address in colon-separated format .

Defaults

None.

Mode

BGP Router Configuration.

Usage

The neighbor passive command prevents the S- and 7100-Series router from trying to initiate a BGP connection with the specified peer. Instead, the router will wait for the peer to initiate a connection.

This command was introduced to handle a problem in BGP3 and earlier, in which two peers might both attempt to initiate a connection at the same time. This problem has been corrected in the BGP4 protocol, and, thus, this command is not needed with BGP 4 sessions.

Note

Note

If the neighbor passive command is applied to both sides of a peering session, the session will never be established. For this reason, and because it is generally not needed for a BGP 4 session, the use of neighbor passive is discouraged.

Example

In the following example, BGP will never initiate a connection with peer 1.2.3.4:

System(su-config)->router bgp 65151
System(su-config-bgp)->bgp router-id 159.1.1.9
System(su-config-bgp)->neighbor 1.2.3.4 remote-as 5
System(su-config-bgp)->neighbor 1.2.3.4 passive