配置镜像
用户在eth 0/0/2 观察口在eth 0/0/1 :
从0/0/1 去抓 0/0/2的内容
配置观察口参数
全局视图下
observing-port 1 interface Ethernet0/0/1
配置需要抓包的端口
在相应的端口下
#进入端口
interface Ethernet0/0/2
#配置需要转包的参数
#oubound 为端口转出,inbound 为端口转入 both 为全部
port-mirroring to observe-port 1 outbound
port-mirroring to observe-port 1 inbound
检查配置
#在端口下
disp this
网络抓包
下载wireshark 网线插入eth 0/0/1口,运行
本文详细介绍如何在eth0/0/2端口上配置镜像,通过eth0/0/1端口进行网络抓包。包括设置观察口、指定需要抓包的端口、配置抓包方向以及使用Wireshark进行数据包捕获的过程。

1万+

被折叠的 条评论
为什么被折叠?



