Trying to setup an ethernet link from CE located in building A to CE in building B. Customer may or may not tag it's frames sent over the link. Here's the setup I am trying to use
+----+ +--------+ +----------+ +----------+
| CE +--(A)--+ EX4200 +-(B)--+ Router A +---(L2VPN)---+ Router B +
+----+ +--------+ +----------+ +----------+
Where on link A Customer may either send tagged frames with arbitrary VLAN-ID or untagged frames. On Link B frames are outer tagged with S-Tag. I am not even worrying about the L2VPN part.
In lab I send tagged frames to EX4200. The port facing CE is configured as access port with vlan member designated S-Tag
set interfaces ge-0/0/22 unit 0 family ethernet-switching port-mode access
set interfaces ge-0/0/22 unit 0 family ethernet-switching vlan members qinq
vlan qinq is configured like this:
set vlans qinq vlan-id 100
set vlans qinq dot1q-tunneling customer-vlans native
set vlans qinq dot1q-tunneling customer-vlans 1-4094
set ethernet-switching-options dot1q-tunneling ether-type 0x8100
Trunk towards router:
set interfaces xe-0/1/0 unit 0 family ethernet-switching port-mode trunk
set interfaces xe-0/1/0 unit 0 family ethernet-switching vlan members qinq
To test IP connectivity I send ping from CE to Router A. If I send untagged frames I get IP connectivity. Once I send tagged frames towards EX4200 there's no packets going out on either interfaces.
What am I missing?
Traffic statistics: Current delta Input bytes: 4551453 (512 bps) [2112] Output bytes: 1319116 (0 bps) [316] Input packets: 56775 (1 pps) [33] Output packets: 5545 (0 pps) [1]
stats while ping from CE to Router A is running. Thanks for the hint though. I'll keep that in mind!