Network diagram, Configuration procedure – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 74

Advertising
background image

8-6

z

The voice traffic sent by the IP phones is tagged. Configure GigabitEthernet 0/0/1 as a Hybrid port
and as the access port, with VLAN 6 as the default VLAN.

z

The device allows voice packets from GigabitEthernet 0/0/1 with an OUI address of
0011-2200-0000 and a mask of ffff-ff00-0000 to be forwarded through the voice VLAN.

Network diagram

Figure 8-1

Network diagram for automatic voice VLAN mode configuration

Configuration procedure

# Create VLAN 2 and VLAN 6.

<AC> system-view

[AC] vlan 2

[AC-vlan2] quit

[AC] vlan 6

[AC-vlan6] quit

# Configure the voice VLAN aging time.

[AC] voice vlan aging 100

# Configure the OUI address 0011-2200-0000 as the legal address of the voice VLAN.

[AC] voice vlan mac-address 0011-2200-0000 mask ffff-ff00-0000

# Enable the voice VLAN feature globally.

[AC] voice vlan 2 enable

# Configure the voice VLAN mode on GigabitEthernet 0/0/1 as automatic. (Optional, by default, the
voice VLAN mode on a port is automatic mode)

[AC] interface GigabitEthernet 0/0/1

[AC-GigabitEthernet0/0/1] voice vlan mode auto

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

[AC-GigabitEthernet0/0/1] port link-type access

Please wait ...........................................Done.

[AC-GigabitEthernet0/0/1] port link-type hybrid

# Configure the default VLAN of the port as VLAN 6 and allow packets from VLAN 6 to pass through the
port.

[AC-GigabitEthernet0/0/1] port hybrid pvid vlan 6

[AC-GigabitEthernet0/0/1] port hybrid vlan 6 tagged

# Enable the voice VLAN feature on the port.

[AC-GigabitEthernet0/0/1] voice vlan enable

[AC-GigabitEthernet0/0/1] return

Advertising