您好,欢迎来到尚车旅游网。
搜索
您的当前位置:首页H3C S3600 镜像端口实战

H3C S3600 镜像端口实战

来源:尚车旅游网


组网需求

某公司内部通过 S3600-EI 以太网交换机实现各部门之间的互连,网络环境描述如下:

研发部通过端口 Ethernet 1/0/1 接入Switch C; 市场部通过端口 Ethernet 1/0/2 接入Switch C;

数据监测设备连接在 Switch C 的Ethernet 1/0/3 端口上。

网络管理员希望通过数据监测设备对研发部和市场部收发的报文进行监控。 使用本地端口镜像功能实现该需求,在 Switch C 上进行如下配置: 端口 Ethernet 1/0/1 和Ethernet 1/0/2 为镜像源端口; 连接数据监测设备的端口 Ethernet 1/0/3 为镜像目的端口。 配置步骤 配置 Switch C: # 创建本地镜像组。 system-view

[Sysname] mirroring-group 1 local # 为本地镜像组配置源端口和目的端口。

[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 # 显示本地镜像组 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

配置完成后,用户可以在数据监测设备上监控研发部和市场部收发的所有报文。

刚才远程看了一下楼主的设备。。S3600-SI 真没这个组命令!!! S3600-EI有这个命令 S3600-SI

# 在端口视图下配置Ethernet 1/0/1为镜像源端口,并且对该端口的接收和发送的报文都进行镜像。

system-view

System View: return to User View with Ctrl+Z.

[Sysname] interface Ethernet 1/0/1

[Sysname-Ethernet1/0/1] mirroring-port both (被监听端口)

# 在端口视图下配置Ethernet 1/0/4为镜像目的端口 [Sysname] interface Ethernet 1/0/4

[Sysname-Ethernet1/0/4] monitor-port (监听者)

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- sceh.cn 版权所有 湘ICP备2023017654号-4

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务