Our network has 2 vlans one for voice which points to a router connected to a T1 for voice and the other for data connected to a router with a T1 for data. This has worked fine with a couple 24 port 2950's.
We just installed a new switch. Now some phones work perfectly while others are getting their IP address from our DHCP server on the data vlan rather than our voip providers dhcp server.
The phones are Cisco 7940's. The only thing that changed on the network was everything was unplugged from the old switch and connected to the new switch.
The switch is 48 ports. In the attached config I removed ports 2-48 as they are all configured identically.
Is there anything obvious here that could be causing this? Any help would be immensely appreciated!