Get the App
SLTechnology News&Howtos  ›  Network Security  › 

H3C Port Mirror-grab packet

Shulou Source: shulou.com Published: 2022-06-01 08:40:59 10月03日 Update

In the past, the commands for different models of H3C devices were also different. After a brief check, we found that all the devices above S3100 (including S36, S55, S75, etc.) are configured to capture packages as follows (that is, configure a local group first, and then configure monitor port and mirror port respectively):

# create a local mirror group.

System-view

[Sysname] mirroring-group 1 local

# configure the source port and destination port for the local mirror group.

[Sysname] mirroring-group 1 mirroring-port Ethernet 1-0-1 Ethernet 1-0-2 both

[Sysname] mirroring-group 1 monitor-port Ethernet 1-0-3

# displays the configuration information of the local mirror group 1.

[Sysname] display mirroring-group 1

Mirroring-group 1:

Type: local

Status: active

Mirroring port:

Ethernet1/0/1 both

Ethernet1/0/2 both

Monitor port: Ethernet1/0/3

After the configuration is completed, users can monitor all messages on Ethernet on 1-0-3.

Attachment: http://down.51cto.com/data/2367747

Tags: Configuration mirroring port information commands that is messages users destinations devices accessories monitoring Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Shulou Information Shulou Technology NVidia vpn