Virtual Template Configuration
When configuring a virtual template on a Cisco IOS device, it is not possible to change the virtual template type. For example, the following command creates a virtual template of type "serial".
`Router(config)#interface Virtual-Template1 type serial
Once this is configured, if you try to create a new virtual template with the same name of type "tunnel" you will get the following error:
Router(config)#interface virtual-template1 type tunnel Error: Vtemplate1 was originally created with type Serial Cannot change vtemplate type, create a new vtemplate
This error message means that the virtual-template1
was initially created as a serial type and hence, it can’t be changed to a tunnel type directly.
To resolve this issue, you need to create a new virtual template with a different number, for example, virtual-template2
. If you’re not using the original virtual-template1
, you could also delete it and recreate it with the tunnel type. Here’s how:
- First, remove the original virtual template with the command:
no int virtual-template1
. - Then, create a new one with the tunnel type with the command:
int virtual-template1 type tunnel
.
Links
https://forum.networklessons.com/t/flexvpn-remote-access-anyconnect/13738/39?u=lagapidis
https://networklessons.com/cisco/ccie-enterprise-infrastructure/flexvpn-remote-access-anyconnect