Hi,
The truncated bytes messages are seen when the entire packet doesn't fit into the capture buffer. To resolve this you need to increase the capture buffer by adding the 'size' keyword and specify a value that is large enough to contain the packet size you are sending plus overheads (this number may vary due to fpc architecture differences).
lab@R1> monitor traffic interface ge-5/1/2 size ?
Possible completions:
<size> Amount of each packet to receive (bytes)
In your original post you were sending 64byte pings, to ensure you captured the entire packet plus overheads you would need to specify a size of at least 120bytes. Here's an example:
<<<< default capture size of 96bytes
lab@M320> monitor traffic interface ge-5/1/2 matching icmp no-resolve
verbose output suppressed, use <detail> or <extensive> for full protocol decode
Address resolution is OFF.
Listening on ge-5/1/2, capture size 96 bytes
22:49:00.454818 In IP 100.100.100.2 > 100.100.100.1: ICMP echo request, id 26902, seq 212, length 64
22:49:00.454842 Out IP truncated-ip - 24 bytes missing! 100.100.100.1 > 100.100.100.2: ICMP echo reply, id 26902, seq 212, length 64
22:49:01.458197 In IP 100.100.100.2 > 100.100.100.1: ICMP echo request, id 26902, seq 213, length 64
22:49:01.458220 Out IP truncated-ip - 24 bytes missing! 100.100.100.1 > 100.100.100.2: ICMP echo reply, id 26902, seq 213, length 64
^C
12 packets received by filter
0 packets dropped by kernel
<<< increase capture size to 118bytes, issue still seeen
lab@M320> monitor traffic interface ge-5/1/2 matching icmp no-resolve size 118
verbose output suppressed, use <detail> or <extensive> for full protocol decode
Address resolution is OFF.
Listening on ge-5/1/2, capture size 118 bytes
22:49:07.474277 In IP 100.100.100.2 > 100.100.100.1: ICMP echo request, id 26902, seq 219, length 64
22:49:07.474304 Out IP truncated-ip - 2 bytes missing! 100.100.100.1 > 100.100.100.2: ICMP echo reply, id 26902, seq 219, length 64
22:49:08.477005 In IP 100.100.100.2 > 100.100.100.1: ICMP echo request, id 26902, seq 220, length 64
22:49:08.477026 Out IP truncated-ip - 2 bytes missing! 100.100.100.1 > 100.100.100.2: ICMP echo reply, id 26902, seq 220, length 64
^C
13 packets received by filter
0 packets dropped by kernel
<<< increase capture size to 120 bytes, now packet is completely contained in the buffer:
lab@M320> monitor traffic interface ge-5/1/2 matching icmp no-resolve size 120
verbose output suppressed, use <detail> or <extensive> for full protocol decode
Address resolution is OFF.
Listening on ge-5/1/2, capture size 120 bytes
22:49:14.493764 In IP 100.100.100.2 > 100.100.100.1: ICMP echo request, id 26902, seq 226, length 64
22:49:14.493792 Out IP 100.100.100.1 > 100.100.100.2: ICMP echo reply, id 26902, seq 226, length 64
22:49:15.496438 In IP 100.100.100.2 > 100.100.100.1: ICMP echo request, id 26902, seq 227, length 64
22:49:15.496466 Out IP 100.100.100.1 > 100.100.100.2: ICMP echo reply, id 26902, seq 227, length 64