I'm not sure if this is a problem with ShoreTel (now Mitel) phones or a problem on my Juniper switch. I have a 24 port EX3300 on Junos: 15.1R6.7. and LLDP-MED only works intermittently. What I mean by that, is most of the time the phone comes up and requests an IP address from the data vlan first. I can plug an old ShoreTel MGCP phone in the same switchport, and there's a much higher success rate (maybe 85% of the time). When the phone works correctly, it requests an IP address from the voice vlan first. I can see via port analyzers that there's certainly an exchange of LLDP traffic between the Juniper switch and ShoreTel phone (IP480).
Output of show lldp neighbors:
root@ex3300-24p> show lldp neighborsLocal Interface Parent Interface Chassis Id Port info System Namege-0/0/22.0 - 3c:97:0e:17:f8:a1 3c:97:0e:17:f8:a1ge-0/0/14.0 - 192.168.8.202 00:10:49:2d:23:65 Serial Number: 0010492D2365ge-0/0/4.0 ae0.0 vmnic2 port 10 on dvSwitch DSwitch (etherswitch) localhostge-0/0/2.0 - vmnic3 port 11 on dvSwitch DSwitch (etherswitch) localhost
My IP480 is currently plugged into ge-0/0/14.
Also attaching a config of my EX3300 (is only currently being used in a lab enviornment).
My only suggestion to you would be see if you could try to change the code from 15.1 to 12.3 (R12-S6 or higher) and then report what happes.
Figured I would follow up on this. I had upgraded JunOS and still got the same issue. I pretty much walked away from this whole thing believing that there's just a problem with the hardware on these 400 series phones.
So recently, Mitel released a resolved issue list with the following:
ENG-542554 400 series phones ignore the VLAN assignment in the LLDP policy and sends out DHCP request on native VLAN
So this has been a firmware issue for a long time on these phones. I did some testing and found the phones work correctly about 75% of the time now. So they've made it better, I'm sure they'll continue to improve it.