This article provides information on the behavior of native-vlan on L3 aggregate interface on AFT platforms.
"Native-vlan" is used for receiving untagged packets on a trunk interface.You must configure a logical interface with the VLAN ID that is same as the native VLAN ID confiured on the interface, to receive the untagged packets on the 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.For detail, please refer native-vlan-id documentation in Junos CLI Reference.The logical interface having the vlan-id which matches the native-vlan-id should send out packets without VLAN tag. However, AFT platforms send out packets with VLAN tag unexpectedly. Due to this behavior, a device which has AFT platforms cannot communicate with an opposite device which sends untag packets through the logical interface on AFT platforms. For example, ARP, OSPF, BGP etc, cannot be resolved and cannot have connection between the opposite router. * AFT stands for Advanced Forwarding Toolkit and this is PFE (Packet forwarding engine) software. AFT platforms are MPC10/11/LC9600, MX304 etc.Example;Topology DUT+---------+ +---------+| MX480 | | MX480 || +------|native-vlan-id pure IP|------+ || |MPC10E|---------------------------------|MPC3E | || +------|et-0/0/1 et-5/0/0|------+ |+---------+ +---------+Sample config< DUT >set chassis aggregated-devices ethernet device-count 1set chassis fpc 0 pic 0 pic-mode 40Gset interfaces et-0/0/1 description to_mx480_mpc3e-ngset interfaces et-0/0/1 gigether-options 802.3ad ae2set interfaces ae2 flexible-vlan-taggingset interfaces ae2 native-vlan-id 2set interfaces ae2 encapsulation flexible-ethernet-servicesset interfaces ae2 aggregated-ether-options lacp activeset interfaces ae2 unit 0 vlan-id 2set interfaces ae2 unit 0 family inet address 10.0.2.1/24set interfaces lo0 unit 0 family inet address 10.1.1.1/32set protocols ospf area 0.0.0.0 interface lo0.0set protocols ospf area 0.0.0.0 interface ae2.0 interface-type p2pset protocols bgp group test2 type externalset protocols bgp group test2 neighbor 10.0.2.2 local-address 10.0.2.1set protocols bgp group test2 neighbor 10.0.2.2 peer-as 65003set routing-options autonomous-system 65001< The opposite router >set chassis aggregated-devices ethernet device-count 1set chassis network-services enhanced-ipset interfaces et-5/0/0 description to_mx480_mpc10eset interfaces et-5/0/0 gigether-options 802.3ad ae2set interfaces ae2 aggregated-ether-options lacp activeset interfaces ae2 unit 0 family inet address 10.0.2.2/24set interfaces lo0 unit 0 family inet address 10.3.3.3/32set routing-options autonomous-system 65003set protocols bgp group test2 type externalset protocols bgp group test2 neighbor 10.0.2.1 local-address 10.0.2.2set protocols bgp group test2 neighbor 10.0.2.1 peer-as 65001set protocols ospf area 0.0.0.0 interface lo0.0set protocols ospf area 0.0.0.0 interface ae2.0 interface-type p2pTest resultThe opposite router cannot resolve arp.user@mx480> show arpMAC Address Address Name Interface FlagsXX:XX:XX:XX:XX:XX 10.0.2.2 10.0.2.2 ae2.0 noneXX:XX:XX:XX:XX:XX XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX fxp0.0 noneXX:XX:XX:XX:XX:XX XXX.XXX.XXX.XXX fpc0 em0.0 noneTotal entries: 3user@mx480-opposite> show arpMAC Address Address Name Interface FlagsXX:XX:XX:XX:XX:XX XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX fxp0.0 noneXX:XX:XX:XX:XX:XX XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX fxp0.0 noneXX:XX:XX:XX:XX:XX XXX.XXX.XXX.XXX fpc5 em0.0 noneTotal entries: 3OSPF and BGP are down state.user@mx480> show ospf neighborAddress Interface State ID Pri Dead10.0.2.2 ae2.0 Init 10.3.3.3 128 38user@mx480> show bgp summaryThreading mode: BGP I/ODefault eBGP mode: advertise - accept, receive - acceptGroups: 1 Peers: 1 Down peers: 1Table Tot Paths Act Paths Suppressed History Damp State Pendinginet.0 0 0 0 0 0 0Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...10.0.2.2 65003 0 0 0 0 17:11 ConnectWhen the opposite router has vlan-id, that is, it processes control packets with VLAN tag, DUT and the opposite router can communicate each other. This means DUT sends out control packets with VLAN tag. However, this is wrong behavior.[edit]user@mx480-opposite# set interfaces ae2 vlan-tagging[edit]user@mx480-opposite# set interfaces ae2 unit 0 vlan-id 2[edit]user@mx480-opposite# commitcommit completeuser@mx480> show arpMAC Address Address Name Interface FlagsXX:XX:XX:XX:XX:XX 10.0.2.2 10.0.2.2 ae2.0 noneXX:XX:XX:XX:XX:XX XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX fxp0.0 noneXX:XX:XX:XX:XX:XX XXX.XXX.XXX.XXX fpc0 em0.0 noneTotal entries: 3user@mx480-opposite> show arpMAC Address Address Name Interface FlagsXX:XX:XX:XX:XX:XX 10.0.2.1 10.0.2.1. ae2.0 noneXX:XX:XX:XX:XX:XX XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX fxp0.0 noneXX:XX:XX:XX:XX:XX XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX fxp0.0 noneXX:XX:XX:XX:XX:XX XXX.XXX.XXX.XXX fpc5 em0.0 noneTotal entries: 4user@mx480> show ospf neighborAddress Interface State ID Pri Dead10.0.2.2 ae2.0 Full 10.3.3.3 128 33user@mx480> show bgp summaryThreading mode: BGP I/ODefault eBGP mode: advertise - accept, receive - acceptGroups: 1 Peers: 1 Down peers: 0Table Tot Paths Act Paths Suppressed History Damp State Pendinginet.0 0 0 0 0 0 0Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...10.0.2.2 65003 8 7 0 0 2:33 Establ inet.0: 0/0/0/0
PR1740873 resolves the issue.
https://prsearch.juniper.net/problemreport/PR1740873
Fixed versions are 22.2R3-S3, 22.4R2-S2, 22.4R3, 23.2R2, 23.4R1 and onward releases.Example;Here is the result of the fixed version behavior.* using the above sample configuser@mx480> show arpMAC Address Address Name Interface FlagsXX:XX:XX:XX:XX:XX 10.0.2.2 10.0.2.2 ae2.0 noneXX:XX:XX:XX:XX:XX XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX fxp0.0 noneXX:XX:XX:XX:XX:XX XXX.XXX.XXX.XXX fpc0 em0.0 noneTotal entries: 3user@mx480-opposite> show arpMAC Address Address Name Interface FlagsXX:XX:XX:XX:XX:XX 10.0.2.1 10.0.2.1. ae2.0 noneXX:XX:XX:XX:XX:XX XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX fxp0.0 noneXX:XX:XX:XX:XX:XX XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX fxp0.0 noneXX:XX:XX:XX:XX:XX XXX.XXX.XXX.XXX fpc5 em0.0 noneTotal entries: 4user@mx480> show ospf neighborAddress Interface State ID Pri Dead10.0.2.2 ae2.0 Full 10.3.3.3 128 36user@mx480> show bgp summaryThreading mode: BGP I/ODefault eBGP mode: advertise - accept, receive - acceptGroups: 1 Peers: 1 Down peers: 0Table Tot Paths Act Paths Suppressed History Damp State Pendinginet.0 0 0 0 0 0 0Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...10.0.2.2 65003 12 10 0 0 4:16 Establ inet.0: 0/0/0/0