pMaWCJ,H3C S5120V2我要用其中一个网口接计算机用Wireshark来监视其他端口
问题描述:
H3C S51
配置本地端口镜像
本地端口镜像配置举例
1. 组网需求
Device通过端口GigabitEthernet1/0/1和GigabitEthernet1/0/2分别连接市场部和技术部,并通过端口GigabitEthernet1/0/3连接Server。
通过配置源端口方式的本地端口镜像,使Server可以监控所有进、出市场部和技术部的报文。
2. 组网图
图1-4 本地端口镜像配置组网图
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监控所有进、出市场部和技术部的报文。
12小时前回答暂无
S6X00系列交换机本地端口镜像配置方法(命令行版) - 知了社区 (h3c.com)
暂无
你正在,H3C S5120V2我要用其中一个网口接计算机用Wireshark来监视其他端口