172
3.
Configure the authorization VLAN for the IP phone on the authentication server. For more
information about authorization VLANs, see
Security Configuration Guide
.
Displaying and maintaining voice VLANs
Execute
display
commands in any view.
Task Command
Display the voice VLAN state.
display voice-vlan state
Display the OUI addresses that the system supports.
display voice-vlan mac-address
Voice VLAN configuration examples
Automatic voice VLAN assignment mode configuration
example
Network requirements
As shown in
, 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 phones A and B, respectively.
•
Configure GigabitEthernet 1/0/1 and 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.
Figure 51 Network diagram
Configuration procedure
1.
Configure voice VLANs:
# Create VLANs 2 and 3.
<DeviceA> system-view
[DeviceA] vlan 2 to 3
Device A
Device B
GE1/0/1
GE1/0/1
IP phone B
010-1002
MAC: 0011-2200-0001
Mask: ffff-ff00-0000
0755-2002
GE1/0/2
IP phone A
010-1001
MAC: 0011-1100-0001
Mask: ffff-ff00-0000
Internet
PC A
MAC: 0022-1100-0002
PC B
MAC: 0022-2200-0002
VLAN 3
VLAN 2