ā06-07-2022 08:06 AM
hi,
is it possible to get some more detail about tcp packet during debug platform traces? Like length of packet or even sequence numbers?
br
ā06-07-2022 08:11 AM
Hi
It depends on the device. You can generate a pcap file and run in Wireshark for easy viewing.
ā06-07-2022 09:00 AM
i do not need pcap, I need packet lengths or sequence numbers in "show platform packet all" output
ā06-07-2022 08:14 AM - edited ā06-07-2022 08:18 AM
debug ip tcp packet <- give you SYN ACK
debug ip tcp ha <- give you length
give more detail about TCP traffic.
ā06-07-2022 09:08 AM - edited ā06-07-2022 09:13 AM
monitor capture on interface of receiving router (isr) shows OOO packets and monitor capture on interface of sending router shows no OOO packets. So I want to do platform debug packet trace and see if it will show OOO packets. But I need lengths or sequences to be shown so I could identify packets and verify order
ā06-07-2022 09:21 AM
Can you provide how it is configured, sample example output for us to understand the issue here.
ā06-07-2022 09:24 AM - edited ā06-07-2022 09:28 AM
Debug plat cond ipv4 access-list ACL both
Debug plat packet packet 1024 fia-trace
and in trace results I do not see anything I could use to pinpoint packets, beside src/dst ports
ā06-07-2022 11:36 AM
on this link
there are some sample outputs where tcp sequences are visible, but I cannot get this to work
this is sample output from documentation
Router#show platform packet-trace packet 12 Packet: 12 CBUG ID: 767 Summary Input : GigabitEthernet3 Output : internal0/0/rp:0 State : PUNT 11 (For-us data) Timestamp Start : 16120990774814 ns (01/20/2020 12:38:02.816435 UTC) Stop : 16120990801840 ns (01/20/2020 12:38:02.816462 UTC) Path Trace Feature: IPV4(Input) Input : GigabitEthernet3 Output : <unknown> Source : 12.1.1.1 Destination : 12.1.1.2 Protocol : 6 (TCP) SrcPort : 46593 DstPort : 23 IOSd Path Flow: Packet: 12 CBUG ID: 767 Feature: INFRA Pkt Direction: IN Packet Rcvd From DATAPLANE Feature: IP Pkt Direction: IN Packet Enqueued in IP layer Source : 12.1.1.1 Destination : 12.1.1.2 Interface : GigabitEthernet3 Feature: IP Pkt Direction: IN FORWARDEDTo transport layer Source : 12.1.1.1 Destination : 12.1.1.2 Interface : GigabitEthernet3 Feature: TCP Pkt Direction: IN tcp0: I NoTCB 12.1.1.1:46593 12.1.1.2:23 seq 1925377975 OPTS 4 SYN WIN 4128
ā06-07-2022 11:55 AM - edited ā06-07-2022 12:49 PM
there is some commend need before the show display the TCP packet
please see below slide.
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