Forgot password?
 Register now

Welcome to use this form to feedback your problems with Ruijie Community

The category of your feedback

Your Feedback

Your Email address (optional):

Voice VLAN Configuration for IP Phone Scenario Reply

Oscar

Level 1

Ruijie TAC

Voice VLAN Configuration for IP Phone Scenario
11924 1 2018-9-27 11:57:39
Original
This recipe show how to configure voice VLAN for IP Phone scene to ensure high priority voice traffic to your network.


Scene 1:


Topology

DHCP Server --- Access Switch --- IP Phone(untagged traffic) ---- PC

Voice Vlan: 10
Data Vlan: 20

Notes:IP Phone will use untagged traffic by default. Tagged VLAN can be configured on IP Phone manually or obtain specific DHCP option from DHCP server. For more details, please contact manufacturer.

Configuration

Access Switch
Ruijie# configure terminal
Ruijie(config)# vlan 20
Ruijie(config)# vlan 10
Ruijie(config)# voice vlan 10
Ruijie(config)# voice vlan mac-address 0012.3400.0000 maskffff.ff00.0000 description Company A   //Add OUI of IP Phone
Ruijie(config)# mac-vlan mac-address 0012.3456.7890 maskffff.ffff.ffff vlan 10                     //Add mac-vlan based redirection for IP Phone, redirect to voice VLAN
Ruijie(config)# no voice vlan security enable            // Disable voice vlan security to allow data traffic
Ruijie(config)# interface fastEthernet 0/1
Ruijie(config-if)# switchport mode hybrid   
Ruijie(config-if)# switchport hybrid native vlan 20   
Ruijie(config-if)# switchport hybrid allowed vlan adduntagged 10,20  //Untag voice VLAN
Ruijie(config-if)# no voice vlan mode auto                   // Switch to manual mode for voice VLAN
Ruijie(config-if)# voice vlan enable
Ruijie(config-if)# mac-vlan enable

Scene 2:


Topology

DHCP Server --- Access Switch --- IP Phone(tagged traffic) ---- PC

Voice Vlan: 10
Data Vlan: 20

Notes:IP Phone will use untagged traffic by default. Tagged VLAN can be configured on IP Phone manually or obtain specific DHCP option from DHCP server. For more details, please contact manufacturer.


Configuration

Access Switch
Ruijie# configure terminal
Ruijie(config)# vlan 20
Ruijie(config)# vlan 10
Ruijie(config)# voice vlan 10
Ruijie(config)# voice vlan mac-address 0012.3400.0000 mask ffff.ff00.0000 description Company A   //Add OUI of IP Phone
Ruijie(config)# mac-vlan mac-address 0012.3456.7890 mask ffff.ffff.ffff vlan 10                     //Add mac-vlan based redirection for IP Phone, redirect to voice VLAN
Ruijie(config)# no voice vlan security enable            // Disable voice vlan security to allow data traffic
Ruijie(config)# interface fastEthernet 0/1
Ruijie(config-if)# switchport mode hybrid   
Ruijie(config-if)# switchport hybrid native vlan 20   
Ruijie(config-if)# switchport hybrid allowed vlan add tagged 10  //Tag voice VLAN
Ruijie(config-if)# no voice vlan mode auto                   // Switch to manual mode for voice VLAN
Ruijie(config-if)# voice vlan enable
Ruijie(config-if)# mac-vlan enable

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------



Notes: For some S29 serie models(like S2910-10GT2SFP-P-E), it may not support mac-vlan with subnet mask and needs to use mask ffff.ffff.ffff to specify designate MAC address.

0 2021-3-10 20:24:20 View all replies
is the 1920 series support voice VLAN?

Related Posts
Product Model

Share this topic to

Cancel

This site contains user submitted content, comments and opinions and is for informational purposes only. Ruijie may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Ruijie can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Ruijie disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Ruijie Community Terms of Use.

More ways to get help: Visit Support Videos, call us via Service Hotline, Facebook or Live Chat.

©2000-2023 Ruijie Networks Co,Ltd