SNR S2940-8G-v2 Switch Configuration Guide
Voice VLAN Configuration
1. Configure the VLAN to Voice VLAN
Command Explanation
Global mode
voice-vlan vlan <vlan-id> Set/cancel the VLAN as a Voice VLAN
no voice-vlan
2. Add a Voice equipment to a Voice VLAN
Command Explanation
Global mode
voice-vlan mac <mac-address> mask <mac-mask> priority
<priority-id> [name <voice-name>]
no voice-vlan { mac <mac-address> mask <mac-mask> |
name <voice-name> | all }
Specify certain voice equipment
join/leave the Voice VLAN.
3. Enable the Voice VLAN of the port
Command Explanation
Port mode
switchport voice-vlan enable Enable/disable the Voice VLAN function on the port
no switchport voice-vlan enable
23.3 Typical Applications of the Voice VLAN
Scenario:
A company realizes voice communication through configuring Voice VLAN. IP-phone1 and IP-
phone2 can be connected to any port of the switch, namely normal communication and intercon-
nected with other switches through the uplink port. IP-phone1 MAC address is f8-f0-82-11-22-33,
connect port 1/0/1 of the switch, IP-phone2 MAC address is f8-f0-82-11-22-55, connect port 1/0/2
of the switch.
Figure 23.1: VLAN typical apply topology Figure
Configuration items Configuration Explanation
Voice VLAN Global configuration on the Switch.
152