瞻博网络 EX2300 QinQ 问题

网络工程 杜松 瞻博网络
2022-02-22 01:13:01

我正在尝试使用 EX2300(ELS) 在 Q 环境中设置 Q。不幸的是,当我输入提交检查时,我在下面收到错误消息

[edit interfaces ge-0/0/0]
  'unit 0'
     VLAN-ID must be specified on tagged ethernet interfaces
error: configuration check-out failed

我在这里遵循的 Q 配置中的 Q: https ://www.juniper.net/documentation/en_US/junos/topics/task/configuration/qinq-tunneling-qfx-series-els.html

还要发布我的接口配置 ge-0/0/0

flexible-vlan-tagging;
native-vlan-id 150;
encapsulation extended-vlan-bridge;
unit 0 {
    family ethernet-switching {
        storm-control default;
    }
}
unit 3251 {
    vlan-id 3251;
    input-vlan-map swap;
    output-vlan-map swap;
}

我是否想念有关 QinQ 的某些内容或其他任何内容?

1个回答

问题是在端口上启用了灵活的 VLAN 标记,因此每个逻辑接口都需要一个 VLAN ID。在您的情况下,创建单元 0 时没有为该逻辑单元指定 VLAN。

接收未标记数据包的逻辑接口必须配置与物理接口上配置的本地 VLAN ID 相同的本地 VLAN ID。要配置逻辑接口,请在 [edit interfaces interface-name unit logical-unit-number] 层次结构级别包含 vlan-id 语句(匹配物理接口上的 native-vlan-id 语句)。

https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/interfaces-enabling-vlan-tagging.html