R2511-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V5)
44
Default command level
2: System level
Parameters
minutes: Sets the voice VLAN aging time in the range of 5 to 43200 minutes.
Usage guidelines
When a port in automatic voice VLAN assignment mode receives a voice packet, the system decides
whether to assign the port to the voice VLAN based on the source MAC address of the voice packet.
Upon assigning the port to the voice VLAN, the system starts the aging timer. If no voice packets are
received on the port until the aging time expires, the system automatically removes the port from the voice
VLAN. This aging time applies only to the ports in automatic voice VLAN assignment mode.
Examples
# Configure the voice VLAN aging time as 100 minutes.
<Sysname> system-view
[Sysname] voice vlan aging 100
Related commands
display voice vlan state
voice vlan enable
Use voice vlan enable to enable the voice VLAN feature and to configure a VLAN as the voice VLAN for
the Ethernet port.
Use undo voice vlan enable to disable the voice VLAN feature on an Ethernet port.
Syntax
voice vlan vlan-id enable
undo voice vlan [ vlan-id ] enable
Default
The voice VLAN feature is disabled on ports.
Views
Ethernet interface view
Default command level
2: System level
Parameters
vlan-id: Specifies a VLAN ID in the range of 2 to 4096.
Usage guidelines
Enable the voice VLAN feature on a hybrid or trunk port operating in automatic voice VLAN assignment
mode, but not on an access port operating in automatic voice VLAN assignment mode.
Examples
# Enable the voice VLAN feature on Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] voice vlan 2 enable










