瞻博网络 MX - vlan-ccc 双标记为未标记

网络工程 VLAN 聚光灯 瞻博网络 vpls
2021-07-15 15:16:16

在我们客户的界面上,我们配置了双重标签。此接口使用 vlan-ccc 封装,因为它用于 l2circuit 邻居配置。我的问题是:如何将这个双标记接口更改为未标记的 l2circuit 连接?

unit 1158 {
    encapsulation vlan-ccc;
    vlan-tags outer 0x8100.1158 inner 0x8100.602;
    family ccc {
        mtu 1520;
    }
}

protocols l2circuit 
    traceoptions {
    file l2circuit.log files 5;
    flag all;
}
neighbor xxx.xxx.xxx.xxx {
    interface xe-0/0/3.1158 {
        virtual-circuit-id 1158;
        mtu 1520;
    }
}

这有效,但在 l2 电路的另一端,我必须配置双重标记,我真的不想这样做。我怎样才能做到这一点,这样我就不必在另一边使用标记?

1个回答

您应该能够执行以下操作:

protocols {
    l2circuit {
        neighbor xxx.xxx.xxx.xxx {
            interface xe-0/0/3.1158 {
                virtual-circuit-id 1158;
                mtu 1520;
                ignore-encapsulation-mismatch;
            }
        }
    }
}
...
interfaces {
    xe-0/0/3 {
        flexible-vlan-tagging;
        native-vlan-id 1158;
        unit 1158 {
            vlan-id 1158;
            ...