cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
442
Views
5
Helpful
6
Replies
Highlighted
Participant

Cisco Access Point - Debug, PCAP

I am having Cisco AP model AIR-AP1852I-Q-K9

I am going to run debug & capture the logs as per the below manual.

 

https://www.cisco.com/c/en/us/support/docs/wireless/catalyst-9120ax-series-access-points/215413-configure-internal-wired-packet-capture.pdf

 

According to the manual, the below file is going to be created.

# debug traffic wired ip capture % Writing packets to "/tmp/pcap/2802_capture.pcap0" #reading
from file /dev/click_wired_log, link-type EN10MB (Ethernet)

 

Question is how can i check the file in /tmp
Is there any way i can access the path /tmp ?

If so how to access it ?

6 REPLIES 6
Highlighted
VIP Mentor

Once you SSH into AP, then you should be able to see those directory / file paths.

 

HTH

Rasika

Highlighted

thanks.

I have done SSH to AP. I am in #prompt.

From here how to check it ?

Highlighted

"show flash" should tell the file system in flash. 

 

Rasika

Highlighted

show flash show the directory as /storage
I dunno where is /tmp

Highlighted

Once you issue that "debug traffic wired ip capture" it should automatically write it to /temp/pcap/xxx path. Then you should be able copy it to external TFTP

copy pcap AP70DB.98E1.3DEC_capture.pcap0 tftp 192.168.1.100

Did you try it as instructed?

https://www.cisco.com/c/en/us/support/docs/wireless/aironet-2800-series-access-points/214560-troubleshoot-wave-2-aps.html 

HTH

Rasika

 

Highlighted
Participant

Thanks,

how can I browse the below path in the AP

/temp/pcap/xxx

 

I want to go to /temp/pcap and want to check the files stored in the below location.

How can I do that.

 

Also is there time limit the debug files are stored in the below location.

When I tried to retrieve the file after 3 days, it says the file does not exists.

So wanted to check what is the limit the file exists in the AP.

 

Will the file gets removed when the AP reboots ?

Content for Community-Ad