170
GE1/0/1 2 AUTO 6 46
GE1/0/2 3 AUTO 6 46
Manual voice VLAN assignment mode configuration example
Network requirements
As shown in
:
•
Device A transmits only voice traffic.
•
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 53 Network diagram
Configuration procedure
# Enable security mode for voice VLANs.
<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
# Assign GigabitEthernet 1/0/1 to VLAN 2 as an untagged VLAN member.
[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.
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 S7500E-X
Страница 70: ...57 ...