華為交換機鏡像配置
觀察口配置: <huawei-switch>system-view [huawei-switch]observe-port 1 interface GigabitEthernet1/0/8 //接抓包終端電腦 鏡像口配置: <huawei-switch>system-view [huawei-switch]interface Eth-Trunk 1 [huawei-switch-Eth-Trunk1]port-mirroring to observe-port 1 outbound //抓包鏡像問題源 //在高級版本,可以在聚合接口配置鏡像源。
思科交換機鏡像配置
SW1(config)#do show run | sec monitor
monitor session 1 source interface Fa1/1 - 2 <rx or tx or both>
//rx為下行的流量,tx為上行的流量,both為上、下行
monitor session 1 destination interface Fa1/0 //觀察口配置
Juniper交換機鏡像配置
set ethernet-switching-options analyzer port_mirror input ingress interface ge-0/0/1.0 //下行流量鏡像
set ethernet-switching-options analyzer port_mirror input egress interface ge-0/0/1.0 //上行流量鏡像
set ethernet-switching-options analyzer port_mirror output interface ge-0/0/0.0 //觀察口配置
