protocols bgp <asn> neighbor <id> passive
Directs the router not to initiate connections with this neighbor.
The router both accepts inbound connections and initiates outbound connections.
- asn
- The number for the AS in which this router resides. The number ranges from 1 through 4294967295.
- id
- The IPv4 or IPv6 address of a BGP neighbor.
Configuration mode
protocols {
bgp asn {
neighbor id {
passive
}
}
}
Use the set form of this command to configure the local router such that it accepts inbound connections from the neighbor, but does not initiate outbound connections by sending a BGP OPEN message.
Use the delete form of this command to restore the default behavior.
Use the show form of this command to view BGP neighbor configuration settings.