01-30-2020 08:35 AM
Hi, I am working on templatizing my VPN deployments and would like to deploy all config in the CLI. When I try the following config in the CLI, I do not get a connection profile to show up in the ASDM. But when I configure a connection profile in the ASDM, this is the config that gets deployed in the CLI. How can I get the connection profile to show up in the ASDM?
object network 10.12.47.0-28 subnet 10.12.47.0 255.255.255.240 description Local Reservations ! object network REMOTE_DGA_SUBNET1 subnet 10.x.0.0 255.255.255.0 description Dynamix Test Subnet ! object network REMOTE_DGA_SUBNET2 subnet 10.x.0.0 255.255.0.0 description Dynamix Test Subnet ! object-group network DGA_TESTING_LAB network-object object REMOTE_DGA_SUBNET1 network-object object REMOTE_DGA_SUBNET2 exit ! crypto ipsec ikev2 ipsec-proposal IKEV2_AESGCM-SHA protocol esp encryption aes-gcm-256 protocol esp integrity sha-384 ! group-policy S2S_IKEv2_POLICY internal group-policy S2S_IKEv2_POLICY attributes vpn-tunnel-protocol ikev2 exit ! tunnel-group S2S_DGA type ipsec-l2l tunnel-group S2S_DGA general-attributes default-group-policy S2S_IKEv2_POLICY tunnel-group S2S_DGA ipsec-attributes ikev2 remote-authentication pre-shared-key ***** ikev2 local-authentication pre-shared-key ***** exit ! access-list S2S_DGA_ACL line 1 extended permit ip object 10.12.47.0-28 object-group DGA_TESTING_LAB ! crypto map outside_map 1 match address S2S_DGA_ACL crypto map outside_map 1 set pfs group20 crypto map outside_map 1 set peer XXX.XXX.XXX.XXX crypto map outside_map 1 set ikev2 ipsec-proposal IKEV2_AESGCM-SHA crypto map outside_map 1 set ikev2 pre-shared-key ***** crypto map outside_map 1 set nat-t-disable !
Solved! Go to Solution.
01-31-2020 12:36 AM - edited 01-31-2020 12:37 AM
Hi,
Did you configured names to map S2S_DGA (mapping the name to ip address).
ex.: enable ASA to use names:
ASA(config)#names
name 1.1.1.1 S2S_DGA << and then do the mapping.
Without it, the tunnel-group will not reflect under Connection Profiles (along with the crypto map mapped to an interface)
Regarding the crypto map binding: https://cdetsng.cisco.com/summary/#/defect/CSCuv84832
Hope this helps.
01-31-2020 12:36 AM - edited 01-31-2020 12:37 AM
Hi,
Did you configured names to map S2S_DGA (mapping the name to ip address).
ex.: enable ASA to use names:
ASA(config)#names
name 1.1.1.1 S2S_DGA << and then do the mapping.
Without it, the tunnel-group will not reflect under Connection Profiles (along with the crypto map mapped to an interface)
Regarding the crypto map binding: https://cdetsng.cisco.com/summary/#/defect/CSCuv84832
Hope this helps.
01-31-2020 10:06 AM
This is exactly what I was missing. Thanks!
01-31-2020 08:17 PM
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