1-9
Displaying and Maintaining Voice VLAN
To do… Use the command… Remarks
Display the information about ports on
which voice VLAN configuration fails display voice vlan error-info
Display the voice VLAN configuration
status display voice vlan status
Display the currently valid OUI addresses display voice vlan oui
Display the ports operating in the current
voice VLAN display vlan vlan-id
You can execute the
display command in
any view.
Voice VLAN Configuration Example

Voice VLAN Configuration Example (Automatic Mode)

Network requirements
Create a voice VLAN and configure it to operate in automatic mode to enable the port to which an IP
phone is connected to join or exit the voice VLAN automatically and voice traffic to be transmitted within
the voice VLAN, as shown in Figure 1-2.
z Create VLAN 2 and configure it as a voice VLAN, with the aging time being 100 minutes.
z The IP phone sends tagged packets. It is connected to GigabitEthernet 1/0/1, a hybrid port, with
VLAN 6 being its default VLAN. Set this port to operate in automatic mode.
z You need to add a user-defined OUI address 0011-2200-000, with the mask being ffff-ff00-0000
and the description string being “test”.
Figure 1-2 Network diagram for voice VLAN configuration (automatic mode)
Internet
Device A
GEth1/0/1
VLAN2
VLAN2
010-1001
OUI:0011- 2200- 0000
Mask:ffff-ff00-0000
Device B
Configuration procedure
# Create VLAN 2 and VLAN 6.
<DeviceA> system-view
[DeviceA] vlan 2
[DeviceA-vlan2] quit
[DeviceA] vlan 6
[DeviceA-vlan6] quit
# Set the aging time for the voice VLAN.