LLDP
Warning: Do not follow this guide unless you know for certain you need LLDP. Incorrectly implementing this protocol MAY lead to undesired network functionality.
This guide applies to Cisco switches, and the screenshots are specifically from a SG300 28 port switch. Some options may be named differently, or not exist at all on other brands of network equipment.
In the switch:
LLDP Status: Enabled
TLV Advertise Interval: 60
LLDP MED Network Policy
Create 2 policies as follows
Application Voice, VLAN ID 2, VLAN Tagged
Application Voice Signaling, VLAN ID 2, VLAN Tagged
LLDP MED Port Settings
Add Voice and Voice signaling applications to desired ports
VLAN Management=>Voice VLAN=>Properties
Dynamic Voice VLAN: Disabled
Create VLAN: VlanID 2, name Voice
Port to VLAN
Set desired ports for voice traffic (any port that will have a phone plugged in, plus the port that will handle voice dhcp, if needed), to VLAN 2: Tagged
In the PBX
Ensure all phones have LLDP enabled. You can set this on each phone individually in the menu under Settings=>Advanced=>Network=>LLDP, but we would recommend following the instructions listed at http://wiki.ipitomy.com/wiki/HD_Phone_FAQ#How_do_I_Enabled_LLDP_Globally_for_the_Phones to set LLDP globally if you need it for all phones.
Helpful Links
Virtual Local Area Networks (VLANs)
http://www.practicalnetworking.net/stand-alone/vlans/
All Credit and Thanks go to networking guru Ed Harmoush at Practical Networking
Routing Between VLANs
http://www.practicalnetworking.net/stand-alone/routing-between-vlans/
All Credit and Thanks go to networking guru Ed Harmoush at Practical Networking