202
Displaying and maintaining voice VLANs
Execute display commands in any view.
Task Command
Display the voice VLAN state.
display voice-vlan state
Display OUI addresses on a device.
display voice-vlan mac-address
Voice VLAN configuration examples
Automatic voice VLAN assignment mode configuration
example
Network requirements
As shown in Figure 66, Device A transmits traffic from IP phones and hosts.
For correct voice traffic transmission, perform the following tasks on Device A:
• Configure voice VLANs 2 and 3 to transmit voice packets from IP phone A and IP phone B,
respectively.
• Configure Ten-GigabitEthernet 1/0/1 and Ten-GigabitEthernet 1/0/2 to operate in automatic
voice VLAN assignment mode.
• Add MAC addresses of IP phones A and B to the device for voice packet identification. The
mask of the two MAC addresses is FFFF-FF00-0000.
• Set an aging timer for voice VLANs.
Figure 66 Network diagram
Configuration procedure
1. Configure voice VLANs:
# Create VLANs 2 and 3.
<DeviceA> system-view
[DeviceA] vlan 2 to 3
# Set the voice VLAN aging timer to 30 minutes.