[Contents] [Prev] [Next] [Index] [Report an Error]


neighbor

Syntax

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) {
            prefix-limit {
                maximum
number;
                teardown <percentage> <idle-timeout (forever | time-in-minutes)>;
            }
            
rib-group routing-table-group-name;
        }
        labeled-unicast {
            prefix-limit {
                maximum number;
                teardown <percentage> <idle-timeout (forever | time-in-minutes)>;
            }
            resolve-vpn;
            rib-group routing-table-group-name;
        }    
    }
    
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;
    
no-aggregator-id;
    
no-client-reflect;
    
out-delay seconds;
    
passive;
    
peer-as autonomous-system;
    
preference preference;
    
traceoptions {
        file
name <replace> <size size> <files number> <no-stamp>
            <(world-readable | no-world-readable)>;
        flag
flag <flag-modifier> <disable>;
    }
}

Hierarchy Level

[edit protocols bgp group group-name],
[edit routing-instances
routing-instance-name protocols bgp group group-name]

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 router. (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 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.


[Contents] [Prev] [Next] [Index] [Report an Error]