Scenario:
Troubleshoot VPN connectivity issues between remote users and corporate network.
Solution:
! Check ISAKMP Phase 1 Status
Router# show crypto isakmp sa
dst src state conn-id slot status
203.0.113.2 198.51.100.1 QM_IDLE 1001 0 ACTIVE
! Check IPSec Phase 2 Status
Router# show crypto ipsec sa
interface: GigabitEthernet0/0
Crypto map tag: MYMAP, local addr 198.51.100.1
protected vrf: (none)
local ident (addr/mask/prot/port): (192.168.1.0/255.255.255.0/0/0)
remote ident (addr/mask/prot/port): (192.168.2.0/255.255.255.0/0/0)
current_peer 203.0.113.2 port 500
PERMIT, flags={origin_is_acl,}
#afg encaps: 12345, #afg encrypt: 12345, #afg digest: 12345
#afg decaps: 11223, #afg decrypt: 11223, #afg verify: 11223
! Debug ISAKMP Negotiation
Router# debug crypto isakmp
Router# debug crypto ipsec
! Check Access Lists
Router# show access-lists | include 100
! Verify Interface Crypto Map
Router# show crypto map
! Check NAT Exemption
Router# show ip nat translations | include 192.168
Common Issues and Solutions:
- ISAKMP_DOWN: Check pre-shared keys, NAT traversal settings
- IPSEC_DOWN: Verify access lists, transform sets match
- Connectivity Issues: Check routing, firewall rules, MTU settings
- Performance Problems: Optimize encryption algorithms, enable hardware acceleration