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

tunnel

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
tunnel {
    allow-fragmentation;
    backup-destination address;
    destination destination-address;
    do-not-fragment;
    key number;
    routing-instance {
        destination routing-instance-name;
    }
    source source-address;
    traffic-class traffic-class-value;
    ttl number;
}

Hierarchy Level

content_copy zoom_out_map
[edit interfaces interface-name unit logical-unit-number],
[edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number]

Description

Configure a tunnel. You can use the tunnel for unicast and multicast traffic or just for multicast traffic. You can also use tunnels for encrypted traffic or virtual private networks (VPNs).

The remaining statements are explained separately. See CLI Explorer.

Options

encapsulation ipip ( source | address) —(Optional) Configure IP-IP encapsulation type. To configure an IP-in-IP tunnel at an FTI, use the encapsulation ipip option at the [edit interfaces interface-name unit logical-unit-number tunnel] hierarchy level. The source and destination options support IPv4 addresses. You can also specify interface name instead of source address.

Required Privilege Level

interface—To view this statement in the configuration.

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

Release Information

Statement introduced before Junos OS Release 7.4.

footer-navigation