Monday, 30 September 2013

Mitel Border Gateway tracing

Not being very familiar with linux or the command line I thought I would set down how to do a packet trace on a Mitel Border Gateway as i have been asked to do it on several occasions now.

This captures all the packets going in and out of the interfaces and outputs them to a file which can be read by wireshark.  You are going to need PuTTY (or some other ssh client), WinSCP (or other SCP client) and Wireshark.

Use PuTTY to bring up a command line interface on the MBG and log in as root.  No I cant tell you the root password, it was set by the installer when the MBG was first installed.

At the prompt type   > tcpdump -s0 -i any -w  capturefile.pcap

You can now make calls and keep the capture running until the event or error you are tracking occurs.

To stop the trace type CTRL-C

The file 'capturefile.pcap' will now exist in the root directory

Fire up WinSCP and log into the MBG.  WinSCP provides a file explorer type interface which you can use to get into the root directory and find the capturefile.  Drag and drop it into your harddisk.

The file can now be opened in wireshark for analysis.

John Rogers

Telecom Care Ltd

No comments:

Post a Comment

Please keep your comments polite and free from bad language. Thanks

LetsEncrypt failure on Draytek Routers

 We like to use Draytek Routers on our installs as they are easy to configure and tend to be reliable. As with all things these days https s...