Displaying and maintaining voice VLANs
Execute display commands in any view.
Task
Display the voice VLAN state.
Display OUI addresses on a device.
Voice VLAN configuration examples
Automatic voice VLAN assignment mode configuration
example
Network requirements
As shown in
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
Configure voice VLANs:
1.
# Create VLANs 2 and 3.
<DeviceA> system-view
[DeviceA] vlan 2 to 3
# Set the voice VLAN aging timer to 30 minutes.
Figure
66, Device A transmits traffic from IP phones and hosts.
Command
display voice-vlan state
display voice-vlan mac-address
202