首页 科技问答 mer5200镜像端口怎么设置(镜像口怎么配置)

mer5200镜像端口怎么设置(镜像口怎么配置)

科技问答 161
1689174979,

问题描述:

mer5

组网及组网描述:


5小时前提问

参考mer 镜像配置:

https://www.h3c.com/cn/d_

需求

Device通过端口GigabitEthernet1/0/1和GigabitEthernet1/0/2分别连接市场部和技术部,并通过端口GigabitEthernet1/0/3连接Server。

通过配置源端口方式的本地端口镜像,使Server可以监控所有进、出市场部和技术部的报文。

2. 组网图

图1-3 本地端口镜像配置组网图

3. 配置步骤

# 创建本地镜像组1。

<Device> system-view

[Device] mirroring-group 1 local

# 配置本地镜像组1的源端口为GigabitEthernet1/0/1和GigabitEthernet1/0/2,对源端口收发的报文都进行镜像,目的端口为GigabitEthernet1/0/3。

[Device] mirroring-group 1 mirroring-port gigabitethernet 1/0/1 gigabitethernet 1/0/2 both

[Device] mirroring-group 1 monitor-port gigabitethernet 1/0/3

# 在目的端口GigabitEthernet1/0/3上关闭生成树协议。

[Device] interface gigabitethernet 1/0/3

[Device-GigabitEthernet1/0/3] undo stp enable

[Device-GigabitEthernet1/0/3] quit

4. 验证配置

# 显示所有镜像组的配置信息。

[Device] display mirroring-group all

Mirroring group 1:

    Type: Local

    Status: Active

    Mirroring port:

        GigabitEthernet1/0/1  Both

        GigabitEthernet1/0/2  Both

    Monitor port: GigabitEthernet1/0/3

配置完成后,用户可以通过Server监控所有进、出市场部和技术部的报文。

5小时前回答

暂无

您好,参考配置指导

12-镜像配置-新华三集团-H3C

5小时前回答

暂无

您可以参考以下方法:

镜像端口(port mirroring)是一种网络设备上常用的功能,它可以将一个或多个端口的数据流量复制到某一个指定端口来实现对网络的监控。12 H3C mer5 本地端口镜像功能,即由本设备将镜像报文转发至数据检测设备,这种方式实现的端口镜像称为本地端口镜像。2 您可以在 配置视图下使用 port-mirror name source-port { ingress | egress | both } destination-port 命令来配置本地端口镜像规则,其中name是镜像规则名称,source-port是源端口,destination-port是目的端口,ingress表示入方向流量,egress表示出方向流量,both表示双向流量。23 例如,如果您想要将ge1接口的双向流量复制到ge2接口,您可以在配置视图下执行如下命令: port-mirror 镜像1 ge1 both ge2 复制

以上信息来自以下搜索结果:

H3C MER5

希望这些信息对您有帮助。如果您还有其他问题,请随时提问。

5小时前回答

暂无

你正在内容来源:知了社区,mer5200镜像端口怎么设置