Network technician enabling LLDP and WS-Discovery on managed switches

Joe B.

Expert ★★★★★ 27,853 satisfied customers

Specialities: Managed switches (UniFi/Omada/Aruba/MikroTik/Cisco small business/Netgear), VLAN design, LLDP/LLDP‑MED, WS‑Discovery/WSDD

Enable LLDP and WS‑Discovery securely — VLAN‑aware discovery, printers/PCs find each other without exposing your LAN

Technician avatar Technician
Hey! We’ll get device discovery working without weakening security. Tell me your switch platform — UniFi, TP‑Link Omada, Aruba Instant On, MikroTik, Netgear, or Cisco small business. We’ll enable LLDP/LLDP‑MED and WS‑Discovery correctly, keep mDNS/SSDP flowing where needed, and apply VLAN isolation + ACLs so discovery stays LAN‑only.
Customer
Windows 11 PCs can’t find printers or scan stations after we moved to separate VLANs. The switches are Omada. We want WS‑Discovery and LLDP turned on but kept secure.
Technician avatar Technician
Got it. After a VLAN redesign, broadcasts and multicasts don’t cross boundaries by default. WS‑Discovery (WSD) uses multicast for Windows printers/scanners, while LLDP is a link‑layer neighbor protocol (useful for inventory, VoIP phones via LLDP‑MED). The goal: allow discovery between specific VLANs (e.g., Users ↔ Printers) using IGMP snooping, mDNS/WSD relays, or ACL‑based helpers — without opening the whole network.
Customer
Where do I switch on LLDP and WS‑Discovery in Omada? And how do I keep it LAN‑only so it never hits the WAN?
Technician avatar Technician
TP‑Link Omada — enable discovery safely:
1) Switches → Profiles → LLDP → set a profile with LLDP = Enabled, advertise system name, VLAN, port description; apply to access ports. For VoIP ports, enable LLDP‑MED with voice VLAN policy.
2) For WS‑Discovery (Windows discovery of printers/scanners): enable IGMP snooping on the users and printers VLANs and add a Multicast Policy to allow 239.255.255.250:3702 between those VLANs only.
3) Create ACLs: allow WSD multicast and the printer TCP ports; deny other inter‑VLAN traffic by default; block multicast to WAN/Uplink so discovery stays internal.
4) Verify with Get‑Printer (PowerShell) and Windows Add Printer; printers should appear without exposing the rest of the network.
Customer
We also have UniFi switches at another site and Macs. Does this change anything for mDNS and WS‑Discovery?
Technician avatar Technician
UniFi + macOS:
• Enable LLDP globally in Network Application.
• For Apple devices and AirPrint, turn on the mDNS Reflector for selected VLANs only (do not reflect to Guest/WAN).
• For Windows discovery, allow WS‑Discovery multicast between Users and Printers VLANs using a multicast exception or firewall rule for 239.255.255.250:3702.
• Keep IGMP snooping enabled to prevent multicast floods; pair with storm control on access ports.
Customer
Is LLDP safe to expose across trunks? Any reason to disable it?
Technician avatar Technician
LLDP best practices: keep LLDP enabled on access ports for inventory and auto‑VLAN (with LLDP‑MED for phones). On WAN/Untrusted ports, disable LLDP/CDP to avoid leaking details (hostname, VLAN, firmware). Across trusted trunks it’s fine — just avoid advertising sensitive port descriptions.
Customer
Can we do discovery across VLANs without opening full traffic? Which ports should I allow?
Technician avatar Technician
Minimal, safe ruleset:
• Multicast: allow 239.255.255.250:3702 UDP (WS‑Discovery) from Users → Printers VLAN only.
• Printer services: allow the vendor ports (e.g., 9100/TCP, 631/IPP, 515/LPD) from Users → Printers.
• Block all other inter‑VLAN traffic by default; deny multicast to WAN.
• Optional: use a WSD relay/forwarder (like wsdd) if your firewall can’t pass the multicast between VLANs.
Customer
What about MikroTik or Aruba Instant On? We have a small branch with those switches.
Technician avatar Technician
MikroTik: enable LLDP on bridge; use IGMP snooping per VLAN and firewall inter‑VLAN rules to allow WSD multicast only.
Aruba Instant On: toggle LLDP on ports, enable Multicast optimization; for cross‑VLAN discovery, use router/firewall policies to pass 3702/UDP between selected VLANs.
Customer
How do we prove it’s working and still secure?
Technician avatar Technician
Validation:
1) On Windows: run Get-Printer / Test-NetConnection -ComputerName printer -Port 631. Devices should appear in Add a printer via WS‑Discovery.
2) On macOS/iOS: verify AirPrint via mDNS if reflected; otherwise IPP by address.
3) On switches: check LLDP neighbors table and confirm VLAN, port, PoE data.
4) Security: confirm your ACL default deny is intact, multicast not forwarded to WAN, and only allowed VLAN pairs can discover.
Customer
Great. We also have VoIP phones failing to pick up the voice VLAN.
Technician avatar Technician
LLDP‑MED voice VLAN: on ports for IP phones, enable LLDP‑MED Network Policy and advertise the voice VLAN, DSCP, and priority. Keep PoE on, and restrict phones with MAC Authentication Bypass (MAB) or sticky MAC if available. This speeds provisioning without broadening access.
Customer
Perfect — discovery works and inter‑VLAN access is still locked down.
Technician avatar Technician
Summary: Safely enable LLDP and WS‑Discovery on managed switches with IGMP snooping, mDNS/WSD relay where needed, and VLAN/ACL controls. You’ll restore Windows printer/scanner discovery and LLDP‑MED voice provisioning without exposing the LAN. Need hands‑on help? Open the chat.

