150
To enable the device to advertise multiple types of TLVs, you can execute the
lldp tlv-enable
command multiple times without the
all
keyword specified.
Examples
# Enable the device to advertise link aggregation TLVs of the IEEE 802.3 organizationally specific
TLVs on Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] lldp tlv-enable dot3-tlv link-aggregation
lldp voice-vlan
Use
lldp voice-vlan
to specify the VLAN ID that an interface sends to the IP phone in the
LLDP-MED network policy TLV.
Use
undo lldp voice-vlan
to restore the default.
Syntax
lldp voice-vlan vlan-id
undo lldp voice-vlan
Default
The interface sends its voice VLAN ID in the LLDP-MED network policy TLV to the IP phone.
Views
Layer 2 Ethernet interface view, port group view
Default command level
2: System level
Parameters
vlan-id
: Specifies a VLAN ID in the range of 1 to 4094.
Examples
# Specify the VLAN ID that the interface sends to the IP phone as 4094.
<Sysname> system-view
[Sysname] interface ethernet 0/1
[Sysname-Ethernet0/1] lldp voice-vlan 4094