- neighbor address {
-
advertise-inactive;
-
authentication-key key;
-
cluster cluster-identifier;
-
damping;
-
description text-description;
-
export [ policy-names ];
-
-
family {
-
- (inet | inet6 | inet-vpn | inet6-vpn | l2-vpn) {
-
- (any | multicast | unicast | signaling) {
-
- prefix-limit {
- maximum number;
- teardown <percentage> <idle-timeout
(forever | minutes)>;
- }
-
rib-group group-name;
- }
-
- flow {
- no-validate policy-name;
- }
-
- labeled-unicast {
-
- explicit-null {
- connected-only;
- }
-
- prefix-limit {
- maximum number;
- teardown <percentage> <idle-timeout
(forever | minutes)>;
- }
- resolve-vpn;
- rib inet.3;
-
rib-group group-name;
- }
- }
-
- route-target {
- advertise-default;
- external-paths number;
-
- prefix-limit {
- maximum number;
- teardown <percentage> <idle-timeout
(forever | minutes)>;
- }
- }
- }
-
hold-time seconds;
-
import [ policy-names ];
-
ipsec-sa ipsec-sa;
-
keep (all | none);
-
local-address address;
-
local-as autonomous-system <private>;
- local-interface interface-name;
-
local-preference preference;
-
log-updown;
-
metric-out metric;
-
multihop <ttl-value>;
-
- multipath {
- multiple-as;
- }
-
no-aggregator-id;
-
no-client-reflect;
-
out-delay seconds;
-
passive;
-
peer-as autonomous-system;
-
preference preference;
- tcp-mss segment-size;
-
-
traceoptions {
- file filename <size size> <files number> <(world-readable
| no-world-readable)>;
- flag flag <flag-modifier> <disable>;
- }
- }
- [edit logical-systems logical-system-name protocols bgp group group-name],
- [edit logical-systems logical-system-name routing-instances routing-instance-name protocols
bgp group group-name],
- [edit protocols bgp group group-name],
- [edit routing-instances routing-instance-name protocols bgp group group-name]
Statement introduced before JUNOS Release 7.4.
Explicitly configure a neighbor (peer). To configure multiple BGP peers, include multiple neighbor statements.
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 neighbor statement.
The neighbor statement is one of the statements you can include in the configuration to define a minimal BGP configuration on the router. (You can include an allow all statement in place of a neighbor statement.)
address—IPv6 or IPv4 address of a single peer.
The remaining statements are explained separately.
See Minimum BGP Configuration and Defining BGP Groups and Peers.
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.