Abstract:
This document provides a description of configuring and using the Packet Capture ability
Products:
CR Series HMI / Graphite® HMI / DA Series Data Station
Use Case:
Debugging Ethernet communications of Crimson databases.
Required Software:
Crimson® 3.1 Build 3111.000 or later
Introduction
Diagnosing Ethernet communication problems is best done using a traffic capture. This typically requires a hub or a managed switch configured for port mirroring. As of build 3111.000 of Crimson 3.1, Crimson devices are capable of generating their own capture files in a format that can be opened with software such as Wireshark.
Enabling Packet Capture
1. Open the Crimson database loaded into the unit.
2. Navigate to the Web Server section.
3. Enable the web server, it is enabled by default.
4. Click on the Features tab.
5. Referring to Figure 1, set the System Pages to Enabled.
6. Set Packet Capture to Enabled.
Figure 1.
7. Download the database to the unit.
Creating the Packet Capture
1. Access the units web server, as shown in Figure 2.
Figure 2.
2a. From the top bar click System - Network Capture.
OR
2b. Click the System Diagnostics link, followed by the Network Capture link.
3. Referring to Figure 3, configure the capture.
Figure 3.
4. Set the Capture Source to the Ethernet port that is connected to the device in question, Ethernet 1 in this example.
5. Set the TCP Capture to the type of traffic to capture.
Disabled: do not capture any TCP traffic.
Specific Port: only capture traffic on a specific TCP port.
TCP Port: the TCP port to capture, 502 in this example (the database is configured for Modbus TCP).
All Non-Web traffic: capture all traffic, except for the traffic generated by the web server.
All Traffic: capture ALL TCP traffic.
6. Set the UDP Capture to the type of UDP traffic to capture.
Disabled: do not capture any UDP traffic.
Specific Port: only capture traffic on a specific UDP port.
UDP Port: the UDP port to capture.
All Traffic: capture ALL UDP traffic.
7. Set the ARP Capture setting as required.
Disabled: do not capture ARP traffic.
Enabled: capture ARP traffic, this is good to see if there are devices on the network attempting to connect to other devices.
8. Click the Start Capture button to begin the capture.
9. Allow the capture to run as long as needed.
10. Referring to Figure 4, click the Stop Capture button.
Figure 4.
11. Referring to Figure 5, click the Download the network capture. link below the Start Capture button.
Figure 5.
12. Referring to Figure 6, open the capture in the preferred software, Wireshark in this case.
Figure 6.
13. Analyze the capture as needed.
Disclaimer
It is the customer's responsibility to review the advice provided herein and its applicability to the system. Red Lion makes no representation about specific knowledge of the customer's system or the specific performance of the system. Red Lion is not responsible for any damage to equipment or connected systems. The use of this document is at your own risk. Red Lion standard product warranty applies.
Red Lion Technical Support
If you have any questions or trouble contact Red Lion Technical Support by clicking here or calling 1-877-432-9908.
For more information: http://www.redlion.net/support/policies-statements/warranty-statement