Switches: Port mirroring

Topic:

This article describes how to configure port mirroring on Datto Switches.

Environment:

  • Datto Switches

Description

Port Mirroring sends copies of packets detected on one or more ports of a switch to another port on the same switch. Network administrators commonly use it to:

  • efficiently collect and analyze data on active networks.
  • diagnose or debug issues.

All Datto Switches support port mirroring. Switches can have a maximum of eight ports mirrored to one port, and up to four active, concurrent mirroring sessions on any single switch. You can use switches in conjunction with Link Aggregation to mirror traffic from a LAG into another port for analysis.

Procedure

Navigation

In Datto Network Manager's Navigation menu, click Switches, then select Port Settings from the drop-down menu.

mceclip0.png
Figure 1: Port Settings

Mirroring Ports

1. Select the source and destination ports in the leftmost column of the port list, then click the Mirror button.

mceclip1.png
Figure 2: Selecting ports in the port list

2. Select the port from which you want to mirror the traffic by choosing it from the Destination ID drop-down menu. Other ports will automatically become sources.

mceclip3.png
Figure 3: Destination Port ID

3. Use the Source Port ID(s) drop-down menu to specify whether each port will transmit Tx-only, Rx-only, or both types of traffic. When you finish, click the OK button.

mceclip4.png
Figure 4: Source port IDs & transmission types

4. The port mirroring session will appear in the Mirror column of the port list. Each session will be color-coded.

mceclip5.png
Figure 5: Active port mirroring sessions

Unmirroring Ports

1. In the port list, select the check boxes next to the mirrored ports, then click the Unmirror button. You can select multiple ports at a time.

mceclip7.png
Figure 6: Selecting mirrored ports

2. A dialog box will appear. Click OK.

mceclip9.png
Figure 7: Dialog prompt for removing ports

Important Notes

  • If you unmirror the destination port, you will end the entire mirror session.
  • If you unmirror any port in a two-port mirror, you will end the entire mirror session.
  • You cannot mirror ports that are also being aggregated with each other.
  • You can mirror one or more ports of an aggregate group into a port that is not part of an aggregate group.