Description
Only inner VLAN tag is visible for host outbound packet in the CLI 'monitor traffic interface <name>' outputs for the dual-vlan-tag interface. It is the expected behaviour, and the linecard packet forward engine (PFE) will push the outer VLAN tag to the host outbound packet and send the packet to the remote device.
Symptoms
TEST1:
=====
jtac-MX80-r073 xe-0/0/0 ----------- xe-0/1/2 jtac-MX204-r039
xe-0/0/0 {
flexible-vlan-tagging;
encapsulation flexible-ethernet-services;
unit 0 {
encapsulation dix;
vlan-tags outer 917 inner 15;
family inet {
address 10.10.10.2/30;
}
}
}
xe-0/1/2 {
flexible-vlan-tagging;
encapsulation flexible-ethernet-services;
unit 0 {
encapsulation dix;
vlan-tags outer 917 inner 15;
family inet {
address 10.10.10.1/30;
}
}
}
labroot@jtac-MX204-r039> ping 10.10.10.2
PING 10.10.10.2 (10.10.10.2): 56 data bytes
64 bytes from 10.10.10.2: icmp_seq=0 ttl=64 time=2.303 ms
64 bytes from 10.10.10.2: icmp_seq=1 ttl=64 time=2.242 ms
64 bytes from 10.10.10.2: icmp_seq=2 ttl=64 time=15.777 ms
^C
--- 10.10.10.2 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 2.242/6.774/15.777/6.366 ms
labroot@jtac-MX204-r039> ping 10.10.10.2 count 1
PING 10.10.10.2 (10.10.10.2): 56 data bytes
64 bytes from 10.10.10.2: icmp_seq=0 ttl=64 time=0.967 ms
--- 10.10.10.2 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.967/0.967/0.967/0.000 ms
labroot@jtac-MX204-r039> show arp no-resolve
MAC Address Address Interface Flags
f8:c0:01:18:5f:00 10.10.10.2 xe-0/1/2.0 none
<<<<<< ARP worked fine for dual tags
labroot@jtac-MX204-r039>
monitor traffic interface xe-0/1/2 no-resolve extensive print-hex layer2-headers
Address resolution is OFF.
Listening on xe-0/1/2, capture size 1514 bytes
22:25:43.964518 bpf_flags 0x80, Out
Juniper PCAP Flags [Ext], PCAP Extension(s) total length 16
Device Media Type Extension TLV #3, length 1, value: Flexible-Ethernet-Services (52)
Logical Interface Encapsulation Extension TLV #6, length 1, value: Ethernet (14)
Device Interface Index Extension TLV #1, length 2, value: 154
Logical Interface Index Extension TLV #4, length 4, value: 321
-----original packet-----
78:50:7c:23:a2:0d > f8:c0:01:18:5f:00, ethertype 802.1Q (0x8100), length 102: vlan 15, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 18274, offset 0, flags [none], proto: ICMP (1), length: 84) 10.10.10.1 > 10.10.10.2: ICMP echo request, id 34676, seq 0, length 64
f8c0 0118 5f00 7850 7c23 a20d
8100 000f <<<<<< only inner vlan tag, FPC will add outer vlan tag
0800 4500 0054 4762 0000 4001 0b31 0a0a
0a01 0a0a 0a02 0800 1315 8774 0000 6411
56d7 000e b77c 0809 0a0b 0c0d 0e0f 1011
1213 1415 1617 1819 1a1b 1c1d 1e1f 2021
2223 2425 2627 2829 2a2b 2c2d 2e2f 3031
3233 3435 3637
22:25:43.965406 bpf_flags 0x87, In
Juniper PCAP Flags [Ext, no-L2, In], PCAP Extension(s) total length 16
Device Media Type Extension TLV #3, length 1, value: Flexible-Ethernet-Services (52)
Logical Interface Encapsulation Extension TLV #6, length 1, value: Ethernet (14)
Device Interface Index Extension TLV #1, length 2, value: 154
Logical Interface Index Extension TLV #4, length 4, value: 321
-----original packet-----
PFE proto 2 (ipv4): (tos 0x0, ttl 64, id 40259, offset 0, flags [none], proto: ICMP (1), length: 84) 10.10.10.2 > 10.10.10.1: ICMP echo reply, id 34676, seq 0, length 64
0200 0000 4500 0054 9d43 0000 4001 b54f <<<<< layer2 header popped
0a0a 0a02 0a0a 0a01 0000 1b15 8774 0000
6411 56d7 000e b77c 0809 0a0b 0c0d 0e0f
1011 1213 1415 1617 1819 1a1b 1c1d 1e1f
2021 2223 2425 2627 2829 2a2b 2c2d 2e2f
3031 3233 3435 3637
^C
2 packets received by filter
0 packets dropped by kernel
<<<<<<<< The other side works fine too
labroot@jtac-MX80-r073>
monitor traffic interface xe-0/0/0 no-resolve extensive print-hex layer2-headers
Address resolution is OFF.
Listening on xe-0/0/0, capture size 1514 bytes
22:28:57.784086 bpf_flags 0x87, In
Juniper PCAP Flags [Ext, no-L2, In], PCAP Extension(s) total length 16
Device Media Type Extension TLV #3, length 1, value: Flexible-Ethernet-Services (52)
Logical Interface Encapsulation Extension TLV #6, length 1, value: Ethernet (14)
Device Interface Index Extension TLV #1, length 2, value: 37888
Logical Interface Index Extension TLV #4, length 4, value: 356
-----original packet-----
PFE proto 2 (ipv4): (tos 0x0, ttl 64, id 38593, offset 0, flags [none], proto: ICMP (1), length: 84) 10.10.10.1 > 10.10.10.2: ICMP echo request, id 64628, seq 0, length 64
0000 0002 4500 0054 96c1 0000 4001 bbd1
0a0a 0a01 0a0a 0a02 0800 52f9 fc74 0000
6411 5799 000c 01d8 0809 0a0b 0c0d 0e0f
1011 1213 1415 1617 1819 1a1b 1c1d 1e1f
2021 2223 2425 2627 2829 2a2b 2c2d 2e2f
3031 3233 3435 3637
22:28:57.784127 bpf_flags 0x80, Out
Juniper PCAP Flags [Ext], PCAP Extension(s) total length 16
Device Media Type Extension TLV #3, length 1, value: Flexible-Ethernet-Services (52)
Logical Interface Encapsulation Extension TLV #6, length 1, value: Ethernet (14)
Device Interface Index Extension TLV #1, length 2, value: 37888
Logical Interface Index Extension TLV #4, length 4, value: 356
-----original packet-----
f8:c0:01:18:5f:00 > 78:50:7c:23:a2:0d, ethertype 802.1Q (0x8100), length 102: vlan 15, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 43471, offset 0, flags [none], proto: ICMP (1), length: 84) 10.10.10.2 > 10.10.10.1: ICMP echo reply, id 64628, seq 0, length 64
7850 7c23 a20d f8c0 0118 5f00
8100 000f
0800 4500 0054 a9cf 0000 4001 a8c3 0a0a
0a02 0a0a 0a01 0000 5af9 fc74 0000 6411
5799 000c 01d8 0809 0a0b 0c0d 0e0f 1011
1213 1415 1617 1819 1a1b 1c1d 1e1f 2021
2223 2425 2627 2829 2a2b 2c2d 2e2f 3031
3233 3435 3637
^C
2 packets received by filter
0 packets dropped by kernel
<<<<<<<<< dump the packet at FPC level, proved it works
SMPC0(jtac-MX204-r039 vty)# test jnh 0 packet-via-dmem dump
PFE 0 Parcel Dump:
Wallclock: 0xa726dd28
Received 134 byte parcel:
Dispatch cookie: 0x0086000000000000
0x02 0xb4 0xc4 0x00 0x80 0x00 0x01 0x41
0x00 0x00 0x00 0x01 0x80 0x00 0x52 0x00
0x03 0x00 0x00 0x00 0xf8 0xc0 0x01 0x18
0x5f 0x00 0x78 0x50 0x7c 0x23 0xa2 0x0d
0x81 0x00 0x03 0x95 0x81 0x00 0x00 0x0f
0x08 0x00 0x45 0x00 0x00 0x54 0xf2 0x03
0x00 0x00 0x40 0x01 0x60 0x8f 0x0a 0x0a
0x0a 0x01 0x0a 0x0a 0x0a 0x02 0x08 0x00
0xbf 0xdb 0xd3 0x75 0x00 0x00 0x64 0x11
0x58 0xd5 0x00 0x0a 0xbc 0xba 0x08 0x09
0x0a 0x0b 0x0c 0x0d 0x0e 0x0f 0x10 0x11
0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x19
0x1a 0x1b 0x1c 0x1d 0x1e 0x1f 0x20 0x21
0x22 0x23 0x24 0x25 0x26 0x27 0x28 0x29
0x2a 0x2b 0x2c 0x2d 0x2e 0x2f 0x30 0x31
0x32 0x33 0x34 0x35 0x36 0x37
Wallclock: 0xa726e648
Sent 125 byte parcel:
0xd4 0x56 0x90 0x40 0x00 0x28 0x4f 0xf2
0x05 0xb7 0xc0 0x49 0xc0 0x04 0x01 0x00
0xce 0x00 0x00 0xf8 0xc0 0x01 0x18 0x5f
0x00 0x78 0x50 0x7c 0x23 0xa2 0x0d
0x81
0x00 0x03 0x95
0x81 0x00 0x00 0x0f
0x08
<<<<<<< FPC had correctly added outer vlan tag (0x395 = 917)
0x00 0x45 0x00 0x00 0x54 0xf2 0x03 0x00
0x00 0x40 0x01 0x60 0x8f 0x0a 0x0a 0x0a
0x01 0x0a 0x0a 0x0a 0x02 0x08 0x00 0xbf
0xdb 0xd3 0x75 0x00 0x00 0x64 0x11 0x58
0xd5 0x00 0x0a 0xbc 0xba 0x08 0x09 0x0a
0x0b 0x0c 0x0d 0x0e 0x0f 0x10 0x11 0x12
0x13 0x14 0x15 0x16 0x17 0x18 0x19 0x1a
0x1b 0x1c 0x1d 0x1e 0x1f 0x20 0x21 0x22
0x23 0x24 0x25 0x26 0x27 0x28 0x29 0x2a
0x2b 0x2c 0x2d 0x2e 0x2f 0x30 0x31 0x32
0x33 0x34 0x35 0x36 0x37
F8 C0 01 18 5F 00 78 50 7C 23 A2 0D 81 00 03 95 81 00 00 0F 08 00 45 00 00 54 F2 03 00 00 40 01 60 8F 0A 0A 0A 01 0A 0A 0A 02 08 00 BF DB D3 75 00 00 64 11 58 D5 00 0A BC BA 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37
Ethernet II
Destination: JuniperN_18:5f:00 (f8:c0:01:18:5f:00)
Source: JuniperN_23:a2:0d (78:50:7c:23:a2:0d)
Type: 802.1Q Virtual LAN (0x8100)
802.1Q Virtual LAN
000. .... .... .... = Priority: Best Effort (default) (0)
...0 .... .... .... = DEI: Ineligible
.... 0011 1001 0101 = ID: 917
Type: 802.1Q Virtual LAN (0x8100)
802.1Q Virtual LAN
000. .... .... .... = Priority: Best Effort (default) (0)
...0 .... .... .... = DEI: Ineligible
.... 0000 0000 1111 = ID: 15
Type: IPv4 (0x0800)
Internet Protocol Version 4
0100 .... = Version: 4
.... 0101 = Header Length: 20 bytes (5)
Differentiated Services Field: 0x00 (DSCP: CS0, ECN: Not-ECT)
Total Length: 84
Identification: 0xf203 (61955)
000. .... = Flags: 0x0
...0 0000 0000 0000 = Fragment Offset: 0
Time to Live: 64
Protocol: ICMP (1)
Header Checksum: 0x608f
Header checksum status: Unverified
Source Address: 10.10.10.1
Destination Address: 10.10.10.2
Internet Control Message Protocol
Type: 8 (Echo (ping) request)
Code: 0
Checksum: 0xbfdb [correct]
Checksum Status: Good
Identifier (BE): 54133 (0xd375)
Identifier (LE): 30163 (0x75d3)
Sequence Number (BE): 0 (0x0000)
Sequence Number (LE): 0 (0x0000)
Timestamp from icmp data: Mar 15, 2023 06:34:13.703674000 CET
Timestamp from icmp data (relative): 144.296326000 seconds
Data ????
SMPC0(jtac-MX204-r039 vty)# test jnh 0 packet-via-dmem dump
PFE 0 Parcel Dump:
Wallclock: 0x8c9a9ec4
Received 130 byte parcel
:
Dispatch cookie: 0x0082000000000000
0x03 0x6a 0x4d 0x60 0x52 0x0e 0x32 0xc6
0x9b 0x2b 0xa8 0x80 0xf6 0xeb 0x01 0x2f
0x78 0x50 0x7c 0x23 0xa2 0x0d 0xf8 0xc0
0x01 0x18 0x5f 0x00
0x81 0x00 0x03 0x95 <<<<<< received dual vlan tags packets
0x81 0x00 0x00 0x0f
0x08 0x00 0x45 0x00
0x00 0x54 0xd5 0x9d 0x00 0x00 0x40 0x01
0x7c 0xf5 0x0a 0x0a 0x0a 0x02 0x0a 0x0a
0x0a 0x01 0x00 0x00 0x8f 0x21 0xb4 0x76
0x00 0x00 0x64 0x11 0x5a 0x35 0x00 0x0f
0x13 0x0f 0x08 0x09 0x0a 0x0b 0x0c 0x0d
0x0e 0x0f 0x10 0x11 0x12 0x13 0x14 0x15
0x16 0x17 0x18 0x19 0x1a 0x1b 0x1c 0x1d
0x1e 0x1f 0x20 0x21 0x22 0x23 0x24 0x25
0x26 0x27 0x28 0x29 0x2a 0x2b 0x2c 0x2d
0x2e 0x2f 0x30 0x31 0x32 0x33 0x34 0x35
0x36 0x37
Wallclock: 0x8c9b0a40
Sent 154 byte parcel:
0xd0 0x6d 0x40 0x40 0x03 0xf0 0x18 0xe2
0x05 0xb7 0x40 0x09 0x00 0x00 0x00 0xe0
0xd9 0x20 0x00 0x20 0x00 0x22 0xb0 0x01
0x41 0x00 0x16 0x00 0x6a 0x80 0x00 0x00
0x20 0x16 0x00 0x00 0x09 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x78 0x50 0x7c 0x23 0xa2 0x0d 0xf8 0xc0
0x01 0x18 0x5f 0x00 0x81 0x00 0x03 0x95
0x81 0x00 0x00 0x0f 0x08 0x00 0x45 0x00
0x00 0x54 0xd5 0x9d 0x00 0x00 0x40 0x01
0x7c 0xf5 0x0a 0x0a 0x0a 0x02 0x0a 0x0a
0x0a 0x01 0x00 0x00 0x8f 0x21 0xb4 0x76
0x00 0x00 0x64 0x11 0x5a 0x35 0x00 0x0f
0x13 0x0f 0x08 0x09 0x0a 0x0b 0x0c 0x0d
0x0e 0x0f 0x10 0x11 0x12 0x13 0x14 0x15
0x16 0x17 0x18 0x19 0x1a 0x1b 0x1c 0x1d
0x1e 0x1f 0x20 0x21 0x22 0x23 0x24 0x25
0x26 0x27 0x28 0x29 0x2a 0x2b 0x2c 0x2d
0x2e 0x2f 0x30 0x31 0x32 0x33 0x34 0x35
0x36 0x37
Ethernet II
Destination: JuniperN_23:a2:0d (78:50:7c:23:a2:0d)
Source: JuniperN_18:5f:00 (f8:c0:01:18:5f:00)
Type: 802.1Q Virtual LAN (0x8100)
802.1Q Virtual LAN
000. .... .... .... = Priority: Best Effort (default) (0)
...0 .... .... .... = DEI: Ineligible
.... 0011 1001 0101 = ID: 917
Type: 802.1Q Virtual LAN (0x8100)
802.1Q Virtual LAN
000. .... .... .... = Priority: Best Effort (default) (0)
...0 .... .... .... = DEI: Ineligible
.... 0000 0000 1111 = ID: 15
Type: IPv4 (0x0800)
Internet Protocol Version 4
0100 .... = Version: 4
.... 0101 = Header Length: 20 bytes (5)
Differentiated Services Field: 0x00 (DSCP: CS0, ECN: Not-ECT)
Total Length: 84
Identification: 0xd59d (54685)
000. .... = Flags: 0x0
...0 0000 0000 0000 = Fragment Offset: 0
Time to Live: 64
Protocol: ICMP (1)
Header Checksum: 0x7cf5
Header checksum status: Unverified
Source Address: 10.10.10.2
Destination Address: 10.10.10.1
Internet Control Message Protocol
Type: 0 (Echo (ping) reply)
Code: 0
Checksum: 0x8f21 [correct]
Checksum Status: Good
Identifier (BE): 46198 (0xb476)
Identifier (LE): 30388 (0x76b4)
Sequence Number (BE): 0 (0x0000)
Sequence Number (LE): 0 (0x0000)
Timestamp from icmp data: Mar 15, 2023 06:40:05.987919000 CET
Timestamp from icmp data (relative): 105.012081000 seconds
Data ????
TEST 2
======
jtac-MX80-r073 xe-0/0/0 ----------- xe-0/1/2 jtac-MX204-r039
interfaces {
xe-0/0/0 {
stacked-vlan-tagging;
encapsulation flexible-ethernet-services;
unit 0 {
vlan-tags outer 917 inner 15;
family inet {
address 10.10.10.2/30;
}
}
}
}
interfaces {
xe-0/1/2 {
stacked-vlan-tagging;
encapsulation flexible-ethernet-services;
unit 0 {
vlan-tags outer 917 inner 15;
family inet {
address 10.10.10.1/30;
}
}
}
}
labroot@jtac-MX204-r039> ping 10.10.10.2 count 5
PING 10.10.10.2 (10.10.10.2): 56 data bytes
64 bytes from 10.10.10.2: icmp_seq=0 ttl=64 time=10.742 ms
64 bytes from 10.10.10.2: icmp_seq=1 ttl=64 time=2.877 ms
64 bytes from 10.10.10.2: icmp_seq=2 ttl=64 time=1.183 ms
64 bytes from 10.10.10.2: icmp_seq=3 ttl=64 time=0.901 ms
64 bytes from 10.10.10.2: icmp_seq=4 ttl=64 time=1.198 ms
--- 10.10.10.2 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.901/3.380/10.742/3.747 ms
Capture the pattern: 0xf8c001185f007850
Wallclock: 0x98c6ae5b
Received 134 byte parcel:
Dispatch cookie: 0x0086000000000000
0x00 0x8a 0x44 0x00 0x80 0x00 0x01 0x49
0x00 0x00 0x00 0x01 0x80 0x00 0x52 0x00
0x03 0x00 0x00 0x00 0xf8 0xc0 0x01 0x18
0x5f 0x00 0x78 0x50 0x7c 0x23 0xa2 0x0d
0x81 0x00 0x03 0x95 0x81 0x00 0x00 0x0f
0x08 0x00 0x45 0x00 0x00 0x54 0x77 0xbc
0x00 0x00 0x40 0x01 0xda 0xd6 0x0a 0x0a
0x0a 0x01 0x0a 0x0a 0x0a 0x02 0x08 0x00
0xd1 0x2d 0x60 0x79 0x00 0x04 0x64 0x11
0x5e 0xaf 0x00 0x08 0x18 0x89 0x08 0x09
0x0a 0x0b 0x0c 0x0d 0x0e 0x0f 0x10 0x11
0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x19
0x1a 0x1b 0x1c 0x1d 0x1e 0x1f 0x20 0x21
0x22 0x23 0x24 0x25 0x26 0x27 0x28 0x29
0x2a 0x2b 0x2c 0x2d 0x2e 0x2f 0x30 0x31
0x32 0x33 0x34 0x35 0x36 0x37
Wallclock: 0x98c6b78d
Sent 125 byte parcel:
0xd4 0x11 0x40 0x40 0x00 0x28 0x4f 0xf2
0x05 0xb4 0x90 0x08 0x40 0x04 0x01 0x00
0xce 0x00 0x00
0xf8 0xc0 0x01 0x18 0x5f
0x00
0x78 0x50 0x7c 0x23 0xa2 0x0d
0x81
0x00 0x03 0x95
0x81 0x00 0x00 0x0f
0x08 <<<<<< two tags, fine
0x00 0x45 0x00 0x00 0x54 0x77 0xbc 0x00
0x00 0x40 0x01 0xda 0xd6 0x0a 0x0a 0x0a
0x01 0x0a 0x0a 0x0a 0x02 0x08 0x00 0xd1
0x2d 0x60 0x79 0x00 0x04 0x64 0x11 0x5e
0xaf 0x00 0x08 0x18 0x89 0x08 0x09 0x0a
0x0b 0x0c 0x0d 0x0e 0x0f 0x10 0x11 0x12
0x13 0x14 0x15 0x16 0x17 0x18 0x19 0x1a
0x1b 0x1c 0x1d 0x1e 0x1f 0x20 0x21 0x22
0x23 0x24 0x25 0x26 0x27 0x28 0x29 0x2a
0x2b 0x2c 0x2d 0x2e 0x2f 0x30 0x31 0x32
0x33 0x34 0x35 0x36 0x37
TEST 3
======
jtac-MX80-r073 xe-0/0/0 ----------- xe-0/1/2 jtac-MX204-r039
chassis {
aggregated-devices {
ethernet {
device-count 10;
}
}
}
interfaces {
xe-0/0/0 {
gigether-options {
802.3ad ae1;
}
}
ae1 {
stacked-vlan-tagging;
encapsulation flexible-ethernet-services;
unit 0 {
vlan-tags outer 917 inner 15;
family inet {
address 10.10.10.2/30;
}
}
}
}
-------------------------------
chassis {
aggregated-devices {
ethernet {
device-count 10;
}
}
}
interfaces {
xe-0/1/2 {
gigether-options {
802.3ad ae1;
}
}
ae1 {
stacked-vlan-tagging;
encapsulation flexible-ethernet-services;
unit 0 {
vlan-tags outer 917 inner 15;
family inet {
address 10.10.10.1/30;
}
}
}
}
labroot@jtac-MX204-r039> ping 10.10.10.2 source 10.10.10.1
PING 10.10.10.2 (10.10.10.2): 56 data bytes
64 bytes from 10.10.10.2: icmp_seq=0 ttl=64 time=2.356 ms
64 bytes from 10.10.10.2: icmp_seq=1 ttl=64 time=0.993 ms
64 bytes from 10.10.10.2: icmp_seq=2 ttl=64 time=0.957 ms
64 bytes from 10.10.10.2: icmp_seq=3 ttl=64 time=0.934 ms
^C
--- 10.10.10.2 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.934/1.310/2.356/0.604 ms
SMPC0(jtac-MX204-r039 vty)# test jnh 0 packet-via-dmem enable 50000
SMPC0(jtac-MX204-r039 vty)# test jnh 0 packet-via-dmem capture 0x3 0xf8c001185fc07850
SMPC0(jtac-MX204-r039 vty)# test jnh 0 packet-via-dmem capture 0x0
SMPC0(jtac-MX204-r039 vty)# test jnh 0 packet-via-dmem dump
PFE 0 Parcel Dump:
Wallclock: 0xdff59569
Received 134 byte parcel:
Dispatch cookie: 0x0086000000000000
0x02 0x03 0xc4 0x00 0x80 0x00 0x01 0x41
0x00 0x00 0x00 0x01 0x80 0x00 0x52 0x00
0x03 0x00 0x00 0x00 0xf8 0xc0 0x01 0x18
0x5f 0xc0 0x78 0x50 0x7c 0x23 0xa5 0xf4
0x81 0x00 0x03 0x95 0x81 0x00 0x00 0x0f
0x08 0x00 0x45 0x00 0x00 0x54 0x3d 0xfb
0x00 0x00 0x40 0x01 0x14 0x98 0x0a 0x0a
0x0a 0x01 0x0a 0x0a 0x0a 0x02 0x08 0x00
0xb1 0xc6 0x8b 0x7b 0x00 0x00 0x64 0x11
0x61 0x80 0x00 0x01 0x0a 0x28 0x08 0x09
0x0a 0x0b 0x0c 0x0d 0x0e 0x0f 0x10 0x11
0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x19
0x1a 0x1b 0x1c 0x1d 0x1e 0x1f 0x20 0x21
0x22 0x23 0x24 0x25 0x26 0x27 0x28 0x29
0x2a 0x2b 0x2c 0x2d 0x2e 0x2f 0x30 0x31
0x32 0x33 0x34 0x35 0x36 0x37
Wallclock: 0xdff59e9d
Sent 125 byte parcel:
0xd4 0x40 0x70 0x40 0x00 0x28 0x4f 0xf2
0x05 0xb7 0x18 0x0c 0x10 0x04 0x01 0x00
0xce 0x00 0x00 0xf8 0xc0 0x01 0x18 0x5f
0xc0 0x78 0x50 0x7c 0x23 0xa5 0xf4
0x81
0x00 0x03 0x95
0x81 0x00 0x00 0x0f
0x08 <<<<<<< two tags, fine
0x00 0x45 0x00 0x00 0x54 0x3d 0xfb 0x00
0x00 0x40 0x01 0x14 0x98 0x0a 0x0a 0x0a
0x01 0x0a 0x0a 0x0a 0x02 0x08 0x00 0xb1
0xc6 0x8b 0x7b 0x00 0x00 0x64 0x11 0x61
0x80 0x00 0x01 0x0a 0x28 0x08 0x09 0x0a
0x0b 0x0c 0x0d 0x0e 0x0f 0x10 0x11 0x12
0x13 0x14 0x15 0x16 0x17 0x18 0x19 0x1a
0x1b 0x1c 0x1d 0x1e 0x1f 0x20 0x21 0x22
0x23 0x24 0x25 0x26 0x27 0x28 0x29 0x2a
0x2b 0x2c 0x2d 0x2e 0x2f 0x30 0x31 0x32
0x33 0x34 0x35 0x36 0x37
Solution
It is the expected behaviour, and the linecard packet forward engine (PFE) will push the outer VLAN tag to the host outbound packet and send the packet to the remote device.
Modification History
0.1 - Initial Draft
Only inner VLAN tag is visible for host outbound packet in the CLI 'monitor traffic interface <name>' outputs