VoIP Ethernet Capture
From TBwiki
(Difference between revisions)
(fix TMG7800 links) |
(rework page) |
||
Line 4: | Line 4: | ||
− | == Physical Setup == | + | == TMG800 == |
+ | |||
+ | === 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. | ||
− | |||
− | |||
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. | ||
− | *Access | + | === Preparing Tmedia for Capture === |
− | *Access the telecom baseboard | + | *Access the [[Tmedia]] unit using SSH. |
+ | *Access the telecom baseboard from 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. | *Start Wireshark to capture the Ethernet packets with the connected laptop. | ||
Line 32: | Line 33: | ||
== TMG3200 == | == TMG3200 == | ||
+ | === Physical Setup === | ||
+ | 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. | ||
+ | |||
+ | === Preparing Tmedia for Capture === | ||
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. | ||
− | + | *Access the [[Tmedia]] unit using SSH. | |
− | + | *Access the telecom baseboard from the [[Tmedia]] using telnet. | |
− | *Access | + | |
− | *Access the telecom baseboard | + | |
telnet 172.31.1.1 | telnet 172.31.1.1 | ||
*Start Wireshark to capture the Ethernet packets with the connected laptop. | *Start Wireshark to capture the Ethernet packets with the connected laptop. | ||
Line 56: | Line 60: | ||
== TMG7800 == | == TMG7800 == | ||
+ | === Physical Setup === | ||
+ | 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. | ||
+ | |||
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. | ||
− | + | === Preparing Tmedia for Capture === | |
− | + | *Access the telecom unit ([[TMG7800|TMG7800-TE]], [[TMG7800|TMG7800-DS3]] or [[TMG7800|TMG7800-STM1]]) you want to capture using telnet. | |
− | + | ||
− | *Access the telecom unit ([[TMG7800|TMG7800-TE]], [[TMG7800|TMG7800-DS3]] or [[TMG7800|TMG7800-STM1]]) using telnet. | + | |
telnet [eth0 IP address of the telecom unit] | 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. |
Revision as of 09:21, 17 May 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 |
TMG800
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.
Once the physical setup is ready. It is possible to start capturing the RTP.
Preparing Tmedia for Capture
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
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.
Preparing Tmedia for Capture
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 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
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.
Once the physical setup is ready. It is possible to start capturing the RTP.
Preparing Tmedia for Capture
- Access the telecom unit (TMG7800-TE, TMG7800-DS3 or TMG7800-STM1) you want to capture 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