Lesson 16 Flashcards
Configure an IKE Phase One Policy
fw1(config)# crypto ikev1 enable outside
fw1( config )# isakmp policy 10
fw1(config - isakmp - policy)# encryption aes
fw1( config - isakmp - policy)# hash sha
fw1( config - isakmp - policy)# authentication pre - share
fw1( config - isakmp - policy)# group 2
fw1( config - isakmp - policy)# lifetime 86400
Configuring Tunnel Groups: IPsec Attributes
fw1 ( config )# tunnel - group ipsec - attributes
fw1 (config)# tunnel - group 172.16.2.1 ipsec - attributes
fw1 ( config - tunnel - ipsec )# pre - shared - key cisco123
fw2 ( config )# tunnel - group ipsec - attributes
fw2(config)# tunnel - group 172.16.1.1 ipsec - attributes
fw2( config - tunnel - ipsec )# pre - shared - key cisco12
Configuring Interesting Traffic: Crypto ACLs
fw1 (config)#access - list CRYPTOACL permit ip 10.0.1.0 255.255.255.0 10.0.2.0 255.255.255.0
fw2 (config)#access - list CRYPTOACL permit ip 10.0.2.0 255.255.255.0 10.0.1.0 255.255.255.0
Configure an IPsec Transform Set
fw1( config )# crypto ipsec transform - set FW2 esp - aes esp - sha - hmac
Configure the Crypto Map
fw1(config)# crypto map FW1MAP 10 match address CRYPTOACL
fw1(config)# crypto map FW1MAP 10 set peer 172.16.2.1
fw1( config )# crypto map FW1MAP 10 set transform - set FW2
fw1( config )# crypto map FW1MAP 10 set security - association lifetime seconds 28800
Apply the Crypto Map to an Interface
fw1( config )# crypto map FW1MAP interface outside