You can configure Port Mirroring on SonicOS to send a copy of network packets seen on one or more switch ports (or on a VLAN) to another switch port called the mirror port. By connecting to the mirror port, you can monitor the traffic passing through the mirrored port(s).
NETWORK | Switching > Port Mirroring allows you to assign mirror ports to mirror ingress, egress or bidirectional packets coming from and/or to a group of ports.
Monitor traffic on the mirrored port(s) by connecting to the mirror port.
| Group Name | Name of the interface group. |
| Mirror Port | Interface used as the mirror port, that is, the port that monitors other ports on the selected direction. |
| Direction |
Direction of the traffic being mirrored:
|
| Ingress | Number of packets arriving on the mirrored port(s). For egress-only ports, this is always 0. |
| Egress |
Number of packets sent out on the mirrored port(s). For ingress-only ports, this is always 0. |
| Enable | Indicates whether mirroring is enabled – a checkmark is in the checkbox – or disabled – the checkbox is blank – for the group. |
| Configure | Contains the Edit and Delete icons for the group entry and a Delete icon for each port in the group. |
To create a new port mirroring group
Click +Add. The Add Mirror Group dialog displays.
Enter a descriptive name for the group into the Interface Group Name field. The default name is New Group.
From the All Interfaces list:
From the All Interfaces list:
To enable port mirroring for these ports, select Enable.
Only one ingress group and one egress group can be enabled at one time. If a group has both directions and it is enabled, the individual ingress and egress groups or another group with both directions cannot be enabled. The individual ingress and egress groups can be enabled separately.
This option is dimmed until you specify the mirror port and its mirrored ports.
If you did not enable the mirrored group when you created it, you can enable mirroring on the Groups table by selecting Enable for the mirrored group.
You can edit all attributes of a mirrored group except the mirror port, which is dimmed.
To edit a port mirroring group
Make the changes to any of the options.
You can add or delete mirrored ports, but not the mirror port itself. If you delete a member of the group, no confirmation message is displayed.
If mirroring has been enabled for the group, Enable is selected. To disable port mirroring for these ports, deselect Enable.
Only one ingress group and one egress group can be enabled at one time. If a group has both directions and it is enabled, the individual ingress and egress groups or another group with both directions cannot be enabled. The individual ingress and egress groups can be enabled separately.
You can delete members of a mirror group, a mirror group, multiple groups, or all groups.
You can delete a member of a port group as described in Editing a Port Mirroring Group or you can delete it in the Groups table.
To remove a port mirror group in the Groups table
Either:
To remove multiple port mirror groups