H3C S5024E-PWR-X 端口镜像及抓包实例

创建端口镜像组

[H3C]mirroring-group 1 local

创建源端口

[H3C]mirroring-group 1 mirroring-port gigabitethernet 1/0/11 ?
GigabitEthernet GigabitEthernet interface
Ten-GigabitEthernet Ten-GigabitEthernet interface
Vlan-interface VLAN interface
both Monitor the inbound and outbound packets
inbound Monitor the inbound packets
outbound Monitor the outbound packets
to Range of interfaces

监听源端口进出口数据流量

[H3C]mirroring-group 1 mirroring-port gigabitethernet 1/0/11 both

创建监听端口

[H3C]mirroring-group 1 monitor-port gigabitethernet 1/0/23

检查端口镜像组

[H3C]display mirroring-group all
Mirroring group 1:
Type: Local
Status: Active
Mirroring port:
GigabitEthernet1/0/11 Both
Monitor port: GigabitEthernet1/0/23

打开Wireshark 输入端口地址监听开始

 

posted @ 2021-02-18 16:13  RxR  阅读(475)  评论(0编辑  收藏  举报