Chapter 24 Port Mirror Commands; Mirror Add - TP-Link TL-SG5412F Reference Manual

24-port gigabit l2 managed switch with 4 sfp slots; 12-port gigabit sfp l2 managed switch with 4 combo 1000base-t ports
Hide thumbs Also See for TL-SG5412F:
Table of Contents

Advertisement

Chapter 24 Port Mirror Commands

Port Mirror refers to the process of forwarding copies of packets from one port to a mirroring port.
Usually, the mirroring port is connected to data diagnose device, which is used to analyze the
mirrored packets for monitoring and troubleshooting the network.

mirror add

Description
The mirror add command is used to configure Port Mirror function, to create a
mirror group or add a mirrored port to a mirror group.
Syntax
mirror add mirrored-port mirroring-port {none|egress|ingress|both} group-num
Parameter
mirrored-port —— List of mirrored port.
mirroring-port —— Specify the mirroring port which obtain the packets of the
mirrored port.
ingress —— Ingress monitoring. Select this option, the incoming packets
received by the mirrored port will be copied to the mirroring port.
egress —— Egress monitoring. Select this option, the outgoing packets sent by
the mirrored port will be copied to the mirroring port.
both —— Ingress and Egress monitoring. Select this option, the incoming
packets received and the outgoing packets sent by the mirrored port will both be
copied to the mirroring port.
group-num —— Configure the mirror group number you want to configure.
Command Mode
Global Configuration Mode
User Guidelines
1.
2.
3.
Example
Configure the mirror group 1, port 2,5,6,7 and 9 as mirrored ports, port 10 as the
Mirrored ports number is not limited, but it can't be the mirroring port at the
same time.
Whether the mirroring port and mirrored ports are in the same VLAN or not
is not demanded strictly.
The mirroring port and mirrored ports cannot be link-aggregation member.
131

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TL-SG5412F and is the answer not in the manual?

This manual is also suitable for:

Tl-sg5428

Table of Contents