TP-Link TL-SG3210 Switch User Manual


 
129
monitor session source interface
Description
The monitor session source interface command is used to configure the
monitored port. To delete the corresponding monitored port, please use no
monitor session source interface command.
Syntax
monitor session session_num source interface gigabitEthernet port-list
mode
no monitor session session_num source interface gigabitEthernet port-list
mode
Parameter
session_num —— The monitor session number, ranging from 1 to 4.
port-list —— List of monitored port. It is multi-optional.
mode —— The monitor mode. There are three options: rx, tx and both. Rx
(ingress monitoring mode), means the incoming packets received by the
monitored port will be copied to the monitoring port. TX (egress monitoring
mode), indicates the outgoing packets sent by the monitored port will be copied
to the monitoring port. Both (ingress and egress monitoring), presents the
incoming packets received and the outgoing packets sent by the monitored port
will both be copied to the monitoring port.
Command Mode
Global Configuration Mode
User Guidelines
1. The monitoring port is corresponding to current interface configuration
mode.
2. Monitored ports number is not limited, but it can’t be the monitoring port at
the same time.
3. Whether the monitoring port and monitored ports are in the same VLAN or
not is not demanded strictly.
4. The monitoring port and monitored ports cannot be link-aggregation
member.
Example
Create monitor session 1, then configure port 4, 5, 7 as monitored port and
enable ingress monitoring: