[j-nsp] ACX5448 and QFX5110 (mis)configuration for 802.1AD TPID?
Jason Lixfeld
jason-jnsp at lixfeld.ca
Thu Jun 27 08:57:43 EDT 2019
Hey,
I’m trying to lab up some l2circuit scenarios and I’m having some issues with 802.1AD outers. I could use some clue if this sounds familiar to anyone.
Here’s the physical topology:
CE1 <xe-0/0/2> QFX5110 <MPLS> ACX5448 <xe-0/0/2> CE2
The Coles Notes on the test traffic:
- CE1: 802.1AD outer (10), 802.1Q inner (11): 1.10.11.4/24
- CE2: 802.1AD outer (10), 802.1Q inner (11): 1.10.11.5/24
CE1 <> QFX case:
- CE1 generates frames towards CE2, frames are matched on QFX xe-0/0/2 facing CE1, matched as VLAN tagged frames, but not matched on the unit.
CE2 <> ACX case:
- CE2 generates frames towards CE1, frames are matched on ACX xe-0/0/2 facing CE2, but not matched as VLAN tagged frames, matched in Input Filter statistics, and matched on the unit. Not unsure whether the Input Filter statistics implies they are getting dropped or not.
Needless to say, in either case, CE1 doesn’t see CE2’s frames, and CE2 doesn’t see CE1’s frames. They’re getting dropped somewhere, and I’m not sure if there’s a way to see where they might be getting dropped to point to whether this is a configuration issue or just an unsupported configuration.
My understanding of the configuration I have in place is it will match the 802.1AD outer tag and forward those frames along the l2circuit, whether there’s an inner tag or not.
Thanks in advance. Nitty gritty details below.
- CE1 interface capture facing QFX:
19:55:53.097832 00:0c:bd:08:80:9a > 00:0c:bd:08:80:9b, ethertype 802.1Q-QinQ (0x88a8), length 106: vlan 10, p 0, ethertype 802.1Q, vlan 11, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 17415, offset 0, flags [DF], proto ICMP (1), length 84)
1.10.11.4 > 1.10.11.5: ICMP echo request, id 7691, seq 1, length 64
19:55:58.152313 00:0c:bd:08:80:9a > 00:0c:bd:08:80:9b, ethertype 802.1Q-QinQ (0x88a8), length 50: vlan 10, p 0, ethertype 802.1Q, vlan 11, p 0, ethertype ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 1.10.11.5 tell 1.10.11.4, length 28
19:55:59.176312 00:0c:bd:08:80:9a > 00:0c:bd:08:80:9b, ethertype 802.1Q-QinQ (0x88a8), length 50: vlan 10, p 0, ethertype 802.1Q, vlan 11, p 0, ethertype ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 1.10.11.5 tell 1.10.11.4, length 28
19:56:00.200293 00:0c:bd:08:80:9a > 00:0c:bd:08:80:9b, ethertype 802.1Q-QinQ (0x88a8), length 50: vlan 10, p 0, ethertype 802.1Q, vlan 11, p 0, ethertype ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 1.10.11.5 tell 1.10.11.4, length 28
- QFX Config (18.1R3-S4.2):
set interfaces xe-0/0/2 description "pgen eth4"
set interfaces xe-0/0/2 flexible-vlan-tagging
set interfaces xe-0/0/2 encapsulation flexible-ethernet-services
set interfaces xe-0/0/2 ether-options ethernet-switch-profile tag-protocol-id 0x88a8
set interfaces xe-0/0/2 unit 10 encapsulation vlan-ccc
set interfaces xe-0/0/2 unit 10 vlan-tags outer 0x88a8.10
set protocols l2circuit neighbor 10.15.48.105 interface xe-0/0/2.10 virtual-circuit-id 1
jlixfeld at qfx5110# run show l2circuit connections
Layer-2 Circuit Connections:
<snip>
Neighbor: 10.15.48.105
Interface Type St Time last up # Up trans
xe-0/0/2.10(vc 1) rmt Up Jun 25 16:17:29 2019 1
Remote PE: 10.15.48.105, Negotiated control-word: Yes (Null)
Incoming label: 65, Outgoing label: 36
Negotiated PW status TLV: No
Local interface: xe-0/0/2.10, Status: Up, Encapsulation: VLAN
Flow Label Transmit: No, Flow Label Receive: No
- QFX interface counters facing CE1:
Physical interface: xe-0/0/2, Enabled, Physical link is Up
<snip>
Traffic statistics:
Input bytes : 192 0 bps
Output bytes : 0 0 bps
Input packets: 3 0 pps
Output packets: 0 0 pps
<snip>
MAC statistics: Receive Transmit
Total octets 192 0
Total packets 3 0
Unicast packets 0 0
Broadcast packets 3 0
Multicast packets 0 0
CRC/Align errors 0 0
FIFO errors 0 0
MAC control frames 0 0
MAC pause frames 0 0
Oversized frames 0
Jabber frames 0
Fragment frames 0
VLAN tagged frames 3
Code violations 0
<snip>
Logical interface xe-0/0/2.10 (Index 570) (SNMP ifIndex 550) (HW Token 4093) (Generation 193)
Flags: Up SNMP-Traps 0x4000 VLAN-Tag [ 0x88a8.10 ] Encapsulation: VLAN-CCC
Traffic statistics:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
Local statistics:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
Transit statistics:
Input bytes : 0 0 bps
Output bytes : 0 0 bps
Input packets: 0 0 pps
Output packets: 0 0 pps
Protocol ccc, MTU: 1522, Generation: 245, Route table: 0
Flags: Is-Primary
- CE2 interface capture facing ACX:
07:45:56.181865 00:0c:bd:08:80:9a > ff:ff:ff:ff:ff:ff, ethertype 802.1Q-QinQ (0x88a8), length 50: vlan 10, p 0, ethertype 802.1Q, vlan 11, p 0, ethertype ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 1.10.11.5 tell 1.10.11.4, length 28
07:45:57.192300 00:0c:bd:08:80:9a > ff:ff:ff:ff:ff:ff, ethertype 802.1Q-QinQ (0x88a8), length 50: vlan 10, p 0, ethertype 802.1Q, vlan 11, p 0, ethertype ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 1.10.11.5 tell 1.10.11.4, length 28
07:45:58.216316 00:0c:bd:08:80:9a > ff:ff:ff:ff:ff:ff, ethertype 802.1Q-QinQ (0x88a8), length 50: vlan 10, p 0, ethertype 802.1Q, vlan 11, p 0, ethertype ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 1.10.11.5 tell 1.10.11.4, length 28
- ACX Config (18.3R1-S3.4):
set interfaces xe-0/0/2 description "pgen eth5"
set interfaces xe-0/0/2 flexible-vlan-tagging
set interfaces xe-0/0/2 encapsulation flexible-ethernet-services
set interfaces xe-0/0/2 gigether-options ethernet-switch-profile tag-protocol-id 0x88a8
set interfaces xe-0/0/2 unit 10 encapsulation vlan-ccc
set interfaces xe-0/0/2 unit 10 vlan-tags outer 0x88a8.10
set protocols l2circuit neighbor 72.15.48.100 interface xe-0/0/2.10 virtual-circuit-id 1
jlixfeld at acx5448# run show l2circuit connections
Layer-2 Circuit Connections:
<snip>
Neighbor: 10.15.48.100
Interface Type St Time last up # Up trans
xe-0/0/2.10(vc 1) rmt Up Jun 25 16:17:26 2019 1
Remote PE: 10.15.48.100, Negotiated control-word: Yes (Null)
Incoming label: 36, Outgoing label: 65
Negotiated PW status TLV: No
Local interface: xe-0/0/2.10, Status: Up, Encapsulation: VLAN
Flow Label Transmit: No, Flow Label Receive: No
- ACX interface counters facing CE2:
jlixfeld at acx5448# run show interfaces xe-0/0/2 extensive
Physical interface: xe-0/0/2, Enabled, Physical link is Up
<snip>
Traffic statistics:
Input bytes : 138 0 bps
Output bytes : 0 0 bps
Input packets: 3 0 pps
Output packets: 0 0 pps
IPv6 transit statistics:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
<snip>
MAC statistics: Receive Transmit
Total octets 192 0
Total packets 3 0
Unicast packets 0 0
Broadcast packets 3 0
Multicast packets 0 0
CRC/Align errors 0 0
FIFO errors 0 0
MAC control frames 0 0
MAC pause frames 0 0
Oversized frames 0
Jabber frames 0
Fragment frames 0
VLAN tagged frames 0
Code violations 0
PRBS Statistics : Disabled
Filter statistics:
Input packet count 3
Input packet rejects 0
Input DA rejects 0
Input SA rejects 0
Output packet count 0
Output packet pad count 0
Output packet error count 0
CAM destination filters: 0, CAM source filters: 0
<snip>
Logical interface xe-0/0/2.10 (Index 82) (SNMP ifIndex 567) (Generation 181)
Flags: Up SNMP-Traps 0x4000 VLAN-Tag [ 0x88a8.10 ] Encapsulation: VLAN-CCC
Traffic statistics:
Input bytes : 192
Output bytes : 0
Input packets: 3
Output packets: 0
Local statistics:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
Transit statistics:
Input bytes : 192 0 bps
Output bytes : 0 0 bps
Input packets: 3 0 pps
Output packets: 0 0 pps
Protocol ccc, MTU: 1522, Generation: 229, Route table: 0
Flags: Is-Primary
More information about the juniper-nsp
mailing list