Quick answer: the accepted fix

Accepted fix to enable discovery safely: turn on LLDP/LLDP‑MED on access ports; enable IGMP snooping; allow WS‑Discovery (239.255.255.250:3702) only between Users and Printers VLANs; use mDNS reflector for AirPrint if needed; keep ACL default‑deny and block multicast to WAN.


Why discovery breaks after VLANs — and how to fix it securely

Moving to segmented networks stops broadcast and multicast by design. To restore printer discovery and scanner discovery you selectively pass WSD multicast and/or reflect mDNS while keeping L3 ACLs in place. LLDP remains L2‑only and helps inventory, PoE planning, and LLDP‑MED voice VLAN assignment.

How to verify LLDP/WS‑Discovery safely

Check the LLDP neighbors table on switches; confirm hostname, VLAN, port, PoE. On Windows, add a printer by discovery — it should appear within seconds. Generate multicast test traffic and confirm IGMP snooping prunes ports and ACLs still block other inter‑VLAN flows and the WAN uplink.

Managed switch discovery — admin checklist

Enable what you need, contain what you don’t.

Quick path: enable LLDP/LLDP‑MED on access, disable on WAN; turn on IGMP snooping; create VLAN‑scoped WS‑Discovery rules; optionally use mDNS reflector for AirPrint; enforce ACL default‑deny; add storm control, DHCP snooping, and ARP inspection for extra safety.

Disclaimer: This information is AI-generated and intended for general guidance only. For advice specific to your environment, please consult a verified expert on Whizz-Tech before making decisions.


Getting Started Is Easy

Ask for help, 24/7

Members enjoy round-the-clock access to 12,000+ verified Experts in networking, security, and systems.

Expert will respond in minutes

We match you with an Expert for your stack — UniFi, Omada, Aruba, MikroTik, Netgear, Cisco SB.

Save time & money

Restore discovery (printers/scan stations) without weakening VLAN isolation or opening the firewall.

FAQ

Is LLDP safe to enable on managed switches?

Yes. Keep LLDP on access/trunk ports, disable it on WAN/untrusted ports, and avoid exposing sensitive descriptions. Pair with LLDP‑MED for voice VLANs.

How do I make WS‑Discovery work across VLANs without opening everything?

Enable IGMP snooping and allow 239.255.255.250:3702 UDP only between Users and Printers VLANs. Keep an ACL default‑deny and block multicast to WAN.

Do I need an mDNS reflector for macOS/AirPrint?

Only if printers and Macs are on different VLANs. Use a mDNS reflector selectively; do not reflect to Guest or WAN segments.

Will enabling LLDP leak information?

On untrusted ports it can. Disable LLDP/CDP on WAN/ISP ports and keep management VLANs restricted. Inside LAN, LLDP improves visibility and PoE planning.

Which platforms are supported?

UniFi, TP‑Link Omada, Aruba Instant On, MikroTik, Netgear, Cisco small business — the approach is the same: LLDP on, IGMP snooping, selective WSD/mDNS between VLANs, and tight ACLs.

Common discovery problems and quick fixes
SymptomLikely causeQuick fix
Printers don’t appear for Windows 11 WSD multicast blocked by VLAN firewall Allow 239.255.255.250:3702 Users → Printers; keep ACL default‑deny
AirPrint works only on same VLAN No mDNS reflection between subnets Enable mDNS reflector for selected VLANs only; block WAN/Guest
Phones don’t join voice VLAN LLDP‑MED policy missing Enable LLDP‑MED with voice VLAN and DSCP policy on phone ports
Multicast floods after change IGMP snooping disabled Enable IGMP snooping on relevant VLANs; add storm control

Step‑by‑step (switch platform examples)

  1. Enable LLDP (and LLDP‑MED for phones) on access ports; disable on WAN/ISP.
  2. Turn on IGMP snooping on Users and Printers VLANs.
  3. Create ACLs to allow WS‑Discovery (239.255.255.250:3702 UDP) and printer TCP ports from Users → Printers only.
  4. Optionally enable mDNS reflector for AirPrint between selected VLANs.
  5. Test discovery from Windows/macOS; verify LLDP neighbors and audit logs.

Step‑by‑step (Windows/macOS client checks)

  1. Windows: ensure Function Discovery Provider Host and Function Discovery Resource Publication services are running.
  2. macOS/iOS: verify AirPrint/mDNS; if printers are IPP‑only, add by address.
  3. Confirm firewall rules allow outbound WSD and IPP from clients in the Users VLAN.

Sources

Matt Verified Icon
Matt ● replies in < 1 min
Technician Expert
⭐⭐⭐⭐⭐ Trusted by 27,000+ customers
Avatar
Alex · Expert's Assistant