I have a Cisco ASA, which is denying traffic from to on tcp/9000

How can I diagnose why this is happening from the Cisco ASA CLI?

1 Answer 1


The easiest way to figure out why your ASA drops traffic:

Using packet-tracer (only on routed ASA firewalls):

Routed firewalls give us the most information when we need to figure out why something was dropped; it's best to use packet-tracer to figure out why the routed firewall dropped something (although it won't catch every possible case).

I'm assuming's source port is 1024 for the purposes of getting a diagnosis... The syntax is packet-tracer input INSIDE tcp [SRC_HOST] [SRC_PORT] [DST_HOST] [DST_PORT]

asa-fw# packet-tracer input INSIDE tcp 1024 9000

!!! output truncated

Phase: 4
Subtype: log
Result: DROP                                            <---- ASA Dropped the traffic
access-group INSIDE_in in interface INSIDE
access-list INSIDE_in extended deny ip any4 any4 log    <---- This rule denied the traffic
Additional Information:

input-interface: INSIDE
input-status: up
input-line-status: up
output-interface: OUTSIDE
output-status: up
output-line-status: up
Action: drop
Drop-reason: (acl-drop) Flow is denied by configured rule   <----


Using capture [NAME] asp-drop (routed or transparent ASA firewalls):

Transparent firewalls are trickier to diagnose, but you can still get some useful information with the capture ... asp-drop command. The ASP is the ASA's "Accelerated Security Path"; this is where many drops happen. I have seen some dropped traffic that doesn't show in asp-drop, but usually that's because of an overwhelmed backplane in the ASA.

There are four steps...

  1. Configure a packet capture buffer on the ASA. For tcp traffic, the syntax is capture [CAPTURE_NAME] type asp-drop all buffer [BUFFER_SIZE] match tcp host [SRC_HOST] host [DST_HOST] eq [DST_PORT]
  2. Wait for the denied traffic
  3. show capture [NAME] trace to understand why the traffic was denied.
  4. Remove the capture with no capture [CAPTURE_NAME]

This is an example which shows traffic to on tcp/9000 is denied by a configured firewall rule.

asa-fw# capture DENY type asp-drop all buffer 500000 match tcp host host eq 9000

asa-fw# sh capture DENY trace

1 packet captured

   1: 06:13:43.434761       802.1Q vlan#200 P0 > S 
   884023774:884023774(0) win 14600 <mss 1460,sackOK,timestamp 67442169 0,nop,wscale 7> 
   Drop-reason: (acl-drop) Flow is denied by configured rule

1 packet shown
asa-fw# no capture DENY

When you finish, be sure to unconfigure the capture with no capture DENY

  • 1
    I fell in love with packet-tracer the moment I used it. Ought to be on every platform. The instructions on capturing ASP-Drop are quite helpful for the rest of the traffic!
    – Smithers
    Commented Apr 27, 2015 at 14:20
  • Packet tracer, the solution to so many otherwise unsolved issues =).
    – Ty Smith
    Commented Jul 1, 2016 at 8:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.