思科2960 监听端口设置

2960 监听端口:2监听1

一、

Switch#config t
Switch(config)#monitor session 1 destination interface f0/2
Switch(config)#monitor session 1 source interface f0/1

二、查看

exit
en
show monitor

三 取消

Switch(config)#no monitor session 1 destination interface f0/2
Switch(config)#no monitor session 1 source interface f0/1

也可以

no monitor session 1 

因为这是1组的镜像

原文地址:https://www.cnblogs.com/realhope/p/4317182.html