08-04-2024 03:26 AM - edited 08-09-2024 03:07 AM
08-04-2024 03:50 AM
@jimbrown-dm unsure what version you are using here, the last number of years the versions of Cisco AnyConnect have a built-in auto-reconnect feature. You can enable this in the client settings. You could also write a script local to reconnect if this feature isn’t enabled by your company policy.
Hope this helps.
08-04-2024 11:19 AM
Like was mentioned, this typically happens automatically. Here's some background on it from the Cisco website.
https://www.cisco.com/c/en/us/support/docs/security/anyconnect-secure-mobility-client/116312-qanda-anyconnect-00.html#toc-hId--1618565854
08-04-2024 01:04 PM
By default it should automatically reconnect as others have pointed out.. are you not seeing that ?
a quick test would be to disconnect wifi or ethernet connection and reconnect, and anyconnect should reconnect automatically.
There is also reconnect option to reconnect after a pc suspended and resumed from sleep.
for that you need a profile setting:
The Auto-Reconnect behavior for AnyConnect can be controlled through the AnyConnect XML profile with this setting:
<AutoReconnect UserControllable="true">true
<AutoReconnectBehavior>ReconnectAfterResume</AutoReconnectBehavior>
</AutoReconnect>
08-09-2024 06:09 AM
Yes, there are ways to configure Cisco AnyConnect VPN to automatically reconnect after a network interruption. The automatic reconnect feature can be enabled and customized using both client-side settings and server-side policies.
<AutoReconnect>true</AutoReconnect>
<AutoReconnectBehavior>ReconnectAfterResume</AutoReconnectBehavior>
By implementing these methods, you can improve the resilience of your Cisco AnyConnect VPN connection in the face of network interruptions.
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