Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?




Hierarchy Level


Specify the local IPv4 address of a device that is also configured with an IPv6 address in a dual-stack environment. This enables BGP to advertise IPv4 unicast reachability with IPv4 next hop to remote IPv4 hosts over an IPv6 BGP session.

BGP advertises IPv4 unicast reachability with IPv4 next hop over an IPv6 BGP session only where IPv4 is configured at both endpoints. You cannot configure this feature for the inet6 unicast, inet6 multicast, or inet6 labeled-unicast address families because BGP already has the capability to advertise these address families over an IPv6 BGP session.

The configured local-ipv4-address is used only when BGP advertises routes with self-next hop. When IBGP advertises routes learned from EBGP peers, or the route reflector advertises BGP routes to its clients, BGP does not change the route next hop and ignores the configured local-ipv4-address and uses the original IPv4 next hop.

Required Privilege Level

routing—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 16.1.