Capture command on routers

Answered Question
May 7th, 2010


Can someone tell me if there's an equivalent for the ''captures'' that you can do on the ASAs on routers?

We need to sniff the packets and capture them with wireshark, but we would like the ability to do it from the router itself without the need of putting the sniffer in the path of traffic.

On the ASA we can define an ACL and apply a capture to it, and export that to read it from Wireshark.

Is there a way to do this on IOS?


I have this problem too.
0 votes
Correct Answer by Jon Marshall about 6 years 5 months ago


Beginning with IOS 12.4(20)T you can now do this with the Embedded Packet Capture. Haven't tried it myself so not sure how good it is -


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Federico Coto F... Fri, 05/07/2010 - 13:03

Thank you Jon, I'll give it a try (i'm not familiar with it), but it seems to be exactly what we need ;-)

I'll get back to you, thank you again.



This Discussion