cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
242
Views
1
Helpful
7
Replies

DefaultProfile.xml in Cisco

Hi here,

I'm looking for advice on editing my DefaultProfile.xml in Cisco and deploying it via policy to all Mac devices to establish a new connection. However, it seems that my Mac is retaining memory of the last successful connection, making it appear as the default option when attempting to connect again. Is there a way to reset this and have the connection specified in the DefaultProfile.xml as the default option for connection?

7 Replies 7

On Windows there is a file called "preferences.xml" that contains the last connected host, and I think on Mac it is located in the folder "/home/username/.anyconnect" or "/opt/cisco/anyconnect/.anyconnect_global". It would be enough to remove that file which will get generated after the first connection.

deleted .anyconnect_global but it did not close the app and reopened but still the same

Did you find anything in "/home/username/.anyconnect" folder?

This temporarily' i.e. when you access again and use new GW then it by defualt change to use new GW

If you can' can I see screenshots of anyconnect?

MHM

yes if I use the new GW and connect it will be updated. but i want to avoid the confusion 

https://youtu.be/DkRTQeFAPds

check this video

MHM

the DefaultProfile.xml is working as expected is adding the new Andress to the dropdown list but the user needs to select the new address because Cisco on MAC remembers the previous connection and has it as default for example if I successfully connected to: test.com  the default one remains test.com and I can found test2.com form my dropdown filed, my XML straight forward 

<?xml version="1.0" encoding="UTF-8"?>
<AnyConnectProfile xmlns="http://schemas.xmlsoap.org/encoding/">
<ServerList>
<HostEntry>
<HostName> test2.com </HostName>
<HostAndress> test2.com </HostAndress>
</HostEntry>
</ServerList>
</AnyConnectProfile>