×
Siemens Industry Online Support
Siemens AG
Entry type: FAQ, Entry ID: 67474108, Entry date: 01/30/2013
(1)
Rate

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?

  • Entry
  • Associated product(s)

Description
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).


Fig. 01

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.


Fig. 02

Note
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.

Further Information
Detailed information about the SCALANCE X Industrial Ethernet switches is available in the manuals below.
 

Manual Entry ID
SCALANCE X-100 24327130
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
Table 01

Additional Keywords
Port mirroring

Security information
In order to protect plants, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about industrial security, please visit
http://www.siemens.com/industrialsecurity.