Configuration procedure, Verifying the configuration – H3C Technologies H3C S5560 Series Switches User Manual
Page 215
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] 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
- H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module