Capture .pcap trace from CG board using cgpcap tool
- 1 IntroductionÂ
- 2 Usage
- 3 Options
- 4 Downloads
IntroductionÂ
The cgpcap tool captures IP packets from a Dialogic® CG series Media Board to a .pcap file than can be viewed using Wireshark.Â
The tool can trace one port or all ports, but note that full tracing could overload the board. For example, a CG 6565 runs at about 26% CPU with 120 ports, full duplex 20 msec g711, but turning on full tracing increases that to about 47%. Tracing a single port costs under 1%.
This tracing capability is included in all CG series runtimes built after Mar 3 2010 for Natural Access 2005, R8 or R9.
Usage
cgpcap [Options]
Options
-b Board Number CG board (Default: 0) -c Allow to clobber existing file -d {in|out|both} Direction (Default: both) -f filename Output file (Default: ./cgboard.pcap) -i IPv4 address Remote IP address (Default: any) -m size Packet size limit (Default: 1520) -p port Remote port (0 = any) (Required)
Downloads
 Linux 3, requires patches 9108 and 9111
 Windows - NA 2005 -- requires an NA-2005 runtime patch newer than Mar 3 2010
 Windows - R8 -- requires an NA8.x runtime patch newer than Mar 3 2010
 Sparc Solaris (mixed mode) -- requries NA 9.0.4, or a runtime patch newer than Mar 3 2010
 Sparc Solaris (64 bit) -- requires a runtime patch newer than Mar 3 2010
 Intel Solaris -- requires a runtime patch newer than Mar 3 2010
 Linux 32-bit -- requires a runtime patch newer than Mar 3 2010Â
 Linux 64-bit -- requires a runtime patch newer than Mar 3 2010Â
 Windows version -- requries NA 9.0.2 or later, or a runtime patch newer than Mar 3 2010
  64-bit Windows Version -- requries NA 9.0.2 or later, or a runtime patch newer than Mar 3 2010
 Most recent runtime patches, as of Jul 29, 2013:
               NA9       NA8      NA2005
CG6565Â Â 9394Â Â Â Â Â Â Â 9392Â Â Â Â Â Â 9396
CG6060Â Â 9394Â Â Â Â Â Â Â 9307Â Â Â Â Â Â 9232Â
Â