show security ike stats
Syntax
show security ike stats <brief | detail>
Description
Display information about global IKE (Internet Key Exchange) statistics for the tunnels such as in-progress, established, and expired negotiations using IKEv2 on your SRX5000 line with SPC3 card.
Options
-
Default:
brief
Displays tunnel count statistics and non-zero counters of the global IKE statistics.
detail
Displays all the global IKE and tunnel count statistics.
Required Privilege Level
view
Output Fields
Table 1
lists the output fields of total IKE SA and tunnel count statistics. Table 2 lists the
output fields of IKE_SA_INIT
, IKE_AUTH
, IKE SA
Rekey CREATE_CHILD_SA
, IPsec SA Rekey CREATE_CHILD_SA
exchanges
statistics. Table 3 lists
total IKE message failure statistics for the show security ike stats
command. Output fields are listed in the approximate order in which they appear.
Field Name |
Field Description |
---|---|
|
Number of IKE SAs currently active. |
|
Number of IPsec tunnels currently active. |
|
Shows number of times there is a DPD failover. |
Field Name |
Field Description for Output Fields of Initiator Statistics |
Field Description for Output Fields of Responder Statistics |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Field Name |
Field Description |
---|---|
|
The total number of discarded messages. |
|
The total number of messages with integrity check failure. |
|
The total number of messages with invalid exchange type failure. |
|
The total number of messages failure due to disorder. |
|
The total number of messages with ID error. |
|
The total number of messages with invalid SPI failure. |
|
The total number of messages with invalid length failure. |
Sample Output
show security ike stats brief
user@host> show security ike stats brief Total IKE SA and Tunnel Count Statistics: Number of IKE SAs: 2 Number of IPsec Tunnels: 2 IKE_SA_INIT exchange stats: Initiator stats: Responder stats: Request In : 4 Response Out : 4 IKE_AUTH exchange stats: Initiator stats: Responder stats: Request In : 4 Response Out : 4 IKE SA Rekey CREATE_CHILD_SA exchange stats: Initiator stats: Responder stats: Request Out : 1 Request In : 1 Response In : 1 Response Out : 1 IPsec SA Rekey CREATE_CHILD_SA exchange stats: Initiator stats: Responder stats: Request Out : 1537 Response In : 1537
Sample Output
show security ike stats detail
user@host> show security ike stats detail Total IKE SA and Tunnel Count Statistics: Number of IKE SAs: 2 Number of IPsec Tunnels: 2 IKE_SA_INIT exchange stats: Initiator stats: Responder stats: Request Out : 0 Request In : 4 Response In : 0 Response Out : 4 Invalid KE Payload In : 0 Invalid KE Payload Out : 0 No Proposal Chosen In : 0 No Proposal Chosen Out : 0 Cookie Request In : 0 Cookie Request Out : 0 Cookie Response Out : 0 Cookie Response In : 0 Res Invalid IKE SPI : 0 Res DH Gen Key Fail : 0 Res Verify SA Fail : 0 Res Invalid DH Group Conf: 0 Res IKE SA Fill Fail : 0 Res Get CAs Fail : 0 Res Verify DH Group Fail: 0 Res Get VID Fail : 0 Res DH Compute Key Fail : 0 Res DH Compute Key Fail : 0 IKE_AUTH exchange stats: Initiator stats: Responder stats: Request Out : 0 Request In : 4 Response In : 0 Response Out : 4 No Proposal Chosen In : 0 No Proposal Chosen Out : 0 TS Unacceptable In : 0 TS Unacceptable Out : 0 Authentication Failed In: 0 Authentication Failed Out: 0 IKE SA Rekey CREATE_CHILD_SA exchange stats: Initiator stats: Responder stats: Request Out : 1 Request In : 1 Response In : 1 Response Out : 1 No Proposal Chosen In : 0 No Proposal Chosen Out : 0 Invalid KE In : 0 Invalid KE Out : 0 Res DH Compute Key Fail : 0 Res DH Compute Key Fail: 0 Res Verify SA Fail : 0 Res Fill IKE SA Fail : 0 Res Verify DH Group Fail: 0 IPsec SA Rekey CREATE_CHILD_SA exchange stats: Initiator stats: Responder stats: Request Out : 1537 Request In : 0 Response In : 1537 Response Out : 0 No Proposal Chosen In : 0 No Proposal Chosen Out : 0 Invalid KE In : 0 Invalid KE Out : 0 TS Unacceptable In : 0 TS Unacceptable Out : 0 Res DH Compute Key Fail : 0 Res DH Compute Key Fail: 0 Res Verify SA Fail : 0 Res Verify DH Group Fail: 0 Res Verify TS Fail : 0 Total IKE message failure stats: Discarded : 0 ID error : 0 Integrity fail : 0 Invalid SPI : 0 Invalid exchange type: 0 Invalid length: 0 Disorder : 0
Sample Output
show security ike stats brief
The command displays IKE statistics for the VPN tunnel. Notice that the output displays
the number of times there is a DPD failover. The output field Number of DPD
failovers
is displayed only if there is a failover.
user@host> show security ike stats brief Total IKE SA and Tunnel Count Statistics: Number of IKE SAs: 1 Number of IPsec Tunnels: 1 Number of DPD failovers: 16 IKE_SA_INIT exchange stats: Initiator stats: Responder stats: Request Out : 9 Request In : 169 Response In : 9 No Proposal Chosen Out : 169 IKE_AUTH exchange stats: Initiator stats: Responder stats: Request Out : 9 Response In : 9 IKE SA Rekey CREATE_CHILD_SA exchange stats: Initiator stats: Responder stats: Request Out : 1 Response In : 1 IPsec SA Rekey CREATE_CHILD_SA exchange stats: Initiator stats: Responder stats: Request Out : 5 Request In : 4 Response In : 5 Response Out : 4 Total IKE message failure stats: Discarded : 7 Invalid length: 2
show security ike stats
The command displays IKE statistics for the VPN tunnel. Starting Junos OS 23.4R1, you can
see the count of half open IKE SAs listed in the output field DOWN
.
user@host> show security ike stats Total IKE SA and Tunnel Count Statistics: Total IKE SAs: 1500 UP: 1136 DOWN: 364 Initiator stats: Total IKE SAs: 1000 UP: 718 DOWN: 282 Responder stats: Total IKE SAs: 500 UP: 418 DOWN: 82 Total Tunnels: 10 Active Tunnels (SAs): 5 (5) Inactive Tunnels: 5
Release Information
Command introduced in Junos OS Release 19.4R1.
CLI options brief
and detail
are introduced in Junos OS
Release 20.1R1.
The output field Number of DPD failovers
is introduced in Junos OS Release
23.4R1.