We have 50+ Juniper EX3300 switches with access points configured to work with dot1x
and voice vlan
.
We also have a variety of Yealink T23G, T42G, T26G and T48G phones that worked perfectly in our configuration when the switches were operating on JunOS version 12.3R6.6
.
After upgrade to 15.1R6.7
, the voice vlan
function degraded. While the ports are still being served the correct tagged vlan, phones are no longer attempting to communicate over it and are not able to get a DHCP reply for the address.
We are in no luck so far in finding a solution to this problem, or even a fair diagnosis.
Configuration
interfaces {
interface-range access-dot1x {
member "ge-0/0/[0-47]";
member "ge-1/0/[0-47]";
member "ge-2/0/[0-47]";
description access-dot1x;
unit 0 {
family ethernet-switching;
}
}
}
protocols {
dot1x {
authenticator {
authentication-profile-name DOT1X-NPS;
interface {
access-dot1x {
supplicant multiple;
retries 2;
quiet-period 2;
transmit-period 2;
mac-radius;
reauthentication 32400;
supplicant-timeout 2;
server-timeout 10;
maximum-requests 2;
guest-vlan ZEROCONFIG;
server-reject-vlan ZEROCONFIG;
server-fail use-cache;
}
}
}
}
lldp {
interface all;
}
lldp-med {
interface all;
}
}
ethernet-switching-options {
voip {
interface access-dot1x {
vlan DEV-VOIP;
forwarding-class assured-forwarding;
}
}
}
ZEROCONFIG {
vlan-id 2;
}
DEV-VOIP {
vlan-id 14;
}
Diagnostics
After discovering the issue we have built an additional test environment to test two firmware versions with all kinds of Yealink phones. We have no phones from other vendors, but within this vendor, all phones were affected, including a variety of firmware versions.
Simmilarities:
Both versions return identical output on following commands:
> show ethernet-switching interface ge-0/0/6
Interface State VLAN members Tag Tagging Blocking
ge-0/0/6.0 up ADM-CSI 130 untagged unblocked
ZEROCONFIG 2 untagged unblocked
default untagged unblocked
DEV-VOIP 14 tagged unblocked
Also with this command, but only regarding the interface list:
> show lldp detail
Interface Parent Interface Vlan-id Vlan-name
ge-0/0/6.0 - 130 ADM-CSI
ge-0/0/6.0 - 14 DEV-VOIP
ge-0/0/6.0 - 2 ZEROCONFIG
Differences:
A proper connection on 12.3R6.6
results in a following output:
> show ethernet-switching table interface ge-0/0/6
Ethernet-switching table: 3 unicast entries
VLAN MAC address Type Age Interfaces
ADM-CSI * Flood - All-members
ADM-CSI 98:5a:eb:xx:xx:4d Learn 0 ge-0/0/6.0 # computer connected via phone, dot1x assigned VLAN
DEV-VOIP * Flood - All-members
DEV-VOIP 00:15:65:yy:yy:0d Learn 0 ge-0/0/6.0 # phone after voice-vlan was assigned
ZEROCONFIG * Flood - All-members
ZEROCONFIG 00:15:65:yy:yy:0d Learn 50 ge-0/0/6.0 # phone before voice-vlan was assigned
default * Flood - All-members
> show lldp neighbors
Local Interface Parent Interface Chassis Id Port info System Name
ge-0/0/6.0 - 10.14.100.2 WAN PORT SIP-T42G
A failed connection on 15.1R6.7
results in a following output:
> show ethernet-switching table interface ge-0/0/6
Ethernet-switching table: 3 unicast entries
VLAN MAC address Type Age Interfaces
ADM-CSI * Flood - All-members
ADM-CSI 98:5a:eb:xx:xx:4d Learn 0 ge-0/0/6.0 # computer connected via phone, dot1x assigned VLAN
DEV-VOIP * Flood - All-members
ZEROCONFIG * Flood - All-members
ZEROCONFIG 00:15:65:yy:yy:0d Learn 50 ge-0/0/6.0 # phone before voice-vlan was assigned
default * Flood - All-members
> show lldp neighbors
Local Interface Parent Interface Chassis Id Port info System Name
ge-0/0/6.0 - 0.0.0.0 WAN PORT SIP-T42G
There is however a difference in notification interval (lldp-configuration-notification-interval
) value:
- on
12.3R6.6
the value (default) is0s
, configurable in0..3600
range, - on
15.1R6.7
the value (default) is5s
, configurable in5..3600
range.
I was hoping this difference in notification interval will be the cause of our problem, yet setting the value to 5
on earlier switch did not cause it to degrade the functionality.
Yet another, and maybe the most significant difference appears in the LLDP and EAPOL packages exchanged by the party.
This begins with following differences in the first package send from device to phone:
Proper session (12.3R6.6
):
14:13:50.002710 Out LLDP, length 266
[...]
System Description TLV (6), length 89
Juniper Networks, Inc. ex3300-48t , version 12.3R6.6 Build date: 2014-03-13 07:02:54 UTC
[...]
Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f)
MAC/PHY configuration/status Subtype (1)
autonegotiation [supported, enabled] (0x03)
# ==== HERE =====
PMD autoneg capability [Sym PAUSE for fdx] (0x0400)
MAU type Unknown (0x0000)
[...]
Organization specific TLV (127), length 6: OUI Ethernet bridged (0x0080c2)
Port Vlan-ID Subtype (1)
# ==== HERE =====
Vlan Id: 14
[...]
Organization specific TLV (127), length 15: OUI Ethernet bridged (0x0080c2)
Vlan Name Subtype (3)
Vlan Id: 14
Vlan Name: DEV-VOIP
Organization specific TLV (127), length 14: OUI Ethernet bridged (0x0080c2)
Vlan Name Subtype (3)
Vlan Id: 0
Vlan Name: default
Organization specific TLV (127), length 12: OUI Ethernet bridged (0x0080c2)
Vlan Name Subtype (3)
Vlan Id: 14
Vlan Name: voice
[...]
Organization specific TLV (127), length 8: OUI ANSI/TIA (0x0012bb)
Network policy Subtype (2)
Application type [voice] (0x01), Flags [Tagged]
Vlan id 14, L2 priority 0, DSCP value 0
End TLV (0), length 0
Failed session (15.1R6.7
):
14:04:52.612890 Out LLDP, length 333
[...]
System Description TLV (6), length 156
Juniper Networks, Inc. ex3300-48t Ethernet Switch, kernel JUNOS 15.1R6.7, Build date: 2017-04-23 00:39:39 UTC Copyright (c) 1996-2017 Juniper Networks, Inc.
[...]
Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f)
MAC/PHY configuration/status Subtype (1)
autonegotiation [supported, enabled] (0x03)
# ==== HERE =====
PMD autoneg capability [1000BASE-T fdx] (0x0001)
MAU type Unknown (0x0000)
[...]
Organization specific TLV (127), length 6: OUI Ethernet bridged (0x0080c2)
Port Vlan-ID Subtype (1)
# ==== HERE =====
Vlan Id: 0
[...]
Organization specific TLV (127), length 15: OUI Ethernet bridged (0x0080c2)
Vlan Name Subtype (3)
Vlan Id: 14
Vlan Name: DEV-VOIP
Organization specific TLV (127), length 14: OUI Ethernet bridged (0x0080c2)
Vlan Name Subtype (3)
Vlan Id: 0
Vlan Name: default
Organization specific TLV (127), length 12: OUI Ethernet bridged (0x0080c2)
Vlan Name Subtype (3)
Vlan Id: 14
Vlan Name: voice
[...]
Organization specific TLV (127), length 8: OUI ANSI/TIA (0x0012bb)
Network policy Subtype (2)
Application type [voice] (0x01), Flags [Tagged]
Vlan id 14, L2 priority 0, DSCP value 0
End TLV (0), length 0
Any ideas?