LLDP-MED and Automatic Phone VLAN Discovery
A new IP phone plugged into an access port needs to know three things before it can make a call: which VLAN carries voice, how much power it can draw, and which priority marking to use. LLDP-MED supplies all three from the switch, so a phone can be installed without touching its configuration. The convenience is real, but it depends on the switch advertising correctly and on the phone trusting what it hears, which is not always the case in a mixed estate.
The 802.1AB Foundation
LLDP, standardised as 802.1AB, is a neighbour discovery protocol. Each device periodically sends a frame describing itself and listens to the frames from its neighbours. Unlike a proprietary discovery protocol, it is vendor neutral, which is why it has become the common way for phones and switches to exchange basic information. The information is stored by the neighbour and can be read back by a management system.
LLDP-MED extends LLDP with type-specific information for endpoint devices such as phones. A switch port advertises the voice VLAN identifier, the power it can supply through PoE, and the layer two and layer three priority values the phone should apply. A phone that supports LLDP-MED reads these values as it starts and configures itself accordingly, without a manual VLAN assignment on the device.
| Information | Advertised by | Used by the phone for |
|---|---|---|
| Voice VLAN ID | Switch port via LLDP-MED | Tagging voice frames on the correct VLAN |
| PoE power | Switch via LLDP power negotiation | Requesting the power class it needs |
| Layer 2 priority | Switch via LLDP-MED | 802.1p marking of voice frames |
| Layer 3 priority | Switch via LLDP-MED | DSCP marking of RTP packets |
| Port and location | Switch via LLDP and location TLVs | Emergency call location data |
| Neighbour identity | Both devices | Inventory and topology mapping |
What the Switch Must Be Configured to Do
Enabling LLDP globally is not the same as enabling the MED advertisements that a phone needs. The port must be configured as a voice VLAN port, with the voice VLAN identified and the MED TLVs enabled. The native or data VLAN for a attached PC also has to be defined, because the same port often serves a phone and a workstation behind it. Getting the two VLANs confused is the most common source of phones that boot but never register.
PoE negotiation deserves separate attention. A phone can draw power without LLDP, using the default classification, but LLDP power negotiation lets it request a specific allocation. Where a switch is near its power budget, a phone that requests more than is available may boot partially or reboot when features such as a colour display or a Wireless module are active. The switch should be sized on the negotiated demand, not on the theoretical minimum.
Marking and Trust Boundaries
The priority values delivered by LLDP-MED tell the phone how to mark its own traffic. The switch port must then trust those markings, otherwise it will rewrite them and the careful marking at the phone is wasted. Conversely, trusting markings from a port where a user can attach their own device creates a way to jump the voice queue. The trust setting should match the physical reality of the port.
- Enable LLDP and LLDP-MED TLVs explicitly on voice access ports
- Define both the voice VLAN and the data VLAN on each port
- Verify that the switch trusts voice markings only where a phone is expected
- Size the PoE budget against negotiated demand, not minimum classification
- Confirm the phone actually supports LLDP-MED before relying on it
- Check neighbour tables to see what the switch believes is connected
LLDP-MED Versus DHCP Options
Before LLDP-MED became widespread, phones learned the voice VLAN through a DHCP option carrying a vendor-specific string. Many platforms still support it, and some estates use both mechanisms at once. The difference matters when they disagree: a phone may take the VLAN from one source and the priority marking from another, producing a configuration that works intermittently depending on boot timing.
LLDP-MED has the advantage of being standardised and of carrying power and priority information that a DHCP string was never designed for. DHCP options remain useful where switches do not support LLDP-MED or where phones are behind a device that does not pass LLDP frames. The important thing is to choose one authoritative source per site and to document it, rather than leaving both enabled and hoping they agree.
| Aspect | LLDP-MED | DHCP vendor option |
|---|---|---|
| Standardisation | IEEE standard, vendor neutral | Vendor-specific string formats |
| Voice VLAN | Yes | Yes, format varies by vendor |
| PoE negotiation | Yes | No |
| Priority marking | Yes | Limited or none |
| Requires switch support | Yes, with MED enabled | No, only a DHCP server |
| Failure mode | Phone uses default VLAN | Phone waits for the option or guesses |
Multi-Vendor Behaviour and Troubleshooting
Mixed estates are the norm. A switch from one vendor, phones from another, and a DHCP server managed by a third team is a common combination, and each may claim to support LLDP while differing on which TLVs are actually sent. The practical diagnostic is to read the LLDP neighbour table on the switch and the LLDP information shown by the phone. If the switch advertises a voice VLAN that the phone never applies, the problem is on the phone side; if the switch shows no MED values, it is on the switch side.
Timing also matters. A phone boots, negotiates power, reads LLDP, and then requests an address on the voice VLAN. If LLDP frames are delayed or the switch port is still in a default state, the phone may fall back to a default VLAN and stay there until rebooted. A port that is configured correctly but applied after the phone has booted will not fix an already running device.
A Short Troubleshooting Sequence
Begin with physical facts: is the phone connected to the expected port, is the port on the correct VLAN, and is PoE available. Then read what the switch advertises, then what the phone received, and only then look at DHCP. Following this order avoids changing DHCP settings when the fault is a missing MED advertisement.
- Read the switch neighbour table before changing phone settings
- Compare the advertised VLAN with the VLAN the phone is using
- Check PoE state when a phone boots slowly or resets
- Confirm priority markings are trusted on the access port
- Choose one authoritative source when LLDP and DHCP both exist
- Reboot a phone after a switch port configuration change
Security and Rogue Device Protection
LLDP makes configuration easy partly because it is trusting. A device that can send LLDP frames on an access port can claim to be a phone and may be placed into the voice VLAN automatically. Where that VLAN has access to sensitive systems, the discovery mechanism becomes a way around the port design. Port security, 802.1X, or a strict limit on the number of devices per port should be used alongside LLDP rather than instead of it.
The same issue appears when a user connects a small switch under a desk. LLDP may advertise to several devices behind it, and the voice VLAN can extend further than intended. A design that ties voice VLAN assignment to a single authenticated endpoint avoids this, and it also makes the inventory accurate because the switch knows exactly which port holds a phone.
Discovery as Part of the Inventory
Because LLDP carries neighbour information in both directions, it can do more than configure a phone. The switch can report which phone model is attached to which port, and the phone can report which switch and port it sees. That mapping is useful for inventory and for troubleshooting a device that has been moved. Where access control is also in use, the same information helps confirm that the physical and logical records agree.
- Use neighbour tables to reconcile phone inventory with port records
- Check advertised location data used for emergency calls
- Keep the voice VLAN identifier consistent across similar ports
- Review PoE utilisation after adding high-demand phone models
- Confirm LLDP frames are passed by any device between switch and phone
- Record the discovery method chosen for each site
Redstone Approach
Redstone NRP IP phones support LLDP-MED for voice VLAN discovery, power negotiation, and priority marking, so phones can be deployed on standards-compliant access ports without per-device VLAN configuration. The platform can operate alongside DHCP-based discovery where older network equipment requires it, and the management system reports the VLAN and registration state of each phone so that a discovery fault can be separated from a registration fault.
Redstone Systems, Inc. founded in Delaware, USA in December 2002, has been the ODM vendor for many well-known communications companies, serving the Southeast Asian market. In 2020, Redstone Systems will begin to return to the North America market with its self-developed brand.
Redstone has a complete product line of intelligent voice gateways, providing IP-PBXs, analog VoIP gateways (FXS/FXO), digital VoIP gateways (E1/T1), border appliances, and session boundary controllers (SBCs).
With advanced technology in digital signal processor (DSP), speech coding and speech processing, as well as efficient operational tools such as cloud remote management, auto provisioning, Redstone gateways are widely used in markets of enterprise communications, cloud communications, call centers, operators’ IMS/SIP trunks, bringing users friendly, efficient and reliable communication experience.
For more information about Redstone, You can follow us on Facebook, Linkedin, and Youtube to be the first to get the latest news.

Current Location :

