首页 > 代码库 > arista 交换机镜像端口配置(将某一端口的数据转发到指定端口)

arista 交换机镜像端口配置(将某一端口的数据转发到指定端口)

译文:

大致意思是将某些端口的数据发送到指定的端口。



 原文如下

12.5.2.2
Mirror Port Configuration
Port mirroring is the duplication of traffic from a set of source ports onto a destination port. A mirror
session associates a set of source ports to a destination port.
? The monitor session source command configures an Ethernet or port channel interface as the
   source port of a specified port mirroring session.
? The monitor session destination command configures an Ethernet interface as the destination port
   of a specified port mirroring session.


Example

? These commands configure Ethernet interface 8 as the source port and Ethernet interface 7 as
the destination port for the redirect_1 mirroring session. The session mirrors the source port’s
ingress and egress traffic.
switch(config)#monitor session redirect_1 source ethernet 7
switch(config)#monitor session redirect_1 destination ethernet 8
?
This command displays the configuration of the redirect_1 mirroring session.
switch(config)#show monitor session
Session redirect_1
------------------------
Source Ports
Both:
Et7
Destination Port: Et8
switch(config)#

arista 交换机镜像端口配置(将某一端口的数据转发到指定端口)