Technical Documentation

neighbor

Syntax

neighbor address {accept-remote-nexthop;advertise-external <conditional>;advertise-inactive;(advertise-peer-as | no-advertise-peer-as);as-override;authentication-algorithm algorithm;authentication-key key;authentication-key-chain key-chain;cluster cluster-identifier;damping;description text-description;export [ policy-names ];family {(inet | inet6 | inet-mvpn | inet6-mpvn | inet-vpn | inet6-vpn | iso-vpn | l2-vpn) {(any | flow | multicast | unicast | signaling) {accepted-prefix-limit {maximum number;teardown <percentage> <idle-timeout (forever | minutes)>;}prefix-limit {maximum number;teardown <percentage> <idle-timeout (forever | minutes)>;}rib-group group-name;}flow {no-validate policy-name;}labeled-unicast {accepted-prefix-limit {maximum number;teardown <percentage> <idle-timeout (forever | minutes)>;}aggregate-label {community community-name:}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;accepted-prefix-limit {maximum number;teardown <percentage> <idle-timeout (forever | minutes)>;}prefix-limit {maximum number;teardown <percentage> <idle-timeout (forever | minutes)>;}}signaling {prefix-limit {maximum number;teardown <percentage> <idle-timeout (forever | minutes)>;}}}graceful-restart {disable;restart-time seconds;stale-routes-time seconds;}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 | minimum-igp <offset> | igp <offset>);mtu-discovery;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 <files number> <size size> <world-readable | no-world-readable>;flag flag <flag-modifier> <disable>;}vpn-apply-export;}

Hierarchy Level

[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]

Release Information

Statement introduced before JUNOS Release 7.4.

Statement introduced in JUNOS Release 9.0 for EX Series switches.

Description

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 routing device. (You can include an allow all statement in place of a neighbor statement.)

Options

address—IPv6 or IPv4 address of a single peer.

The remaining statements are explained separately.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.


Published: 2010-04-14