Configuration procedure, Verification – H3C Technologies H3C S3100 Series Switches User Manual
Page 130

1-13
Configuration procedure
# Enable the security mode for the voice VLAN so that the ports in the voice VLAN permit valid voice
packets only. This operation is optional. The security mode is enabled by default.
<DeviceA> system-view
[DeviceA] voice vlan security enable
# Add a user-defined OUI address 0011-2200-000 and set the description string to “test”.
[DeviceA] voice vlan mac-address 0011-2200-0000 mask ffff-ff00-0000 description test
# Create VLAN 2 and configure it as a voice VLAN.
[DeviceA] vlan 2
[DeviceA-vlan2] quit
[DeviceA] voice vlan 2 enable
# Configure Ethernet 1/0/1 to operate in manual voice VLAN assignment mode.
[DeviceA] interface Ethernet 1/0/1
[DeviceA-Ethernet1/0/1] undo voice vlan mode auto
# Configure Ethernet 1/0/1 as a hybrid port.
[DeviceA-Ethernet1/0/1] port link-type hybrid
# Configure the voice VLAN as the default VLAN of Ethernet 1/0/1, and add the voice VLAN to the list of
untagged VLANs whose traffic is permitted by the port.
[DeviceA-Ethernet1/0/1] port hybrid pvid vlan 2
[DeviceA-Ethernet1/0/1] port hybrid vlan 2 untagged
# Enable the voice VLAN function on Ethernet 1/0/1.
[DeviceA-Ethernet1/0/1] voice vlan enable
Verification
# Display the OUI addresses, the corresponding OUI address masks and the corresponding description
strings that the system supports.
<DeviceA> display voice vlan oui
Oui Address Mask Description
0003-6b00-0000 ffff-ff00-0000 Cisco phone
000f-e200-0000 ffff-ff00-0000 H3C Aolynk phone
0011-2200-0000 ffff-ff00-0000 test
00d0-1e00-0000 ffff-ff00-0000 Pingtel phone
00e0-7500-0000 ffff-ff00-0000 Polycom phone
00e0-bb00-0000 ffff-ff00-0000 3Com phone
# Display the status of the current voice VLAN.
<DeviceA> display voice vlan status
Voice Vlan status: ENABLE
Voice Vlan ID: 2
Voice Vlan security mode: Security
Voice Vlan aging time: 1440 minutes
Current voice vlan enabled port mode:
PORT MODE
--------------------------------
Ethernet1/0/1 MANUAL