交换机端口镜像命令是什么呀?麻烦说的详细点

交换机端口镜像命令是什么呀?麻烦说的详细点

第1个回答  2012-09-01
华为5700
[Quidway]observe-port 1 interface GigabitEthernet 0/0/11
//设置11口为监测端口
[Quidway-GigabitEthernet0/0/2]port-mirroring to observe-port 1 outbound
//将2口outbount方向数据镜像到11口

H3C
端口镜像:
建立本地镜像组:[H3C] mirroring-group 1 local //数字”1”是组的名字
在端口视图下设置镜像组源端口和镜像方向:
[H3C-GigabitEthernet1/0/1]mirroring-group 1 mirroring-port <both/inbound/outbound>
//both为双向,inbound是端口入方向,outbound是端口出方向
在端口视图下设置镜像组的监测端口:
[H3C-GigabitEthernet1/0/1] mirroring-group 1 monitor-port

思科系列:
举例:通过交换机的第2号端口监控第1端口的流量
switch(config)#monitor session 1 source interface g0/1
switch(config)#monitor session 1 destination interface g0/2本回答被网友采纳
第2个回答  2012-08-26
型号都不说别人怎么告诉你呀
相似回答