TP-Link TL-SG3210 TL-SG3210 V1 CLI Reference Guide - Page 135
Port Mirror Commands, mirror add
View all TP-Link TL-SG3210 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 135 highlights
Chapter 22 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 enable Port Mirror function. Syntax mirror add [mirrored port] [mirroring port] { none | ingress | egress | both } [group-num] Parameter mirrored port -- The port to be monitored. mirroring port -- The mirroring port. none -- Remove the mirrored port from the current mirror group. 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-- The group number of mirrior group. Command Mode Global Configuration Mode Example Configure port 3 as mirrored port, port 4 as mirroring port, the mirror mode as both and group number as 1 : TP-LINK(config)# mirror add 3 4 both 1 User Guidelines 1. The mirroring port is corresponding to current interface configuration mode. 2. Mirrored ports number is not limited, but it can't be the mirroring port at the 123