228
Views
System view
Predefined user roles
network-admin
Parameters
minutes: Sets the voice VLAN aging timer to 0 minutes or a value in the range of 5 to 43200
minutes. If you set the voice VLAN aging timer to 0 minutes, the voice VLAN does not age out.
Usage guidelines
In automatic voice VLAN assignment mode, the device starts an aging timer for a voice VLAN when
assigning a port to the voice VLAN. If no voice packets are received on the port before the timer
expires, the device removes the port from the voice VLAN.
Set the voice VLAN aging timer only when the voice VLAN assignment mode is automatic.
Examples
# Set the voice VLAN aging timer to 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 on a port.
Use
undo voice-vlan enable to disable the voice VLAN feature on a port.
Syntax
voice-vlan vlan-id enable
undo voice-vlan [ vlan-id ] enable
Default
The voice VLAN feature is disabled on ports.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Parameters
vlan-id: Specifies a voice VLAN ID in the range of 2 to 4094.
Usage guidelines
Use this command only on a hybrid or trunk port operating in automatic voice VLAN assignment
mode.
Before you execute this command, make sure the specified VLAN already exists.
Examples
# Enable the voice VLAN feature on GigabitEthernet 1/0/1.
<Sysname> system-view