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

host-vpn

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
host-vpn {
    connections {
        connection-name {
            children {
                child-name {
                    esp-proposal esp-proposal;
                    local-traffic-selector {
                        (ipv4-prefix ipv4-prefix | ipv6-prefix ipv6-prefix);
                        port port;
                        protocol protocol;
                    }
                    mode (transport | tunnel);
                    rekey-time rekey-time;
                    remote-traffic-selector {
                        (ipv4-prefix ipv4-prefix | ipv6-prefix ipv6-prefix);
                        port port;
                        protocol protocol;
                    }
                }
            }
            dpd-delay dpd-delay;
            ike-proposal ike-proposal;
            local {
                id local-id;
            }
            local-address {
                (ipv4 ipv4-address | ipv6 ipv6-address);
            }
            rekey-time rekey-time;
            remote {
                id remote-id;
            }
        }
        remote {
            id remote-id;
        }
        remote-address {
            (ipv4 ipv4-address | ipv6 ipv6-address);
        }
    }
    ike-log {
        filename filename;
        level level;
    }
    ike-secrets {
        ike-secret {
            id id;
            secret (ascii-text ascii-text | hexadecimal hexadecimal);
        }
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit security]

Description

Configure a host-to-host VPN type of IPsec connection.

The remaining statements are explained separately.

Required Privilege Level

security—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 18.3R1 Evolved.

footer-navigation