Voice VLAN Configuration 109
Configuring a voice VLAN to operate in automatic modeVoice VLAN Displayingand DebuggingRefer to Table101 to display or debug a voice VLAN.Voice V LANConfiguration ExampleNetwork requirements
Create VLAN 3 as a voice VLAN.
Add/remove Ethernet1/0/3 port to/from the voice VLAN manually.
Configure the OUI address to be 0011-2200-0000, with the description set to
"test".
Configuration procedure
1Create VLAN 3.
[S5500] vlan 3
2Add Ethernet1/0/3 port to VLAN 3.
[S5500-vlan3] port Ethernet1/0/3
Table100 Configure a voice VLAN to operate in automatic mode
Operation Command Description
Enter system view system-view -
Enter port view interface
interface-type
interface-number
Required
Enable the voice VLAN
function for the port
voice vlan enable Required
By default, the voice VLAN function is disabled.
Set the voice VLAN
operation mode to
automatic mode
voice vlan mode
auto
Optional
The default voice VLAN operation mode is
automatic mode.
Quit to system view quit -
Set an OUI address that
can be identified by the
voice VLAN
voice vlan
mac-address oui
mask oui-mask [
description string ]
Optional
If you do not set the OUI address, the default
OUI address is used.
Enable the voice VLAN
security mode
voice vlan
security enable
Optional
By default, the voice VLAN security mode is
enabled.
Set the aging time for the
voice VLAN
voice vlan aging
minutes
Optional
The default aging time is 1,440 minutes.
Enable the voice VLAN
function globally
voice vlan vlan-id
enable
Required
Table101 Display and debug a voice VLAN
Operation Command Description
Display voice VLAN
configuration
display voice vlan status You can execute the display
command in any view.
Display the currently valid
OUI addresses
display voice vlan oui
Display ports operating in
the current voice VLAN
display vlan vlan-id