I am trying to configure a remote access vpn on ISR 4331 router with ipbase and sec licenses.
The problem is that the webvpn command is not recognized.
Anyone have any idea or a tested configuration example.
Look at the matrix supported features. :
AnyConnect IKEv2 remote access is supported I think.
Check the link below for configuration details:
As already mentioned, AnyConnect connections with IKEv2 are supported. I went through the configuration some time ago and the way it is configured is completely different from the config on the ASA. There are config guides available, I think with a search for "FlexVPN Server" you should find the relevant guides.
For my implementation, after being ready with that, I repented to not have just placed another small ASA parallel to the router which had been much easier. Next time I will do it that way.
You may found a basic configuration example here: https://www.cisco.com/c/en/us/support/docs/security/flexvpn/115941-flexvpn-ikev2-config-00.html
This is flexVPN support on mentioned platform.