TP-Link TL-SG2452 Switch User Manual


 
TL-SG2424(config)# monitor session 1 source interface gigabitEthernet
1/0/4-5,1/0/7 rx
Delete port 4 in monitor session 1 and its configuration:
TL-SG2424(config)# no monitor session 1 source interface
gigabitEthernet 1/0/4 rx
show monitor session
Description
The show monitor session command is used to display the configuration of
port monitoring.
Syntax
show monitor session [session_num]
Parameter
session_num —— The monitor session number, ranging from 1 to 4. It is
optional. By default, the monitoring configuration of all monitor sessions is
displayed.
Command Mode
Privileged EXEC Mode and Any Configuration Mode
Example
Display the monitoring configuration of monitor session 1:
TL-SG2424(config)# show monitor session 1
Display the monitoring configuration of all monitor sessions:
TL-SG2424(config)# show monitor session
112