10-23-2020 09:28 AM
I would like to know if there was a way to collect username, hostname and operating system info from our anyconnect users. Currently we have syslog enabled that tells us what time users connected etc but we would like to get more info like the hostname and OS of the computer that is initiating the anyconnect connection to our headend ASA.
Thanks.
Solved! Go to Solution.
10-23-2020 10:27 AM
10-25-2020 03:34 AM
You can get the information from syslog messages if you use a Dynamic Access Policy (DAP). The DAP debug messages will have all of those details and more. You can override their severity level and get them as alerts (or whatever level message you like) to forward to your syslog server.
10-29-2020 11:50 AM
Hi, Ismail.
You can use the command show vpn-sessiondb detail anyconnect filter name user1 to get information about the OS and AnyConnect Version. If you have a syslog server, you can use the syslog ID of 722055 to search for this information.
ASA# show vpn-sessiondb detail anyconnect filter name user1 | incl Client Client OS : mac-intel Client OS Ver: 10.13.6 Client Type : AnyConnect Client Ver : Cisco AnyConnect VPN Agent for Mac OS X 4.7.04056 Client OS : Mac OS X Client Type : SSL VPN Client Client Ver : Cisco AnyConnect VPN Agent for Mac OS X 4.7.04056 Client OS : Mac OS X Client Type : DTLS VPN Client Client Ver : Cisco AnyConnect VPN Agent for Mac OS X 4.7.04056
https://packetswitch.co.uk/cisco-asa-useful-commands/
Please let me know if you need more information.
10-23-2020 10:27 AM
10-25-2020 03:34 AM
You can get the information from syslog messages if you use a Dynamic Access Policy (DAP). The DAP debug messages will have all of those details and more. You can override their severity level and get them as alerts (or whatever level message you like) to forward to your syslog server.
10-29-2020 11:50 AM
Hi, Ismail.
You can use the command show vpn-sessiondb detail anyconnect filter name user1 to get information about the OS and AnyConnect Version. If you have a syslog server, you can use the syslog ID of 722055 to search for this information.
ASA# show vpn-sessiondb detail anyconnect filter name user1 | incl Client Client OS : mac-intel Client OS Ver: 10.13.6 Client Type : AnyConnect Client Ver : Cisco AnyConnect VPN Agent for Mac OS X 4.7.04056 Client OS : Mac OS X Client Type : SSL VPN Client Client Ver : Cisco AnyConnect VPN Agent for Mac OS X 4.7.04056 Client OS : Mac OS X Client Type : DTLS VPN Client Client Ver : Cisco AnyConnect VPN Agent for Mac OS X 4.7.04056
https://packetswitch.co.uk/cisco-asa-useful-commands/
Please let me know if you need more information.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide