How do you set the "Port Mirroring" function in the Industrial Ethernet switch SCALANCE X in order to monitor data transfer from a SCALANCE X port?
This entry describes how to set the "Port Mirroring" function in the Industrial Ethernet switch SCALANCE X in order to monitor data transfer from a SCALANCE X port.
In this example we monitor the data transfer at Port 3 of a SCALANCE X 208. Using a network protocol recording you can monitor the messages sent and received by an S7-1200 CPU connected to Port 3. You can use the Wireshark tool installed on a SIMATIC Field PG to do the network protocol recordings. In order to be able to analyze the data traffic at Port 3 of the SCALANCE X 208 using network protocol recording, you connect the SIMATIC Field PG also to the SCALANCE X 208, at Port 8, for example, and mirror the data traffic at Port 3 at Port 8 (Port Mirroring).
To set the "Port Mirroring" function you open the "Switch" menu in the Web Based Management of the SCALANCE X.
- Enable the "Monitoring Enable" function.
- For "Mirrored Port" you specify the port to be monitored:
Port 3, for example, to which the S7-1200 CPU is connected.
- For "Monitor Port" you specify the port to be used for monitoring:
Port 8, for example, to which the SIMATIC Field PG is connected.
A ring port cannot be used as Monitor Port.
After setting the "Port Mirroring" function in the SCALANCE X you can use the Wireshark to do network protocol recording.
Detailed information about the SCALANCE X Industrial Ethernet switches is available in the manuals below.
|SCALANCE X-200 Configuration Manual||63203259|
|SCALANCE X-200 Operating Instructions||63203633|
|SCALANCE X-300 / SCALANCE X-400 Configuration Manual||19625108|
|SCALANCE X-300 / SCALANCE X-400 Operating Instructions||25248331|
|SCALANCE X-500 Web Based Management Configuration Manual||59604505|