当前位置:文档之家› h3c 路由器端口镜像

h3c 路由器端口镜像

端口镜像

端口镜像的方向分为三种:
(1) 入方向:仅对源端口接收的报文进行镜像。(inbound)
(2) 出方向:仅对源端口发送的报文进行镜像。(outbound)
(3) 双向:对源端口接收和发送的报文都进行镜像。(both)

需要将G0/0/1口的全部流量镜像到G0/0/2口,即G0/0/1为源端口,G0/0/2为目的端口。
配置步骤
1、进入配置模式:system-view;
2、创建本地镜像组:mirroring-group 1 local
3、为镜像组配置源端口:mirroring-group 1 mirroring-port
4、为镜像组配置目的端口:mirroring-group 1 monitor-port
配置举例
system-vies
[sysname] mirroring-group 1 local
[sysname] mirroring-group 1 mirroring-port G0/0/1 both (设置源端口,镜像可以根据实际情况灵活选择入方向、出方向及全部流量;both,全部流量;inbound,入方向流量;outbound,出方向流量)
[sysname] mirroring-group 1 mirroring-port G0/0/1 G0/0/1 both ( 源端口为多端口 )
[sysname] mirroring-group 1 monitor-port G0/0/2 (设置目的端口)




相关主题
文本预览
相关文档 最新文档