ASA 1: ASA-1(config)# crypto ikev1 policy 10 ASA-1(config-ikev1-policy)# authentication pre-share Use pre-shared key for auth ASA-1(config-ikev1-policy)# encryption aes Use AES 128 bit encryption ASA-1(config-ikev1-policy)# hash sha Use SHA for hashing ASA-1(config-ikev1-policy)# group 2 Diffie-Hellman Group 2 ASA-1(config-ikev1-policy)# lifetime 3600 Lifetime of SA is 3600 seconds ASA-1(config-ikev1-policy)# exit ASA-1(config)# crypto ikev1 enable outside Enable the policy on "outside" interface ASA-1(config)# crypto isakmp identity address ASA-1(config)# tunnel-group 200.200.200.1 type ipsec-l2l Configure a tunnel with peer IP 200.200.200.1 which will be of type Lan-to-Lan ASA-1(config)# tunnel-group 200.200.200.1 ipsec-attributes ASA-1(config-tunnel-ipsec)# ikev1 pre-shared-key somestrongkey pre-shared key
ASA-1# show crypto isakmp sa -------- Verify that tunnel is established ASA-1# show crypto ipsec sa -------- Verify that data is bi-directionally encrypted