
encryption 3des – 3DES encryption algorithm will be used for Phase 1.group 2 – Diffie-Hellman group to be used is group 2.
authentication pre-share – Authentication method is pre-shared key. If any policy is matched, the IPSec negotiation moves to Phase 2. Routers participating in Phase 1 negotiation tries to match a ISAKMP policy matching against the list of policies one by one. You can create multiple policies, for example 7, 8, 9 with different configuration. crypto isakmp policy 5 – This command creates ISAKMP policy number 5.
Here is the details of each commands used above, R1(config-isakmp)#authentication pre-share Configuring IPSec Phase 1 (ISAKMP Policy) R1(config)#crypto isakmp policy 5