Skip to main content
Umer221
Staff
Staff
October 27, 2023

Troubleshooting Tip: VOIP phones getting IPs from native VLAN instead of voice VLAN in FortiSwitch

  • October 27, 2023
  • 0 replies
  • 2076 views
Description This article describes the steps to resolve issues with VOIP phones getting IP addresses from the incorrect VLAN by configuring custom LLDP profiles and MED-Network policies on a standalone FortiSwitch.
Scope FortiSwitch, VoIP, FortiOS, FortiGate.
Solution

Firstly, confirm that the topology is a Standalone FortiSwitch.

 

Run the following commands to create a custom LLDP profile:

 

config switch lldp profile
edit voice_vlan <- Create a new Voice_vlan profile.

 

Run the following commands to configure the med-network-policy:

 

edit voice

set status enable        <- Enable the MED-Network Policy.

set vlan <Vlan ID>       <- Specify the Voice VLAN ID.

set assign-vlan enable   <- Enable auto-assignment of VLAN.

next

end   

 

By following these steps, the VOIP phones should now obtain an IP address from the correct Voice VLAN.

Related articles:
Technical Tip: Managed FortiSwitch LLDP voice VLAN auto tagging

Technical Tip: Send a tagged VLAN via RADIUS