您的位置:首页 > 其它

Cisco3560端口镜像设置

2013-06-28 09:50 253 查看
例1:针对vlan流量进行监控sw-1#show monitor 检查是否已存在镜像的配置sw-1#conf t 进入全局模式sw-1<config>#monitor session1sourcevlan 3 - 10rx -----------监控vlan 3 -10sw-1<config>#monitor session1destinationint f0/24 -----------把信息复制到f0/24 sw-1<config>#end 返回sw-1#show monitor注意: 如果F0/24所接电脑属VLAN 3且需要远程,可以用monitor session1destinationint f0/24 ingress vlan 3 例2 :监控某一指定的端口sw-1#show monitor 检查是否已存在镜像的配置sw-1#conf t 进入全局模式sw-1<config>#monitor session2sourceint f0/12rx 监控端口f0/12sw-1<config>#monitor session2destinationint f0/24把信息复制到f0/24sw-1<config>#end 返回sw-1#show monitor session2经过以上配置后,就可以用sinffer进行抓包了!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: