Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?





Hierarchy Level

Release Information

Statement introduced in Junos OS Release 17.3R1 on the MX Series.


Configure dynamic IPv4-over-IPv6 tunnels and define their attributes to forward IPv4 traffic over an IPv6-only network. IPv4 traffic is tunneled from customer premises equipment to IPv4-over-IPv6 gateways. You must also configure extended-nexthop option at [edit protocols bgp family inet unicast] hierarchy level to allow BGP to route IPv4 address families over an IPv6 session.


greEnable dynamic generic routing encapsulation type tunnel mode for IPv4


  • next-hop-based-tunnel—Enable next hop base dynamic-tunnel for steering IPv4 traffic with IPv6 next hop address.

source-addressSpecify the source address of the tunnel.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

routing—To view this statement in the configuration.

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