Packet size limited during capture
I am trying to capture traffic of BGP peering on a cisco router using Embedded Packet Capturing: Even I set the size of the buffer to the maximum: 102400 but still after TCP 3 way handshake I got "Packet size limited during capture" and in the packet end [Packet size limited during capture: BGP truncated].
I am using this config on the router:
monitor capture buffer B1 size 102400 monitor capture point ip process-switched C1 both monitor capture point associate C1 B1 monitor capture point start C1 monitor capture point stop C1 monitor capture buffer B1 export tftp://x.x.x.x/R1.bgp.pcap
in the Wireshark preference snaplen is set to default as well. any ideas what's the issue ?
Does your router support the "length" option?
Cisco IOS Embedded Packet Capture Command Reference
Thanks Chuckc for the reply. But I am using vios-adventerprisek9-m.vmdk.SPA.156-2 and "length" option is not supported
@Chuckc you were correct the problem was the default settings of "Max Element Size : 68 bytes" I fixed it by increasing the Maximum size of element in the buffer (in bytes) like this: "monitor capture buffer B1 size 102400 max-size 1024"