常用品牌交换机镜像抓包配置

华为交换机镜像配置
观察口配置:
<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      //观察口配置

 

 

 

 

posted @ 2017-02-18 23:30  myway_liang  阅读(2658)  评论(0编辑  收藏  举报