VoIP Ethernet Capture
From TBwiki
(Difference between revisions)
Candy Chan (Talk | contribs) (→Start Capturing) |
(add different pages for each tmedia product) |
||
Line 2: | Line 2: | ||
'''Warning''': When configuring a port as a mirror, it is important to connect that Ethernet port directly to a host. Otherwise, it will create problem with to the Ethernet switch | '''Warning''': When configuring a port as a mirror, it is important to connect that Ethernet port directly to a host. Otherwise, it will create problem with to the Ethernet switch | ||
+ | |||
== Physical Setup == | == Physical Setup == | ||
To do a VoIP capture it is required to: | To do a VoIP capture it is required to: | ||
*Connect one of the VoIP Ethernet port to a laptop with [http://www.wireshark.org/ Wireshark] installed and 1Gbs Network card. | *Connect one of the VoIP Ethernet port to a laptop with [http://www.wireshark.org/ Wireshark] installed and 1Gbs Network card. | ||
+ | |||
+ | |||
+ | == TMG800 == | ||
+ | Once the physical setup is ready. It is possible to start capturing the RTP. | ||
+ | |||
*Access to the [[Tmedia]] unit using SSH. | *Access to the [[Tmedia]] unit using SSH. | ||
*Access the telecom baseboard of the [[Tmedia]] using telnet. | *Access the telecom baseboard of the [[Tmedia]] using telnet. | ||
telnet 172.31.1.1 | telnet 172.31.1.1 | ||
+ | *Start Wireshark to capture the Ethernet packets with the connected laptop. | ||
+ | *Do one of the following command to capture packets according to your setup. | ||
+ | |||
+ | === Capture VoIP0 with VoIP1 === | ||
+ | *For capturing all Ethernet packets that goes through VoIP0 with VoIP1 | ||
+ | mv88eMonitor 0x1 0x1 1 | ||
+ | *To stop the capture | ||
+ | mv88eMonitor 0 0 1 | ||
+ | |||
+ | === Capture VoIP1 with VoIP0 === | ||
+ | *For capturing all Ethernet packets that goes through VoIP1 with VoIP0 | ||
+ | mv88eMonitor 0x2 0x2 0 | ||
+ | *To stop the capture | ||
+ | mv88eMonitor 0 0 0 | ||
+ | |||
+ | |||
+ | == TMG3200 == | ||
+ | Once the physical setup is ready. It is possible to start capturing the RTP. | ||
+ | |||
+ | *Start Wireshark to capture the Ethernet packets with the connected laptop. | ||
+ | *Do one of the following command to capture packets according to your setup. | ||
+ | *Access to the [[Tmedia]] unit using SSH. | ||
+ | *Access the telecom baseboard of the [[Tmedia]] using telnet. | ||
+ | telnet 172.31.1.1 | ||
+ | *Start Wireshark to capture the Ethernet packets with the connected laptop. | ||
+ | *Do one of the following command to capture packets according to your setup. | ||
+ | |||
+ | === Capture VoIP0 with VoIP1 === | ||
+ | *For capturing all Ethernet packets that goes through VoIP0 with VoIP1 | ||
+ | mv88eMonitor 0x4 0x4 3 | ||
+ | *To stop the capture | ||
+ | mv88eMonitor 0 0 3 | ||
− | + | === Capture VoIP1 with VoIP0 === | |
+ | *For capturing all Ethernet packets that goes through VoIP1 with VoIP0 | ||
+ | mv88eMonitor 0x8 0x8 2 | ||
+ | *To stop the capture | ||
+ | mv88eMonitor 0 0 2 | ||
− | |||
+ | == TMG7800 == | ||
Once the physical setup is ready. It is possible to start capturing the RTP. | Once the physical setup is ready. It is possible to start capturing the RTP. | ||
+ | *Start Wireshark to capture the Ethernet packets with the connected laptop. | ||
+ | *Do one of the following command to capture packets according to your setup. | ||
+ | *Access to the [[TMG7800-CTRL]] unit using SSH. | ||
+ | *Access the telecom unit ([[TMG7800-TE]], [[TMG7800-DS3]] or [[TMG7800-STM1]]) using telnet. | ||
+ | telnet [eth0 IP address of the telecom unit] | ||
*Start Wireshark to capture the Ethernet packets with the connected laptop. | *Start Wireshark to capture the Ethernet packets with the connected laptop. | ||
*Do one of the following command to capture packets according to your setup. | *Do one of the following command to capture packets according to your setup. |
Revision as of 08:38, 4 March 2011
The Tmedia product can configure one of its VoIP Ethernet ports to do Port Mirroring. This is useful when investigating RTP, Codecs or IP Tones issues.
Warning: When configuring a port as a mirror, it is important to connect that Ethernet port directly to a host. Otherwise, it will create problem with to the Ethernet switch
Contents |
Physical Setup
To do a VoIP capture it is required to:
- Connect one of the VoIP Ethernet port to a laptop with Wireshark installed and 1Gbs Network card.
TMG800
Once the physical setup is ready. It is possible to start capturing the RTP.
telnet 172.31.1.1
- Start Wireshark to capture the Ethernet packets with the connected laptop.
- Do one of the following command to capture packets according to your setup.
Capture VoIP0 with VoIP1
- For capturing all Ethernet packets that goes through VoIP0 with VoIP1
mv88eMonitor 0x1 0x1 1
- To stop the capture
mv88eMonitor 0 0 1
Capture VoIP1 with VoIP0
- For capturing all Ethernet packets that goes through VoIP1 with VoIP0
mv88eMonitor 0x2 0x2 0
- To stop the capture
mv88eMonitor 0 0 0
TMG3200
Once the physical setup is ready. It is possible to start capturing the RTP.
- Start Wireshark to capture the Ethernet packets with the connected laptop.
- Do one of the following command to capture packets according to your setup.
- Access to the Tmedia unit using SSH.
- Access the telecom baseboard of the Tmedia using telnet.
telnet 172.31.1.1
- Start Wireshark to capture the Ethernet packets with the connected laptop.
- Do one of the following command to capture packets according to your setup.
Capture VoIP0 with VoIP1
- For capturing all Ethernet packets that goes through VoIP0 with VoIP1
mv88eMonitor 0x4 0x4 3
- To stop the capture
mv88eMonitor 0 0 3
Capture VoIP1 with VoIP0
- For capturing all Ethernet packets that goes through VoIP1 with VoIP0
mv88eMonitor 0x8 0x8 2
- To stop the capture
mv88eMonitor 0 0 2
TMG7800
Once the physical setup is ready. It is possible to start capturing the RTP.
- Start Wireshark to capture the Ethernet packets with the connected laptop.
- Do one of the following command to capture packets according to your setup.
- Access to the TMG7800-CTRL unit using SSH.
- Access the telecom unit (TMG7800-TE, TMG7800-DS3 or TMG7800-STM1) using telnet.
telnet [eth0 IP address of the telecom unit]
- Start Wireshark to capture the Ethernet packets with the connected laptop.
- Do one of the following command to capture packets according to your setup.
Capture VoIP0 with VoIP1
- For capturing all Ethernet packets that goes through VoIP0 with VoIP1
mv88eMonitor 0x4 0x4 3
- To stop the capture
mv88eMonitor 0 0 3
Capture VoIP1 with VoIP0
- For capturing all Ethernet packets that goes through VoIP1 with VoIP0
mv88eMonitor 0x8 0x8 2
- To stop the capture
mv88eMonitor 0 0 2