I have configured separate vlan for voip and connected interface to it (as shown below). But the phone is not getting ip address automatically. switch- cisco 2960-x phone- yealink
I had tried: (on phone) 1) changing cables 2) factory reset 3) static ip address setup
On switch, I had provided IP and no shut. It is getting IP of access vlan 10 instead of vlan 30.