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.
Options
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
Viewing the TLVs advertised
The show commands display the configuration of the TLVs. The command
show lldp config
lists the TLVs
advertised for each port, as shown in the following examples.
Displaying the TLVs for a port
switch(config)# show lldp config a1
LLDP Port Configuration Detail
Port : A1
AdminStatus [Tx_Rx] : Tx_Rx
NotificationEnabled [False] : False
Med Topology Trap Enabled [False] : False
TLVS Advertised:
* port_descr
* system_name
* system_descr
* system_cap
* capabilities
* network_policy
* location_id
* poe
* macphy_config
* port_vlan_id
1
IpAddress Advertised:
Chapter 7 Configuring for Network Management Applications
231