Part 1-How to Configure Voice VLAN in FS S3100, S3410, S3910, S5810 Switches?
Voice VLAN is a crucial feature in modern network setups, especially in offices and businesses where IP phones are widely used. By isolating voice traffic from data traffic and prioritizing voice packets, Voice VLAN ensures crystal-clear voice communications. In this blog, we will walk you through a step-by-step configuration guide for enabling and setting up Voice VLAN in FS S3100, S3410, S3910, and S5810 Switches, with a focus on the single IP phone mode configuration.
Before we begin, make sure you have access to the switch's management interface with administrative privileges.
1. Network requirements
- The Voice VLAN is VLAN 2. To ensure call quality, voice data needs to be transmitted within the dedicated Voice VLAN, and this Voice VLAN should not carry non-voice data.
- Deployed IP phones automatically obtain an IP address, send untagged voice traffic, with the MAC address 0012.3456.7890, and the OUI address 0012.3400.0000.
2. Network Topology
3. Configuration Key Points
- As the port Fa0/1 is connected to an IP phone that sends out untagged voice traffic and contains only voice traffic, the port must be configured in manual mode because untagged voice traffic is not supported in automatic mode. Additionally, the port Fa0/1 should be configured as a Hybrid Port. According to the matching criteria, the native VLAN on Fa0/1 must be set as the Voice VLAN, and the Voice VLAN should be included in the list of allowed untagged VLANs on the port. Therefore, in accordance with the network requirements, the native VLAN for port Fa0/1 should be set to VLAN 2 (Voice VLAN ID), and during the configuration, VLAN 2 needs to be added to the list of allowed untagged VLANs on port Fa0/1.
- The working mode of the switch's Voice VLAN should be set to manual mode.
4. Configuration Steps
#Create VLAN 2,and configure VLAN 2 as Voice VLAN
Switch>en
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# vlan 2
Switch(config-vlan)# exit
Switch(config)# voice vlan 2
# Configure Voice VLAN OUI address
Switch(config)# voice vlan mac-address 0012.3400.0000 mask ffff.ff00.0000 description Company A
# Configure Fa0/1 as Hybrid Port
Switch(config)# interface fastEthernet 0/1
Switch(config-if)# switchport mode hybrid
# Configure Voice VLAN as Fa0/1's native VLAN
Switch(config-if)# switchport hybrid native vlan 2
# Add Voice VLAN(VLAN 2)to Fa0/1's untagged list
Switch(config-if)# switchport hybrid allowed vlan add untagged 2
#Disable voice vlan auto mode and enable the voice VLAN function of theFa0/1 port.
Switch(config)# interface fastEthernet 0/1
Switch(config-if)# no voice vlan mode auto
Switch(config-if)# voice vlan enable
# Set the uplink port on the switch as a trunk port.
Switch(config)# interface fastEthernet 0/24
Switch(config-if)# switchport mode trunk
5. Verification
# Check status of voice vlan
Ruijie(config)# show voice vlan
Voice Vlan status: ENABLE
Voice Vlan ID : 2
Voice Vlan security mode: Security
Voice Vlan aging time: 1440minutes
Voice Vlan cos : 6
Voice Vlan dscp : 46
Current voice vlan enabled port mode:
PORT MODE
-------------------- ----------
Fa0/1 MANUAL
# Check Voice VLAN OUI address
Ruijie(config)# show voice vlan oui
Oui Address Mask Description Status
0012.3400.0000 ffff.ff00.0000 Company A static