Configuring the VLAN ID TLV

This TLV advertisement is enabled by default. To enable or disable the TLV, use this command. For more information, see Port VLAN ID TLV support on LLDP Port VLAN ID TLV support on LLDP.

Syntax:

no lldp config <port-list> dot1TlvEnable port-vlan-id

Enables the VLAN ID TLV advertisement.

The no form of the command disables the TLV advertisement.

Default: Enabled.

Parameters

port-vlan-id

Specifies the 802.1 TLV list to advertise.

vlan-name

Specifies that the VLAN name TLV is to be advertised.

Enabling the VLAN ID TLV

switch(config)# lldp config a1 dot1TlvEnable port-vlan-id