12-21-2023 02:55 AM - edited 12-21-2023 03:21 AM
01-03-2024 06:43 AM
Did you try profile edit server list as I mention above? Is it not work?
MHM
12-21-2023 03:30 AM
edit the profile XML and move the primary one up
C:\ProgramData\Cisco\Cisco AnyConnect Secure Mobility Client
preferences_global.xml
12-22-2023 12:04 AM - edited 12-22-2023 12:05 AM
<?xml version="1.0" encoding="UTF-8"?>
<AnyConnectPreferences>
<DefaultUser></DefaultUser>
<DefaultSecondUser></DefaultSecondUser>
<ClientCertificateThumbprint></ClientCertificateThumbprint>
<MultipleClientCertificateThumbprints></MultipleClientCertificateThumbprints>
<ServerCertificateThumbprint></ServerCertificateThumbprint>
<DefaultHostName>addresshome.com</DefaultHostName>
<DefaultHostAddress>0.0.0.0/24</DefaultHostAddress>
<DefaultGroup></DefaultGroup>
<ProxyHost></ProxyHost>
<ProxyPort></ProxyPort>
<SDITokenType>none</SDITokenType>
<ControllablePreferences>
<DisableCaptivePortalDetection>false</DisableCaptivePortalDetection></ControllablePreferences>
</AnyConnectPreferences>
where would i put "file1vpn" profile name in?
12-23-2023 10:05 AM - edited 12-23-2023 12:34 PM
Friend
There is field called server list' here you dont have it' which meaning it not add in asa profile editor.
Go to asa profile editor and open server list add two gw ip or fqdn in order you want.
MHM
12-26-2023 06:55 AM
As @Rob Ingram and @balaji.bandi directed, the one that appears in your client when connecting is as listed in your preferences_global.xml file. That file is updated dynamically based on the last server you connected to.
So there is no need to edit anything manually.
If you have the use case of a single VPN headend with multiple profiles, then their listing (during the login process) is sorted alphanumerically (0-9, A-Z).
01-03-2024 06:34 AM
How about if we want to edit it? and add "file1vpn" to be default? Instead of any other name.
01-03-2024 06:43 AM
Did you try profile edit server list as I mention above? Is it not work?
MHM
01-03-2024 06:44 AM
Then name used comes from the XML profile stored on the headend device (ASA or FTD). To change the name the profile needs to be changed there.
Even if you change your local copy, it will automatically be overwritten the next time you connect as part of the connection process which always checks for any profile updates.
12-23-2023 12:23 PM
@cludlam From the AnyConnect guides "The host at the top of the list is the default server, and appears first in the GUI drop-down list. If the user selects an alternate server from the list, the selected server becomes the new default server."
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