This section contains information about troubleshooting and monitoring DVMRP/IPSec, GRE/IPSec, and L2TP/IPSec tunnels.
To troubleshoot and monitor DVMRP/IPSec, GRE/IPSec, and L2TP/IPSec tunnels, use the following system event log:
For more information about using event logs, see the JUNOSe System Event Logging Reference Guide.
To display profile and connection information for DVMRP/IPSec, GRE/IPSec, and L2TP/IPSec tunnels, use the following show commands.
show dvmrp tunnel
show gre tunnel
host1#show gre tunnel detail Tunnel operational configuration Tunnel name is 'vr1' Tunnel mtu is '10240' Tunnel source address is '10.0.0.2' Tunnel destination address is '10.0.0.1' Tunnel transport virtual router is vr1 Tunnel checksum option is disabled Tunnel up/down trap is enabled Tunnel server location is 4/0 Tunnel secured by ipsec transport interface 1 Tunnel administrative state is up . . .
show ipsec ike-sa
show ike sa
![]() |
Note: The show ipsec ike-sa command replaces the show ike sa command, which may be removed completely in a future release. |
The following example displays the IKE phase 1 SAs for three remote client PCs that are accessing an E-series router (IP address 21.227.9.8).
The first client PC listed (IP address 21.227.9.10) is not located behind a NAT device, and is therefore not using NAT-T to access the router. This PC appears in the Remote:Port column with its own IP address (21.227.9.10) and UDP port number 500.
The remaining two client PCs are located behind a NAT device that has IP address 21.227.9.11, and are using NAT-T to access the router. These PCs appear in the Remote:Port column with the same IP address (21.227.9.11) but with two different UDP port numbers, 4500 and 14500.
host1# show ipsec ike-sa IKE Phase 1 SA's: Local:Port Remote:Port Time(Sec) State Local Cookie Remote Cookie 21.227.9.8:500 21.227.9.10:500 26133 DONE 0x87a943562124c711 0xafa2cf4a260399a4 21.227.9.8:4500 21.227.9.11:4500 28774 DONE 0x01f9efa234d45ad8 0xada4cb7cafee9243 21.227.9.8:4500 21.227.9.11:14500 28729 DONE 0x0c5ccb6b94b00051 0xe975c0ae3b9ca8bf
show ipsec option
host1:westford#show ipsec option
IPsec options: Dead Peer Detection: disabled NAT Traversal : enabled
show ipsec transport interface
host1:vr11#show ipsec transport interface IPSEC transport interface 5 is Up IPSEC transport interface 6 is Up 2 Ipsec transport interfaces found
host1:vr11#show ipsec transport interface 5 IPSEC transport interface 5 is Up
host1:vr11#show ipsec transport interface detail 5
IPSEC transport interface 5 is Up
Configuration
Virtual router vr00
Application gre
No pfs group
Mtu is 1440
Local address is 10.255.0.61
Remote address is 10.255.0.62
Local identity is subnet 10.255.0.61 255.255.255.255, proto 47, port 0
Remote identity is subnet 10.255.0.62 255.255.255.255, proto 47, port 0
Inbound spi 0x15c30204
Inbound transform transport-esp-3des-sha1
Inbound lifetime 900 seconds 102400 kilobytes
Outbound spi is 0x16a10205
Outbound transform transport-esp-3des-sha1
Outbound lifetime 900 seconds 102400 kilobytes
Statistics
InUserPackets 5
InUserOctets 270
InAccPackets 5
InAccOctets 440
InAuthErrors 0
InReplayErrors 0
InPolicyErrors 0
InOtherRxErrors 0
InDecryptErrors 0
InPadErrors 0
OutUserPackets 5
OutUserOctets 270
OutAccPackets 5
OutAccOctets 440
OutPolicyErrors 0
OutOtherTxErrors 0
show ipsec transport interface summary
host1:vr11#show ipsec transport interface summary
Operational status up down upper-bound
2 0 2
show ipsec transport profile
host1:vr11#show ipsec transport profile IPSEC transport profile goi1 IPSEC transport profile goi2 2 Ipsec transport profiles found
host1:vr11#show ipsec transport profile goi1 IPSEC transport profile goi1 Virtual router vr00 Peer address 10.255.0.62 Application gre,dvmrp Lifetime range in seconds 900 900 Lifetime range in kilobytes 102400 4294967294 TransformSet transport-esp-3des-sha1 Pfs group 0 Local ip address : 10.255.0.61
show l2tp destination profile
host1#show l2tp destination profile westford
L2TP destination profile westford
Configuration
Destination address
Transport ipUdp
Virtual router default
Peer address 172.31.1.99
Statistics
Destination profile current session count is 1
Host profile attributes
Remote host is lac-1
Configuration
Tunnel password is password
Interface profile is tunneled-user
Local host name is lns-1
Ipsec transport is enabled
Disconnect-cause avp is enabled
Tunnels are single-shot
Statistics
Current session count is 1
1 L2TP host profile found