[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 mode on GigabitEthernet 1/0/1. This operation is optional. By default, a voice VLAN operates in automatic mode on a port.

[DeviceA] interface GigabitEthernet 1/0/1 [DeviceA-GigabitEthernet1/0/1] voice vlan mode auto

# Configure GigabitEthernet 1/0/1 as a hybrid port.

[DeviceA-GigabitEthernet1/0/1] port link-type hybrid

#Configure VLAN 6 as the default VLAN of GigabitEthernet 1/0/1, and configure GigabitEthernet 1/0/1 to permit packets with the tag of VLAN 6.

[DeviceA-GigabitEthernet1/0/1] port hybrid pvid vlan 6

[DeviceA-GigabitEthernet1/0/1] port hybrid vlan 6 tagged

# Enable the voice VLAN function on GigabitEthernet 1/0/1.

[DeviceA-GigabitEthernet1/0/1] voice vlan enable

Voice VLAN Configuration Example (Manual Mode)

Network requirements

Create a voice VLAN and configure it to operate in manual mode. Add the port to which an IP phone is connected to the voice VLAN to enable voice traffic to be transmitted within the voice VLAN, as shown in Figure 1-3.

z

z

z

Create VLAN 2 and configure it as a voice VLAN. Set the voice VLAN to operate in security mode The IP phone sends untagged packets. It is connected to GigabitEthernet 1/0/1, a hybrid port. Set this port to operate in manual mode.

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”.

Figure 1-3Network diagram for voice VLAN configuration (manual mode)

Device A

Device B

Internet

GEth1/0/1 VLAN2

VLAN2

010- 1001

OUI: 0011- 2200- 0000 Mask:ffff-ff00- 0000

Configuration procedure

#Enable the security mode for the voice VLAN so that the ports in the voice VLAN permit valid voice packets only. This operation is optional. The security mode is enabled by default.

1-10

Page 95
Image 95
3Com WX3000 operation manual Voice Vlan Configuration Example Manual Mode, # Enable the voice Vlan function globally