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)#

交换机转发问题?当多个端口同时向一个目的端口转发数据时,交换机是怎工作的?

怎么会一个一个转发啊,是同时工作的
交换机有个重要指标 背板速率和吞吐量
 

怎给cisco交换机的端口指定ID值?帮忙给出配置命令

你是要用生成树上面的吗。
1.端口ID为2字节,6位的端口优先级,10位的端口编号;
2.端口ID=端口优先级+端口编号;
3.先比较端口优先级,再比较端口编号,越小越优先;
4.端口优先级的范围0-255,缺省值128.

定义端口开销(针对所有VLAN).
Switch(config-if)#spanning-tree cost 18

针对每个VLAN定义特定的端口开销.
Switch(config-if)#spanning-tree vlan 200 cost 17

设置端口优先级:
Switch(config-if)#spanning-tree vlan 200 port-priority [0-255]

1.定义hello时间:
switch(config)#spanning-tree vlan {id} hello-time {second}
2.定义转发延迟:
Switch(config)#spanning-tree vlan {id} forward-time {second}
3.定义最大寿命时间:
Switch(config)#spanning-tree vlan {id} max-age {second}
 

相关内容

    暂无相关文章