Configuration procedure, Verifying the configuration – H3C Technologies H3C S5560 Series Switches User Manual

Page 215

Advertising
background image

181

IP phone A send untagged voice traffic.

For correct voice traffic transmission, perform the following tasks on Device A:

Configure a voice VLAN to transmit voice traffic.

Configure GigabitEthernet 1/0/1 to operate in manual voice VLAN assignment mode.

Add the MAC address of IP phone A to the device for voice packet identification. The mask is
FFFF-FF00-0000.

Figure 55 Network diagram

Configuration procedure

# Configure the voice VLAN to operate in security mode.

<DeviceA> system-view

[DeviceA] voice-vlan security enable

# Add a MAC address 0011-2200-0000 with the mask FFFF-FF00-0000.

[DeviceA] voice-vlan mac-address 0011-2200-0000 mask ffff-ff00-0000 description test

# Create VLAN 2.

[DeviceA] vlan 2

[DeviceA-vlan2] quit

# Configure GigabitEthernet 1/0/1 to operate in manual voice VLAN assignment mode.

[DeviceA] interface gigabitethernet 1/0/1

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

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

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

# Configure VLAN 2 as the PVID of GigabitEthernet 1/0/1.

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

# Configure GigabitEthernet 1/0/1 to forward the voice traffic from VLAN 2 without VLAN tags.

[DeviceA-GigabitEthernet1/0/1] port hybrid vlan 2 untagged

# Enable voice VLAN and configure VLAN 2 as the voice VLAN on GigabitEthernet 1/0/1.

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

[DeviceA-GigabitEthernet1/0/1] quit

Verifying the configuration

# Display the OUI addresses and their masks and descriptions.

[DeviceA] display voice-vlan mac-address

OUI Address Mask Description

Device A

Device B

GE1/0/1
VLAN 2

IP phone A
010-1001
OUI: 0011-2200-0000
Mask: ffff-ff00-0000

IP phone B

0755-2002

Internet

Advertising