164
lldp voice-vlan
Syntax
lldp voice-vlan vlan-id
undo lldp voice-vlan
View
Layer 2 Ethernet interface view, port group view
Default level
2: System level
Parameters
vlan-id
: Specifies a voice VLAN by its ID in the range of 1 to 4094.
Description
Use
lldp voice-vlan
to configure a port to advertise a specific voice VLAN ID to the connected IP
phone through LLDP. If CDP compatibility is enabled, the port sends the specified voice VLAN ID in
CDP packets to its connected IP phone.
Use
undo lldp voice-vlan
to restore the default.
By default, if a voice VLAN is configured on an LLDP-enabled port, LLDP advertises this voice VLAN
to the IP phone connected to the port.
Examples
# Configure Ethernet 1/0/1 to advertise voice VLAN 4094.
<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] lldp voice-vlan 4094
voice vlan aging
Syntax
voice vlan aging minutes
undo voice vlan aging
View
System view
Default level
2: System level
Parameters
minutes
: Sets the voice VLAN aging timer, in the range of 5 to 43200 minutes.
Description
Use
voice vlan aging
to configure the voice VLAN aging timer.
Use
undo voice vlan aging
to restore the default.
By default, the voice VLAN aging timer is 1440 minutes.
In automatic voice VLAN assignment mode, the system starts the voice VLAN aging timer when
assigning the port to the voice VLAN. If no voice packets are received on the port before the timer
expires, the system removes the port from the voice VLAN.