Syntax
neighboraddress{advertise-inactive;authentication-keykey;clustercluster-identifier;damping;descriptiontext-description;export[policy-names];family{ (inet | inet6 | inet-vpn | inet6-vpn | l2-vpn) { (any | multicast | unicast |signaling) { prefix-limit { maximumnumber;teardown<percentage><idle-timeout (forever |time-in-minutes)>;}rib-grouprouting-table-group-name; }flow {no-validatepolicy-name;}labeled-unicast{ explicit-null { connected-only; }prefix-limit {maximumnumber;teardown<percentage> <idle-timeout (forever |time-in-minutes)>;}resolve-vpn; rib inet.3;rib-grouprouting-table-group-name;} } route-target { advertise-default; external-pathsnumber; prefix-limit { maximumnumber;teardown<percentage><idle-timeout (forever |time-in-minutes)>;} } }hold-timeseconds;import[policy-names];ipsec-saipsec-sa;keep(all | none);local-addressaddress;local-asautonomous-system<private>; local-interfaceinterface-name;local-preferencepreference;log-updown;metric-outmetric;multihop<ttl-value>; multipath {multiple-as;}no-aggregator-id;no-client-reflect;out-delayseconds;passive;peer-asautonomous-system;preferencepreference;tcp-msssegment-size;traceoptions{ filename<replace> <sizesize> <filesnumber> <no-stamp> <(world-readable | no-world-readable)>; flagflag<flag-modifier> <disable>; } }Hierarchy Level
[edit logical-routerslogical-router-nameprotocols bgpgroupgroup-name],[edit logical-routerslogical-router-namerouting-instancesrouting-instance-nameprotocols bgpgroupgroup-name],[edit protocols bgpgroupgroup-name], [edit routing-instancesrouting-instance-nameprotocols bgpgroupgroup-name]Release Information
Statement introduced before JUNOS Release 7.4.Description
Explicitly configure a neighbor (peer). To configure multiple BGP peers, include multiple
neighborstatements.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
neighborstatement.The
neighborstatement is one of the statements you can include in the configuration to define a minimal BGP configuration on the router. (You can include anallow allstatement in place of aneighborstatement.)Options
address—IPv6 or IPv4 address of a single peer.The remaining statements are explained separately.
Usage Guidelines
See Minimum BGP Configuration and Defining BGP Groups and Peers.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.