cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
712
Views
1
Helpful
8
Replies

Make file1vpn default profile from dropdown instead of file2vpnprofile

cludlam
Level 1
Level 1

Make file1vpn default profile from dropdown instead of file2vpnprofile

 

cludlam_1-1703157646343.png

 

1 Accepted Solution

Accepted Solutions

Did you try profile edit server list as I mention above? Is it not work?

MHM

View solution in original post

8 Replies 8

balaji.bandi
Hall of Fame
Hall of Fame

edit the profile XML and move the primary one up

C:\ProgramData\Cisco\Cisco AnyConnect Secure Mobility Client

preferences_global.xml

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

<?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?

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

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).

How about if we want to edit it? and add "file1vpn" to be default? Instead of any other name.

Did you try profile edit server list as I mention above? Is it not work?

MHM

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.

@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."

https://www.cisco.com/c/en/us/td/docs/security/vpn_client/anyconnect/anyconnect410/administration/guide/b-anyconnect-admin-guide-4-10/configure_vpn.html