09-30-2011 11:00 AM - edited 03-11-2019 02:32 PM
Can one setup a packet capture on an ASA for packets entering an IPSec tunnel? If so, please provide a configuration example.
10-01-2011 01:41 AM
On principle ASA does not use virtual interfaces for IPsec so we need to rely on packet capture on physical/logical interfaces. This means we only have a scope of the encapsulated packet.
To overcome this we're using packet capture with "trace detail" option, which will show packet-tracer-like output for INBOUND packets only.
capture TEST interface outside access-list TEST trace detail
later:
show capture TEST trace det
If you export that capture you will recive a normal PCAP dump, but if you view with CLI you will see additional info.
This capture + ASP drop capture is typially enough to get you started on troubleshooting traffic-through-VPN problems.
Marcin
10-03-2011 07:13 AM
Thanks for the reply, but this I knew. I was really looking to see that the packets entering the tunnel were NATed correctly. I've been able to get a good enough view of that with ASDM. However, that does not replace being able to do packet captures on both your ingress and egress interfaces simultaneously. I guess it is what it is.
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