TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide
134
Chapter 20 Port Mirror Commands
Port Mirror refers to the process of forwarding copies of packets from one port to a monitoring port.
Usually, the monitoring port is connected to data diagnose device, which is used to analyze the
monitored packets for monitoring and troubleshooting the network.
monitor session destination interface
Description
The monitor session destination interface command is used to configure the
monitoring port. Each monitor session has only one monitoring port. To change
the monitoring port, please use the monitor session destination
interface
command by changing the port value. To delete the corresponding monitor
session configuration, please use no monitor session command.
Syntax
monitor session session_num destination interface { fastEthernet port |
gigabitEthernet port }
no monitor session session_num
Parameter
session_num —— The monitor session number, the value of which is 1.
port —— The Fast/Gigabit Ethernet port number.
Command Mode
Global Configuration Mode
Example
Create monitor session 1 and configure Fast Ethernet port 1 as the monitoring
port:
TL-SL3428(config)#monitor session 1 destination interface fastEthernet
1/0/1
Delete the monitor session 1:
TL-SL3428(config)#no monitor session 1