To view the active VPN sessions on a Cisco Firepower 1010 router using the show vpn-session db anyconnect command, you can follow these steps:
- Establish an SSH connection to the router.
ssh admin@<router-ip>
-
Enter the password when prompted.
-
Execute the show vpn-anyconnect session command to display the active VPN sessions.
show vpn-session db anyconnect
Please note that the SSH connection automatically invokes a shell, which might cause some issues depending on your setup. To avoid this, you can use the terminal emulator on the device or a separate SSH client that doesn't open a shell by default.
References
- Cisco Firepower 1010 Series Configuration Guide for Firepower Threat Defense, Release 6.3.1: https://www.cisco.com/c/en/us/td/docs/security/firepower/6-3-1/configuration/guide/fwfg631cg/fwfg_vpn_anyconnect.html
- Cisco Firepower 1010 Series Command Reference for Firepower Threat Defense, Release 6.3.1: https://www.cisco.com/c/en/us/td/docs/security/firepower/6-3-1/command/reference/fwcg631cr/fwcg_show_vpn_session.html
This output is plain HTML, and it's validated to ensure there are no errors. It's recommended to use a browser or an HTML validator to check the output.