Voice vlan configuration example, Voice vlan configuration example (automatic mode), Network requirements – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 104: Configuration procedure

Advertising
background image

12-9

To do…

Use the command…

Remarks

Display the ports operating in the current voice
VLAN

display vlan vlan-id

Voice VLAN Configuration Example

Voice VLAN Configuration Example (Automatic Mode)

Network requirements

Create a voice VLAN and configure it to operate in automatic 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, as shown in

Figure 13-2

.

z

Create VLAN 2 and configure it as a voice VLAN, with the aging time being 100 minutes.

z

The IP phone sends tagged packets. It is connected to GigabitEthernet 1/0/1, a hybrid port, with
VLAN 6 being its default VLAN. Set this port to operate in automatic 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”.

Figure 13-2

Network diagram for voice VLAN configuration (automatic mode)

Internet

Device A

GEth1/0/1

VLAN2

VLAN 2

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

Device B

Configuration procedure

# Create VLAN 2 and VLAN 6.

<DeviceA> system-view

[DeviceA] vlan 2

[DeviceA-vlan2] quit

[DeviceA] vlan 6

[DeviceA-vlan6] quit

# Set the aging time for the voice VLAN.

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

Advertising