Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents

local-ipv4-address

date_range 05-Jul-24

Syntax

content_copy zoom_out_map
local-ipv4-address local ipv4 address;

Hierarchy Level

content_copy zoom_out_map
[edit logical-systems logical-system-name protocols bgp family address-family],
[edit logical-systems logical-system-name protocols bgp group group-name family address-family],
[edit logical-systems logical-system-name protocols bgp group group-name neighbor address family address-family],
[edit protocols bgp family address-family],
[edit protocols bgp group group-name family address-family],
[edit protocols bgp group group-name neighbor address family address-family]

Description

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.

footer-navigation