This task enables manual examination of packet trace binary files by displaying their contents in text format, which supports troubleshooting without conversion tools.
This task is useful when you need to check packet traces directly on the device and do not have access to TCP dump file conversion utilities.
Follow these steps to view packet trace binary files in text format:
Procedure
|
1. |
Use the show tcp dump-file list all command to view the list of packet traces in binary files stored in the tcpdump folder.
Example:
RP/0/RP0/CPU0:ios# show tcp dump-file list all
total 1176
-rw-r--r-- 1 root root 5927 Nov 22 12:42 31_0_0_126.179.20966.cl.1700656933
-rw-r--r-- 1 root root 5892 Nov 22 12:42 31_0_0_127.179.35234.cl.1700656933
-rw-r--r-- 1 root root 6148 Nov 22 12:42 31_0_0_149.179.54939.cl.1700656933
-rw-r--r-- 1 root root 5894 Nov 22 12:42 31_0_0_155.179.18134.cl.1700656933
-rw-r--r-- 1 root root 6063 Nov 22 12:42 31_0_0_156.179.25445.cl.1700656933
-rw-r--r-- 1 root root 5860 Nov 22 12:42 31_0_0_161.179.30859.cl.1700656933
-rw-r--r-- 1 root root 5832 Nov 22 12:42 31_0_0_173.179.36935.cl.1700656933
-rw-r--r-- 1 root root 5906 Nov 22 12:42 31_0_0_190.179.25642.cl.1700656933
|
|
2. |
Use the show tcp dump-file <binary filename> command to view each packet trace binary file in text format.
Example:
RP/0/RP0/CPU0:ios# show tcp dump-file 10_106_0_73.179.34849.cl.1707424077 location 0/RP0/CPU0
Filename: 10_106_0_73.179.34849.cl.1707424077
==============================================================
Connection state is CLOSED, I/O status: 0, socket status: 103
PCB 0x00007f86bc05e3b8, SO 0x7f86bc05e648, TCPCB 0x7f86bc0c3718, vrfid 0x60000000,
Pak Prio: Medium, TOS: 192, TTL: 1, Hash index: 1593
Local host: 10.106.0.72, Local port: 179 (Local App PID: 11354)
Foreign host: 10.106.0.73, Foreign port: 34849
(Local App PID/instance/SPL_APP_ID: 11354/1/0)
Current send queue size in bytes: 0 (max 0)
Current receive queue size in bytes: 0 (max 0) mis-ordered: 0 bytes
Current receive queue size in packets: 0 (max 0)
Timer Starts Wakeups Next(msec)
Retrans 103448 8 0
SendWnd 0 0 0
TimeWait 1 0 0
AckHold 106815 106545 0
KeepAlive 1 0 0
PmtuAger 0 0 0
GiveUp 0 0 0
Throttle 0 0 0
FirstSyn 0 0 0
iss: 161240548 snduna: 163206936 sndnxt: 163206936
sndmax: 163206936 sndwnd: 63104 sndcwnd: 18120
irs: 3691232436 rcvnxt: 3693473072 rcvwnd: 26099 rcvadv: 3693499171
This sample displays only a portion of the actual output. The full output provides additional packet trace details.
|
You can examine the text details of packet trace binary files directly using the command-line interface without converting them to other formats.