Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

dynamic-tunnels

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
dynamic-tunnels tunnel-name {
    bgp-signal; 
    destination-networks prefix;
    gre;
    ipip
    rsvp-te entry-name {
        destination-networks network-prefix;
        label-switched-path-template (Multicast) {
            default-template;
            template-name;
        }
    }
    source-address address;
    spring-te;
    traceoptions;
    tunnel-attributes name {
        dynamic-tunnel-anchor-pfe dynamic-tunnel-anchor-pfe;
        dynamic-tunnel-anti-spoof (off | on);
        dynamic-tunnel-gre-key
        dynamic-tunnel-mtu dynamic-tunnel-mtu;
        dynamic-tunnel-source-prefix dynamic-tunnel-source-prefix;
        dynamic-tunnel-type (BGP-SIGNAL | GRE | UDP | V4oV6);
    }
  v4ov6 ipv6-anycast-source-duplication;
}

Hierarchy Level

content_copy zoom_out_map
[edit logical-systems logical-system-name routing-instances routing-instance-name routing-options],
[edit logical-systems logical-system-name routing-options],
[edit routing-instances routing-instance-name routing-options],
[edit routing-options]

Description

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.

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.

footer-navigation