Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

show security ipsec next-hop-tunnels

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show security ipsec next-hop-tunnels {
    family (inet | inet6);
    index;
    interface-name;
}

Description

Display security information about the secure tunnel interface.

Options

family

Display IPSec next-hop-tunnel entries by family.

index

Index of security association.

  • Range:

    • 1 through 4294967295

inet

Displays IPv4 protocol parameters.

inet6

Displays IPv6 protocol parameters.

interface-name

Name of the secure tunnel logical interface.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show security ipsec next-hop-tunnels command. Output fields are listed in the approximate order in which they appear.

Table 1: show security ipsec next-hop-tunnels Output Fields

Field Name

Field Description

Next-hop gateway

IP address of the next gateway.

Interface

Name of the secure tunnel logical interface.

IPsec VPN name

Name of the IPsec VPN tunnel.

Flag

  • Static—IP address manually configured.

  • Auto—IP address obtained from the remote peer automatically.

Sample Output

show security ipsec next-hop-tunnels family inet

content_copy zoom_out_map
user@host> show security ipsec next-hop-tunnels inet
Next-hop gateway     interface   IPsec VPN name                    Flag
192.168.1.2          st0.0       autokey                           Static
192.168.1.3          st0.0       pbd-4-6                           Auto

show security ipsec next-hop-tunnels family inet6

content_copy zoom_out_map
user@host> show security ipsec next-hop-tunnels family inet6           
Next-hop gateway                interface   IPSec VPN name            Flag
2001:db8::2                     st0.1       IPSEC_VPNA_1              Auto
2001:db8::3                     st0.1       IPSEC_VPNA_1              Auto
2001:fe80::5668:ad10:fcd8:59db  st0.1       IPSEC_VPNA_1              Auto
2001:fe80::5668:ad10:fcd8:5aa5  st0.1       IPSEC_VPNA_1              Auto

Release Information

Command introduced in Junos OS Release 8.5.

The family inet6 option is introduced in Junos OS Release 18.1R1.

external-footer-nav