02-27-2020 05:59 AM
Hi,
i work with a Cisco 9200L and i want to capture the traffic.
i can display the traffic with
1.
Device# debug platform software fed switch active packet-capture start
Punt packet capturing started.
Device# debug platform software fed switch active packet-capture stop
Punt packet capturing stopped. Captured 101 packet(s)
2.show platform software fed switch active punt packet-capture display detailed
But how can i safe this on a usb stick?
02-27-2020 08:17 AM - edited 02-27-2020 08:19 AM
Hi
use putty an capture the output to a test file on your desktop
go to logging in putty , select printable output in top right , select browse , chose an area to save to and hit apply
set the router/switch to terminal length 0 then run all the commands again , then go back to putty logging session hit none and apply , it will have saved to dekstop
https://itthatshouldjustwork.blogspot.com/2012/06/backup-cisco-configs-using-putty.html
then transfer to usb , it can be done in EEM to USB but you would have to write the script and then get to to transfer to flash or usb locally on the device
02-27-2020 08:26 AM
02-28-2020 12:04 AM
Hi Jan,
You can also use SecureCRT terminal software and collect specific traffic that you wish. It is very easy and simple. You have in attachment print screen of my Log Session. Just before you click on Log Session you have to set first TERM LENGTH 0 in privilege mode (#) and then use Log Session from taskbar menu.
When you finish with capturing traffic, you have to again click on Log Session to stop capturing.
I hope that I help you.
Have a nice day.
Milos
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