“H3c port mirror/icg”的版本间的差异
来自WFilter(超级嗅探狗)文档和指南
| 第3行: | 第3行: | ||
= 如何配置端口镜像? = | = 如何配置端口镜像? = | ||
在Device C上进行如下配置: | 在Device C上进行如下配置: | ||
| − | + | 进入系统视图。 | |
| + | |||
<DeviceC> system-view | <DeviceC> system-view | ||
| − | + | ||
| + | 创建本地镜像组。 | ||
| + | |||
[DeviceC] mirroring-group 1 local | [DeviceC] mirroring-group 1 local | ||
| − | + | ||
| + | 为本地镜像组配置源端口和目的端口。 | ||
| + | |||
[DeviceC] mirroring-group 1 mirroring-port ethernet 1/1 ethernet 1/2 both | [DeviceC] mirroring-group 1 mirroring-port ethernet 1/1 ethernet 1/2 both | ||
| + | |||
[DeviceC] mirroring-group 1 monitor-port ethernet 1/3 | [DeviceC] mirroring-group 1 monitor-port ethernet 1/3 | ||
| − | + | ||
| + | 显示所有镜像组的配置信息。 | ||
| + | |||
[DeviceC] display mirroring-group local | [DeviceC] display mirroring-group local | ||
| + | |||
mirroring-group 1: | mirroring-group 1: | ||
type: local | type: local | ||
2014年5月19日 (一) 11:01的版本
H3C ICG系列端口镜像配置
1 如何配置端口镜像?
在Device C上进行如下配置:
进入系统视图。
<DeviceC> system-view
创建本地镜像组。
[DeviceC] mirroring-group 1 local
为本地镜像组配置源端口和目的端口。
[DeviceC] mirroring-group 1 mirroring-port ethernet 1/1 ethernet 1/2 both
[DeviceC] mirroring-group 1 monitor-port ethernet 1/3
显示所有镜像组的配置信息。
[DeviceC] display mirroring-group local
mirroring-group 1:
type: local
status: active
mirroring port:
Ethernet1/1 both
Ethernet1/2 both
monitor port: Ethernet1/3
照这个配置,监控主机接在ethernet1/3端口就可以监控1/1和1/2口的通讯。