local-address
Syntax
Hierarchy Level
[edit protocols bgp],[edit protocols bgpgroupgroup-name],[edit protocols bgp groupgroup-nameneighboraddress],
[edit routing-instancesrouting-instance-nameprotocols bgp],[edit routing-instancesrouting-instance-nameprotocols bgpgroupgroup-name],[edit routing-instancesrouting-instance-nameprotocols bgp groupgroup-nameneighboraddress]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
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.See Also