It's actually incredibly simple and is just logging into a ASAv in our testbed, and issuing two commands ('show resource usage' and 'show vpn-sessiondb'). The pyATS libraries are doing the rest and converting this into simple JSON and outputting to the console.

show vpn-sessiondb - and show of dhcpd lease does not show anyhing is there a way to show history of connections - i have just the DHCp (private IP ) that was dished to this client - Id like to try and map it to a uer or his public IP - can anyone assist please Trying to capture the 'sh vpn-sessiondb anyconnect' output Typical output of the command 'show vpn-sessiondb anyconnect': Username : user11 Index : 3655 Assigned IP : Public IP : Protocol : AnyConnect-Parent SSL-Tunnel License : AnyConnect Premium Encryption : AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 Hashing : AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 Bytes GitHub - sttrayno/ASA-Telemetry-Guide: Example VPN health

Show Active VPN users - Cisco Community

Petes-ASA# show vpn-sessiondb anyconnect Session Type: AnyConnect Username : pete.long Index : 293 Assigned IP : Public IP : Assigned IPv6: 2a03:7f80:d1ab:199::1 Protocol : AnyConnect-Parent SSL-Tunnel DTLS-Tunnel License : AnyConnect Essentials Encryption : AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES128 DTLS Remote Access VPN Authentication with Cisco ISE – Security

Cisco VPN gateways support the iPhone | Network World

次に、 show vpn-sessiondb ospfv3 コマンドの出力例を示します。 asa# show vpn-sessiondb ospfv3 Session Type: OSPFv3 IPsec Connection : Index : 1 IP Addr : Protocol : IPsec Encryption : IPsec: (1)none Hashing : IPsec: (1)SHA1 Bytes Tx : 0 Bytes Rx : 0 Login Time : 15:06:41 EST Wed Feb 1 2012 Duration : 1d 5h:13m:11s Networks Woot!: Cisco ASA: Anyconnect - How to source Nov 23, 2012