neighbor passive

Syntax

neighbor {<IP-ADDR>|<PEER-GROUP-NAME>} passive

no neighbor {<IP-ADDR>|<PEER-GROUP-NAME>} passive

Description

Configures a specific neighbor, or all neighbors in a peer-group, as passive, which means that they will not initiate the TCP session.

The neighbor connection must be reset using clear ip bgp for this setting to take effect.

The no form of this command enables the neighbor to initiate the TCP session.

Command context

config-bgp

Parameters

<IP-ADDRESS>

Specifies an IP address.

<PEER-GROUP-NAME>

Specifies a peer group.

Authority

Administrators or local user group members with execution rights for this command.

Examples

switch(config-bgp)# neighbor 1.1.1.1 passive
switch(config-bgp)# no neighbor 1.1.1.1 passive
switch(config-bgp)# neighbor pg passive
switch(config-bgp)# no neighbor pg passive