Actions

Difference between revisions of "ICX-Alphacom Core tcpdump"

From Zenitel Wiki

Line 3: Line 3:
 
==Prerequisites==
 
==Prerequisites==
  
*SSH Console software: PuTTY https://www.putty.org/  
+
*SSH Console software: PuTTY https://www.putty.org/
 
*File transfer software: WinSCP (version 5.15.3 used in this guide): WinSCP https://winscp.net/eng/index.php
 
*File transfer software: WinSCP (version 5.15.3 used in this guide): WinSCP https://winscp.net/eng/index.php
 
*Wireshark: https://www.wireshark.org/
 
*Wireshark: https://www.wireshark.org/
Line 9: Line 9:
 
==Login to the ICX-AlphaCom Core Ubuntu environment==
 
==Login to the ICX-AlphaCom Core Ubuntu environment==
 
Using PuTTY, enter the IP Address of the ICX-AlphaCom Core Ubuntu environment
 
Using PuTTY, enter the IP Address of the ICX-AlphaCom Core Ubuntu environment
[[File:Putty Linux.PNG|thumb|473x473px]]
+
[[File:Putty Linux.PNG|473x473px|alt=|left|frameless]]
 
<br style="clear:both;" />
 
<br style="clear:both;" />
  
 
Login to the Ubuntu console using the login details created during Ubuntu installation.
 
Login to the Ubuntu console using the login details created during Ubuntu installation.
[[File:ICX-AlphaCom Core Ubuntu login.jpg|thumb]]
+
[[File:ICX-AlphaCom Core Ubuntu login.jpg|alt=|left|frameless]]
<br style="clear:both;" />
+
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
<br />
 +
 
 +
== TCPdump ==
 +
TCPdump is the linux tool to take a packet trace in the console.  To enable a packet trace of all packets into a file named icxcore.pcap in the current directory, use the following command;
 +
 
 +
sudo tcpdump -s 0 -w icxcore.pcap
 +
 
 +
You will need to enter the root password for Ubuntu created during installation.
 +
 
 +
The packet trace will commence immediately, and will only stop when requested to by issuing the escape code CTRL + C.
 +
 
 +
 
 +
 
 +
There are many options for TCPdump, and you can do further reading here using the command man tcpdump
 +
 
 +
 
  
 
... and copy the ICX-Core installation file from your computer to the virtual machine:
 
... and copy the ICX-Core installation file from your computer to the virtual machine:
[[File:ICX VB28.png|thumb|left|500px]]
 
 
<br style="clear:both;" />
 
<br style="clear:both;" />
  

Revision as of 01:22, 4 February 2020

Icx icon.png

This article describes how to use TCPdump to take a packet trace from the ICX-AlphaCom Core Ubuntu environment

Prerequisites

Login to the ICX-AlphaCom Core Ubuntu environment

Using PuTTY, enter the IP Address of the ICX-AlphaCom Core Ubuntu environment


Login to the Ubuntu console using the login details created during Ubuntu installation.





TCPdump

TCPdump is the linux tool to take a packet trace in the console. To enable a packet trace of all packets into a file named icxcore.pcap in the current directory, use the following command;

sudo tcpdump -s 0 -w icxcore.pcap

You will need to enter the root password for Ubuntu created during installation.

The packet trace will commence immediately, and will only stop when requested to by issuing the escape code CTRL + C.


There are many options for TCPdump, and you can do further reading here using the command man tcpdump


... and copy the ICX-Core installation file from your computer to the virtual machine:

Note icon the target folder must be /home/[Username]/


Close WinSCP.