Juniper EX2300 QinQ questions

juniperjuniper-exqinq

I am trying to set up a Q in Q environment with EX2300(ELS). Unfortunately, I receive the error message down below when I enter commit check

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

The Q in Q config which I followed right here:
https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/qinq-tunneling-qfx-series-els.html

Also post my config of interfaces 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;
}

Do I miss something about QinQ or anything else?

Best Answer

The issue is flexible-vlan-tagging is enabled on the port so each logical interface expects a VLAN ID. In your case unit 0 is created without a VLAN specified for that logical unit.

The logical interface on which untagged packets are to be received must be configured with the same native VLAN ID as that configured on the physical interface. To configure the logical interface, include the vlan-id statement (matching the native-vlan-id statement on the physical interface) at the [edit interfaces interface-name unit logical-unit-number] hierarchy level.

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