Professional Documents
Culture Documents
Cisco ASA - Troubleshooting Basic Traffic Flow
Cisco ASA - Troubleshooting Basic Traffic Flow
Cisco ASA - Troubleshooting Basic Traffic Flow
com
How to troubleshoot?:
If you do not have live traffic then let's start from ASA. On ASA we have packet tracer tool that can simulate a traffic flow for us.
Packet-tracer input <ingress_interface> <protocol> <source_ip> <source_port/icmp_type and code> <destination_ip> <destination_port> detailed
It checks if there is any existing connection in the connection table. Since it is the first packet of communication and there is no connection entry in conn table. ASA then checks for
interface ACL. If there is any ACL entry that denies traffic, packet tracer will show it as "Dropped". Then we know where the problem is.
But if ACL allows the traffic and so does complete packet flow, then everything is good on the ASA. It is something else. To figure out the problem we will now need live traffic.
This will show you all the packets that has been captured in this capture. Let's say you have applied a capture for any any and would like to see if one particular IP has been captured
or not, then
Show capture capin | in 192.1.2.2
It will show if there are any packets for 192.1.2.2
Continue………………………………………………………………………………………………………..
ASA Page 1
Where are these captures stored?
These captures are stored in buffer memory. You can even export them and then open in wireshark as well.
https://<ip_address_of_asa>/capture/<capname>/pcap
You can also send the capture to a TFTP server or save to flash.
copy /pcap capture: flash: ---- hit enter
Let's say you have applied two captures, one on inside interface and other one at outside interface.
You can see traffic in inside capture but not in outside capture, that means ASA is dropping it for some reason. Now we need to find why is it dropping.
You can run "sh asp drop" and check which drop counter is increasing. If the numbers are very high and you cannot make a difference then clear the counter " clear asp drop".
Run the command again " show asp drop". This will give you an idea due to which reason packet is being dropped.
It doesn't tell you exactly if your packet exact was dropped but give you an idea by looking at the counters.
To see if your packet was dropped, you can apply "asp drop capture".
ASA Page 2