# ikev2 status from CLI

**URL:** <https://forums.digi.com/t/ikev2-status-from-cli/21889>\
**Category:** Digi TransPort WR (Series)\
**Tags:** wr21, ikev2, cli\
**Created:** [October 13, 2020, 6:59am UTC](https://forums.digi.com/t/ikev2-status-from-cli/21889 "2020-10-13T06:59:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jserink](https://avatars.discourse-cdn.com/v4/letter/j/bc79bd/32.png) [@jserink](https://forums.digi.com/u/jserink)\
**Post date:** [October 13, 2020, 6:59am UTC](https://forums.digi.com/t/ikev2-status-from-cli/21889/1 "2020-10-13T06:59:41Z")

</div>

CLI commands:  
I have a Digi that is using IKEV2 and I want to check the IKEV2 SAs, I get this:  
CORS15\>ikestat  
No IKE SAs  
OK  
This works fine:  
CORS15\>sastat  
IPsec SAs (total:1). Eroute 0 -\> 4  
Outbound V1 SAs  
List Empty  
Inbound V1 SAs  
List Empty  
Outbound V2 SAs  
SPI Eroute Peer IP First Rem. IP Last Rem. IP First Loc. IP Last Loc. IP TTL KBytes Left VIP  
857042d8 0 103.205.244.106 1.1.1.10 1.1.1.10 2.2.2.15 2.2.2.15 8022 0 N/A  
Inbound V2 SAs  
SPI Eroute Peer IP First Rem. IP Last Rem. IP First Loc. IP Last Loc. IP TTL KBytes Left VIP  
eceb4f37 0 103.205.244.106 1.1.1.10 1.1.1.10 2.2.2.15 2.2.2.15 8022 0 N/A  
OK

So how do I get the ike2 SAs from the CLI?

Cheers,  
John

---

<div class="post-metadata">

**Author:** ![jserink](https://avatars.discourse-cdn.com/v4/letter/j/bc79bd/32.png) [@jserink](https://forums.digi.com/u/jserink)\
**Post date:** [November 19, 2020, 3:23am UTC](https://forums.digi.com/t/ikev2-status-from-cli/21889/2 "2020-11-19T03:23:16Z")

</div>

Is there a ikev2stat X command in the Digi?  
If not, why not?  
There’s an ikestat command. An sastat command, why not ikev2stat command?

Cheers,  
john
