lldp voice-vlan
Syntax
lldp voice-vlan vlan-id
undo lldp voice-vlan
View
Layer 2 Ethernet interface view
Default level
2: System level
Parameters
vlan-id: Specifies a voice VLAN by its ID, which ranges from 1 to 4094.
Description
Use lldp voice-vlan vlan-id to configure a port to advertise a specific voice VLAN ID to the connected IP
phone through LLDP. If CDP compatibility is enabled, LLDP also includes the specified voice VLAN ID in
the CDP packets sent to the 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 port GigabitEthernet 1/0/1 to advertise voice VLAN 4094.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] lldp voice-vlan 4094
226