Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IP phone won't work with DHCP until I manually assign VLAN 1

Status
Not open for further replies.

J1121

MIS
Dec 12, 2002
161
US
I have a new 9611G and an older 9640. I have a Cisco switch port setup with the following:
switchport access vlan 10
switchport mode access
switchport voice vlan 5
no mdix auto
spanning-tree portfast
spanning-tree bpduguard enable

The phone of course should get on VLAN 5 and then get all its info from DHCP....but it's not getting anywhere at all unless I manually assign the VLAN at the phone itself. Once I assign just the VLAN on the phone, it will then work with DHCP. Any ideas on what's wrong? I have the latest firmware updates on the 9640 and 9611G. I thought this was working ok on the 9640 without manually assigning the VLAN at the phone, but when I rechecked it and cleared all it's IP entries, it wouldn't work with DHCP. It sits at the display of DHCP: xxx (counting up the seconds)and never goes anywhere.
 
P.S.
In the example above, the objective is to have the PC that's plugged into the phone end up on VLAN 10 (the 'native vlan?) and the phone on VLAN 5. It works perfectly except for the fact that I have to manually assign the VLAN on the phone before DCHP will work. Not sure what I'm missing...
 
Actually, I think I may have stumbled across the problem. I'll need to do some testing to verify. LLDP is not supported on the Cisco IOS version for the switch I'm using. I have a newer switch that has the LLDP commands available and I'll test the phone on that switch next. According to Avaya docs I've seen, you must have LLDP enabled on the Cisco switch before this will work with the 9600 phones.
 
or add a option242 onto the scope for VLAN10 that forces the phone to use VLAN5 dynamically

Take Care

Matt
I have always wished that my computer would be as easy to use as my telephone.
My wish has come true. I no longer know how to use my telephone.
 
Example

OPTION:242:MCIPADD=10.123.8.40,MCPORT=1719,HTTPSRVR=10.112.96.23,L2Q=1,L2QVLAN=5
 
You can also add VLAN information in the 46xxsettings.txt file. That worked for me at a site using HP ProCurves.
 
The fix was the LLDP not being enabled on the LAN switch I was on. I went up to a 4510R switch we have on another floor that was on IOS version Verion 12.2(53)SG2 and this works. I had to do 'lldp run' to turn it on, then change the port I was using to add 'switchport voice vlan 5' to tell it which vlan was the voice vlan, in my case it was 5. So now the phone boots up, does the LLDP stuff, reboots once the switch tells it the voice vlan is 5, then it boots up on vlan 5 and goes to the DHCP server for vlan 5 and grabs all the info I have in there for where the phone should register to, etc (CLAN card IP, bla, bla, bla).

It was almost too easy. Now I can quit banging my head against the wall!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top