The lldp vlan-mode enable command enables the VLAN mode on an interface. After LLDP is enabled on an interface, the searches for the LLDP interface according to the VLAN ID of the received LLDP packet. If LLDP is not enabled on the interface, the discards the LLDP packet.
The undo lldp vlan-mode enable command disables the VLAN mode on an interface. After LLDP receives a packet carrying a VLAN ID, the packet is sent to the main interface for learning..
By default, the VLAN mode is disabled on an interface.
Layer 2 100GE interface view, 100GE interface view, Layer 2 10GE interface view, 10GE interface view, 25GE-L2 view, 25GE interface view, 400GE-L2 view, 400GE interface view, Layer 2 40GE interface view, 40GE interface view, Layer 2 50GE interface view, 50GE interface view, FlexE interface view, Layer 2 GE interface view, GE optical interface view, GE interface view, GE electrical interface view
Usage Scenario
Using the lldp vlan-mode enable command, you can enable the VLAN mode on an interface. After LLDP is enabled on an interface, the searches for the LLDP interface according to the VLAN ID of the received LLDP packet. If LLDP is not enabled on the interface, the discards the LLDP packet.
If the lldp vlan-mode enable command is not run and LLDP receives a packet carrying a VLAN ID, the packet is sent to the main interface for learning.Prerequisites
Enable LLDP on the interface.
Precautions
For sub-interfaces, only Ethernet and FlexE sub-interfaces support LLDP.