Voice vlan configuration example, Network requirements, Network diagram – H3C Technologies H3C S3600 Series Switches User Manual
Page 146: Configuration procedure
1-11
Voice VLAN Configuration Example
Voice VLAN Configuration Example (Automatic Voice VLAN Assignment Mode)
Network requirements
Create a voice VLAN and configure it to operate in automatic voice VLAN assignment mode to enable
the port to which an IP phone is connected to join or exit the voice VLAN automatically and voice traffic
to be transmitted within the voice VLAN.
z
Create VLAN 2 and configure it as the voice VLAN, with the aging timer being 100 minutes.
z
The IP phone sends tagged packets. It is connected to Ethernet 1/0/1, a hybrid port, with VLAN 6
being its default VLAN. Set this port to operate in automatic voice VLAN assignment mode.
z
You need to add a user-defined OUI address 0011-2200-000, with the mask being ffff-ff00-0000
and the description string being “test”.
Network diagram
Figure 1-2 Network diagram for voice VLAN configuration (automatic voice VLAN assignment mode)
Internet
Device A
Eth1/0/1
VLAN2
VLAN2
010-1001
OUI:0011-2200-0000
Mask:ffff-ff00-0000
Device B
Configuration procedure
# Create VLAN 2 and VLAN 6.
[DeviceA] vlan 2
[DeviceA-vlan2] quit
[DeviceA] vlan 6
[DeviceA-vlan6] quit
# Set the voice VLAN aging timer.
[DeviceA] voice vlan aging 100
# Add a user-defined OUI address 0011-2200-000 and set the description string to “test”.
[DeviceA] voice vlan mac-address 0011-2200-0000 mask ffff-ff00-0000 description test
# Enable the voice VLAN function globally.
[DeviceA] voice vlan 2 enable
# Configure the vocie VLAN to operate in automatic voice VLAN assignment mode on Ethernet 1/0/1.
This operation is optional. By default, a port operates in automatic voice VLAN assignment mode.
[DeviceA] interface Ethernet 1/0/1
[DeviceA-Ethernet1/0/1] voice vlan mode auto