Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

dynamic-tunnels

Syntax

Hierarchy Level

Description

CAUTION:

Enabling tracing can adversely impact scale and performance and may increase security risk. We strongly recommend using the trace, tracing, or traceoptions commands only under the guidance of a JTAC support engineer. After collecting the debug information, immediately disable tracing to minimize risk and restore normal system performance.

Configure a dynamic tunnel between two PE routers.

Note:

ACX Series routers do not support the gre statement.

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.

Options

bgp-signal

Enable the creation of a tunnel signaled by BGP.

gre

Enable dynamic generic routing encapsulation type tunnel mode for IPv4.

  • Values:

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

ipip

Enable dynamic IP in IP encapsulation type tunnel mode for IPv4

  • Values:

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

source-address

Specify the source address of the tunnel.

tunnel-name

Name of the dynamic tunnel.

srv6 Configure an SRv6 dynamic tunnel using the following statements:

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.

Release Information

Statement introduced before Junos OS Release 7.4.

bgp-signal option introduced in Junos OS Release 17.4R1.

srv6 option introduced in Junos OS Evolved Release 25.2R1.