Community discussions

MikroTik App
 
geofflamont
just joined
Topic Author
Posts: 5
Joined: Sun Jan 01, 2023 7:18 pm

Voice VLAN

Tue Jan 03, 2023 5:04 pm

Hi, I am looking into building a network with several CRS354's and 328s. I am going to need to patch pc's off of Yealink T46S phones and am wondering if these switches have an equivalent of the Cisco voice vlan setting so I can give my VoIP and PC's different VLANs? Has anyone setup anything similar with these switches? The docs seem a bit ambiguous.
 
User avatar
pcunite
Forum Guru
Forum Guru
Posts: 1345
Joined: Sat May 25, 2013 5:13 am
Location: USA

Re: Voice VLAN

Fri Jan 06, 2023 8:58 pm

I use CR328 for this purpose. The MikroTik automated way is here. However, I just use hybrid ports.
 
SPKA16
newbie
Posts: 29
Joined: Fri Aug 05, 2016 8:41 pm

Re: Voice VLAN

Fri Jan 06, 2023 9:12 pm

You mean voice network with LLDP. That's a hidden feature we long awaited for which you can find in IP/NEIGBORS for quite a while now.
https://help.mikrotik.com/docs/display/ ... figuration

As long you have your ports tagged with the voice-vlan and use this LLDP-MED (lldp-med-net-policy-vlan) with the vlan-tag of the VoIP-vlan all phones will use that vlan tagged on the switchport. Works just as 'voice' in vlan with Cisco/HPE etc.
 
User avatar
cfikes
Member Candidate
Member Candidate
Posts: 106
Joined: Mon Dec 08, 2014 9:14 pm
Location: Texas
Contact:

Re: Voice VLAN

Fri Jan 06, 2023 9:13 pm

Mikrotik does support a LLDP MED to assign voice vlans.

https://help.mikrotik.com/docs/display/ ... +discovery

In Winbox you will find the setting under IP -> Neighbors -> Discovery Settings

In the CLI
/ip/neighbor/discovery-settings/set lldp-med-net-policy-vlan=YOUR_VOICE_VLAN discover-interface-list=YOUR_INTERFACE_LIST protocol=lldp,cdp,mndp
 
User avatar
cfikes
Member Candidate
Member Candidate
Posts: 106
Joined: Mon Dec 08, 2014 9:14 pm
Location: Texas
Contact:

Re: Voice VLAN

Fri Jan 06, 2023 9:16 pm

You mean voice network with LLDP. That's a hidden feature we long awaited for which you can find in IP/NEIGBORS for quite a while now.
https://help.mikrotik.com/docs/display/ ... figuration

As long you have your ports tagged with the voice-vlan and use this LLDP-MED (lldp-med-net-policy-vlan) with the vlan-tag of the VoIP-vlan all phones will use that vlan tagged on the switchport. Works just as 'voice' in vlan with Cisco/HPE etc.
Didn't mean to double post, must have been typing at the same time, apologies!
 
jrosetto
Frequent Visitor
Frequent Visitor
Posts: 68
Joined: Fri Feb 19, 2016 9:15 pm

Re: Voice VLAN

Thu Apr 13, 2023 4:20 pm

Can you elaborate on how to set this up?

Simply tagging the voice vlan on all ports of the switch and configuring LLDP-MED to the vlan ID doesn't seem to do anything. I am using Yealink phones and they always end up on the default vlan.
You mean voice network with LLDP. That's a hidden feature we long awaited for which you can find in IP/NEIGBORS for quite a while now.
https://help.mikrotik.com/docs/display/ ... figuration

As long you have your ports tagged with the voice-vlan and use this LLDP-MED (lldp-med-net-policy-vlan) with the vlan-tag of the VoIP-vlan all phones will use that vlan tagged on the switchport. Works just as 'voice' in vlan with Cisco/HPE etc.
 
mducharme
Trainer
Trainer
Posts: 1777
Joined: Tue Jul 19, 2016 6:45 pm
Location: Vancouver, BC, Canada

Re: Voice VLAN

Tue May 16, 2023 1:04 am

Simply tagging the voice vlan on all ports of the switch and configuring LLDP-MED to the vlan ID doesn't seem to do anything. I am using Yealink phones and they always end up on the default vlan.
What you have done should do exactly that. Perhaps the config file for your phones is setting them to ignore the VLAN received via LLDP-MED.

Who is online

Users browsing this forum: No registered users and 10 guests