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


local-address

Syntax

local-address address;

Hierarchy Level

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

Description

Address of the local end of a BGP session. This address is used to accept incoming connections to the peer and to establish connections to the remote peer. When none of the operational interfaces are configured with the specified local address, a session with a BGP peer is placed in the idle state.

Default

If you do not configure a local address, BGP uses the router's source address selection rules to set the local address. For more information, see the JUNOS Internet Software Configuration Guide: Network Interfaces and Class of Service.

Options

address—IPv6 or IPv4 address of the local end of the connection.

Usage Guidelines

See Assign a BGP Identifier.

Required Privilege Level

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

See Also

router-id


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