瞻博网络镜像中继端口

网络工程 局域网 瞻博网络 镜子
2022-02-17 21:11:40

我有一个 2 EX4600-40f 的虚拟机箱。我的 ESX 连接的 4 个端口(0/0/1、0/0/2、0/0/3、0/0/4)配置为带有一些 VLAN 的中继模式。我想将我的 4 ESX 的流量(标记)复制到端口(1/0/27)以便分析它。

我已经在 swtich 上配置了一个分析器:

input {
    ingress {
        interface xe-0/0/1.0;
        interface xe-0/0/2.0;
        interface xe-0/0/3.0;
        interface xe-0/0/4.0;
    }
    egress {
        interface xe-0/0/1.0;
        interface xe-0/0/2.0;
        interface xe-0/0/3.0;
        interface xe-0/0/4.0;
    }
}
output {
    interface xe-1/0/21.0;
}

要镜像的端口配置:

xe-0/0/2 {
    unit 0 {family ethernet-switching {
            interface-mode trunk;
            vlan {
                members [ 15 51 123 207 2260-2263 ];

连接网络分析仪的端口:

xe-1/0/21 {
unit 0 {
    family ethernet-switching {
        interface-mode access;

但是我在端口 1/0/21 上服务器收到的数据包上的 vlan 标记不正确,一半的流量被标记,其余的没有。

我能怎么做 ?是否可以镜像中继端口并保留标签?

提前感谢您的回答

1个回答

尝试将接口 xe-1/0/21 置于中继模式而不是访问。我记得根据 MX 平台的经验,我必须在镜像端口上设置类似的选项,同时为数据包进行 layer2 镜像以保留标签。所以也许同样的技巧会在 EX 上完成这项工作。我没有找到这方面的文档。