Note:
The show ipsec ike-sa command replaces
the show ike sa command, which may be removed
completely in a future release.
Use to display IKE phase 1 SAs running on the router.
Field descriptions
Local:Port—Local IP address and UDP port number
of phase 1 negotiation
Remote:Port—Remote IP address and UDP port number
of phase 1 negotiation
Time(Sec)—Time remaining in phase 1 lifetime, in
seconds
State—Current state of the phase 1 negotiation.
Corresponds to the messaging state in the main mode and aggressive
mode negotiations. Possible states are:
AM_SA_I—Initiator has sent initial aggressive mode
SA payload and key exchange to the responder
AM_SA_R—Responder has sent aggressive mode SA payload
and key exchange to the initiator
AM_FINAL_I—Initiator has finished aggressive mode
negotiation
AM_DONE_R—Responder has finished aggressive mode
negotiation
MM_SA_I—Initiator has sent initial main mode SA
payload to the responder
MM_SA_R—Responder has sent a response to the initial
main mode SA
MM_KE_I—Initiator has sent initial main mode key
exchange to the responder
MM_KE_R—Responder has sent a response to the key
exchange
MM_FINAL_I—Initiator has sent the final packet in
the main mode negotiation
MM_FINAL_R—Responder has finished main mode negotiation
MM_DONE_I—Initiator has finished main mode negotiation
DONE—Phase 1 SA negotiation is complete, as evidenced
by receipt of some phase 2 messages
Local Cookie—Unique identifier (SPI) for the local
phase 1 IKE SA
Remote Cookie—Unique identifier (SPI) for the remote
phase 1 IKE SA
Use to display the status, enabled or disabled, of IPSec
options configured on the current virtual router. Information is displayed
for the following options:
Dead peer detection (DPD)
Network Address Translation Traversal (NAT-T). For information
about configuring and monitoring NAT-T on L2TP/IPSec tunnels, see Securing L2TP and IP Tunnels with IPSec .
Transmission of invalid cookie notification in ISAKMP
messages to peers
Tunnel transport virtual router—Name of transport
virtual router over which tunnel runs
Tunnel transform set—Tunnel transform set in use
on this tunnel
Tunnel local identity—IP address of local endpoint
identity that ISAKMP uses
Tunnel peer identity—IP address of peer endpoint
identity that ISAKMP uses
Tunnel outbound spi/SA—SPI and SA in use on traffic
sent to the tunnel (manual tunnels only)
Tunnel inbound spi/SA—SPI and SA in use on traffic
received from the tunnel (manual tunnels only)
Tunnel lifetime seconds—Configured time-based lifetime
in seconds
Tunnel lifetime kilobytes—Configured traffic-based
lifetime in kilobytes
Tunnel pfs—PFS group in use on the tunnel: 0 (PFS
is not in use), 1 (768-bit group), 2 (1024-bit group), 5 (1536-bit
group)
Tunnel administrative state—Up, Down
Tunnel Operational Attributes—Displays statistics
related to the tunnel lifetime
inbound/outboundSpi/SA—SPI in use on traffic received
from or sent to the tunnel
inbound/outboundSa—SA in use on traffic received
from or sent to the tunnel
inbound/outbound lifetime allowed—Negotiated time-based
lifetime in seconds
inbound/outbound lifetime remaining—Number of seconds
remaining before time-based lifetime expires
inbound/outbound traffic allowed—Negotiated traffic-based
lifetime in kilobytes
inbound/outbound traffic remaining—Number of additional
kilobytes that tunnel can send or receive before traffic-based lifetime
expires
Tunnel Statistics—Displays statistics on traffic
received on and sent from this tunnel
InUserPackets—Number of user packets received
InUserOctets—Number of octets received from user
packets
InAccPackets—Number of encapsulated packets received
InAccOctets—Number of octets received in encapsulated
packets
InAuthErrors—Number of authentication errors received
InReplayErrors—Number of replay errors in received
traffic
InPolicyErrors—Number of policy errors in received
traffic
InOtherRxErrors—Number of packets received that
have errors other than those listed above
InDecryptErrors—Number of decryption errors in received
traffic
InPadErrors—Number of packets received that had
invalid values after the packet was decrypted
OutUserPackets—Number of user packets sent
OutUserOctets—Number of octets sent in user packets
OutAccPackets—Number of encapsulated packets sent
OutAccOctets—Number of octets sent in encapsulated
packets
OutPolicyErrors—Number of packets arriving at tunnel
for encapsulation that do not meet specified tunnel identifier (selector)
OutOtherTxErrors—Number of outbound packets that
have errors other than those listed above
Example
hostl#show ipsec tunnel detail
IPSEC tunnel r200000 is Up
Tunnel configuration:
Tunnel type is signaled
Tunnel mtu is 1440
Tunnel local endpoint is 195.0.0.200
Tunnel remote endpoint is 195.0.0.100
Tunnel source is 195.0.0.200
Tunnel destination is 195.0.0.100
Tunnel backup destination is 0.0.0.0
Tunnel transport virtual router is r
Tunnel transform set is perf
Tunnel local identity is ipAddress: 4.0.0.100
Tunnel peer identity is ipAddress: 3.0.0.100
Tunnel lifetime seconds is 7200
Tunnel lifetime kilobytes is 1024000
Tunnel pfs is group 5
Tunnel administrative state is Up
Use to display a summary of all tunnels configured on
the router.
Field descriptions
Total number of ipsec interface—Number of tunnels
configured on the router
Administrative status—Number of tunnels with an
administrative status of enabled and disabled
Operational status—Number of tunnels with an operational
status of up, down, lower layer down, not present
Example
host1#show ipsec tunnel summary
Total number of ipsec interface is 40
Administrative status enabled disabled
40 0
Operational status up down lower-down not-present
40 0 0 0
Use to display the status of tunnels configured on a virtual
router.
To display only tunnels that are in a specific state,
use the state keyword.
To display tunnels that are using a particular IP address,
use the ip keyword.
Field descriptions
For a description of fields, see the show
ipsec tunnel detail command.
Example
host1#show ipsec tunnel virtual-router default ip 10.255.1.13
IPSEC tunnel s0l1e3d0 is up
IPSEC tunnel s0l1e3d1 is up
IPSEC tunnel s0l2e3d0 is up
IPSEC tunnel s0l2e3d1 is up
IPSEC tunnel s0l3e3d0 is up
IPSEC tunnel s0l4e3d0 is up
IPSEC tunnel s0l4e3d1 is up
IPSEC tunnel s0l5e3d0 is up
Use to display the IPSec license key configured on the
router and the number of tunnels allowed on the router.
Example
host1#show license ipsec-tunnels
ipsec-tunnels license is 'g1k23b23eb2j' which allows 5000 tunnels with 1 IPsec card and 7500 tunnels with 2 or more IPsec cards.