158
Task Command
Remarks
Display the OUI addresses that the
system supports.
display voice vlan oui [ | { begin | exclude |
include } regular-expression ]
Available in any view
Voice VLAN configuration examples
Automatic voice VLAN mode configuration example
Network requirements
As shown in Figure 52,
• The MAC address of IP phone A is 0011-1100-0001. The phone connects to a downstream device
named PC A whose MAC address is 0022-1100-0002 and to GigabitEthernet 1/0/1 on an
upstream device named Device A.
• The MAC address of IP phone B is 0011-2200-0001. The phone connects to a downstream device
named PC B whose MAC address is 0022-2200-0002 and to GigabitEthernet 1/0/2 on Device A.
• Device A uses voice VLAN 2 to transmit voice packets for IP phone A and uses voice VLAN 3 to
transmit voice packets for IP phone B.
• Configure GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 to operate in automatic voice VLAN
assignment mode. In addition, if one of them has not received any voice packet in 30 minutes, the
port is removed from the corresponding voice VLAN automatically.
Figure 52 Network diagram
Configuration procedure
# Create VLAN 2 and VLAN 3.
<DeviceA> system-view
[DeviceA] vlan 2 to 3
Please wait... Done.
# Set the voice VLAN aging time to 30 minutes.
[DeviceA] voice vlan aging 30