H3C S7500E Series Ethernet Switches Operation Manual
Operation Manual – VLAN
H3C S7500E Series Ethernet Switches Chapter 3 Voice VLAN Configuration
3-8
II. Network diagram
Figure 3-1 Voice VLAN under automatic mode
III. Configuration procedure
# Create VLAN 2 and VLAN 6.
<DeviceA> system-view
[DeviceA] vlan 2
[DeviceA-vlan2] quit
[DeviceA] vlan 6
[DeviceA-vlan6] quit
# Configure the voice VLAN aging time.
[DeviceA] voice vlan aging 100
# Configure the OUI address 0011-2200-0000 as the legal address of the voice VLAN.
[DeviceA] voice vlan mac-address 0011-2200-0000 mask ffff-ff00-0000
# Enable the voice VLAN feature globally.
[DeviceA] voice vlan 2 enable
# Configure the working mode of the voice VLAN of Ethernet 2/0/1 as automatic.
(Optional, by default, the voice VLAN works in automatic mode)
[DeviceA] interface ethernet 2/0/1
[DeviceA-Ethernet2/0/1] voice vlan mode auto
# Configure Ethernet 2/0/1 as a Hybrid port.
[DeviceA-Ethernet2/0/1] port link-type access
Please wait... Done.
[DeviceA-Ethernet2/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.
[DeviceA-Ethernet2/0/1] port hybrid pvid vlan 6
[DeviceA-Ethernet2/0/1] port hybrid vlan 6 tagged
# Enable the voice VLAN feature on the port.