Im just after some information of whether ive configure my VoIP test network correctly. Im using 48Port POE 2960 and Siemens Openstage 15 phones.
switchport access vlan 125
switchport mode access
switchport voice vlan 169
switchport port-security maximum 2
switchport port-security violation restrict
srr-queue bandwidth share 10 10 60 20
mls qos trust dscp
auto qos voip trust
service-policy input qospolicy
The DHCP Subnet, im using Opt 43 with the manufactures code + the VlanID all in hex.
This seems to work, but is this the best way of making VoIP work? Without the Hex sting, the VoIP phone will not work saying telephony down. It would be tidier to have all the config on the switch to get this to work. I have a test bed of around 100 phones at the moment.
Config looks fine - you have a qos input policy AND mls qos trust dscp, one will override the other so pick one and stick with it.
Otherwise assuming your phones are correctly landing in vlan 169 you're fine.
It is common practice to run DHCP on a server so there's no problem with the config you have in that regard - you can typically run it on the switch but centralised admin by the folks who are already looking after DHCP for the data VLANs is the way forward.
Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!