neighbor
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) {
prefix-limit {
maximumnumber;
teardown<percentage><idle-timeout (forever |time-in-minutes)>;}
rib-grouprouting-table-group-name;
}labeled-unicast{prefix-limit {maximumnumber;
teardown<percentage> <idle-timeout (forever |time-in-minutes)>;
}resolve-vpn;rib-grouprouting-table-group-name;}
}
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;
no-aggregator-id;
no-client-reflect;
out-delayseconds;
passive;
peer-asautonomous-system;
preferencepreference;
traceoptions{
filename<replace> <sizesize> <filesnumber> <no-stamp>
<(world-readable | no-world-readable)>;
flagflag<flag-modifier> <disable>;
}
}Hierarchy Level
[edit protocols bgpgroupgroup-name],
[edit routing-instancesrouting-instance-nameprotocols bgpgroupgroup-name]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 in this chapter.
Usage Guidelines
See Minimum BGP Configuration and Define BGP Groups and Peers.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.