思科交换机抓包


monitor session 1 source interface fastEthernet 0/10, GigabitEthernet 0/2 both
// 监听原地接口,可以指定多个接口作为数据源,both表示接受和发送都包含
monitor session 1 destination interface fastEthernet 0/1
// 数据发送接口,数据目的接口,直接接到电脑开始抓有线网卡的接口

// 查看monitor状态
Switch#show monitor
Session 1
---------
Type : Local Session
Source Ports :
Both : Fa0/10,Gi0/2
Destination Ports : Fa0/1
Encapsulation : Native
Ingress : Disabled


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM