lldp config medTlvEnable

Syntax

[no] lldp config <PORT-LIST>  medTlvEnable  <MEDTLV> 
      

Description

TLVs controlled by medTlvEnable in the LLDP-MED configuration default to enabled.

This command enables or disables advertisement of the following TLVs on the specified ports:

  • Device capability TLV

  • Configured network policy TLV

  • Configured location data TLV

  • Current PoE status TLV

Helps to locate configuration mismatches by allowing use of an SNMP application to compare the LLDP-MED configuration on a port with the LLDP-MED TLVs advertised by a neighbor connected to that port.

Parameters and options

capabilities
This TLV enables the switch to determine:
  • Which LLDP-MED TLVs a connected endpoint can discover

  • The device class (1, 2, or 3) for the connected endpoint

This TLV also enables an LLDP-MED endpoint to discover what LLDP-MED TLVs the switch port currently supports.

Defaults to enabled. Cannot be disabled unless the network_policy, poe, and location_id TLVs are already disabled.

network-policy

This TLV enables the switch port to advertise its configured network policies (voice VLAN, Layer 2 QoS, Layer 3 QoS), and allows LLDP-MED endpoint devices to autoconfigure the voice network policy advertised by the switch. This also enables the use of SNMP applications to troubleshoot statically configured endpoint network policy mismatches.

Network policy is advertised only for ports that are configured as members of the voice VLAN. If the port belongs to more than one voice VLAN, the voice VLAN with the lowest-numbered VID is selected as the VLAN for voice traffic.

Defaults to enabled. If disabled, this TLV cannot be enabled unless the capability TLV is already enabled.

location_id

This TLV enables the switch port to advertise its configured location data (if any.)

Defaults to enabled. If disabled, this TLV cannot be enabled unless the capability TLV is already enabled.

poe

This TLV enables the switch port to advertise its current PoE state and to read the PoE requirements advertised by the LLDP-MED endpoint device connected to the port.

Defaults to enabled. If disabled, this TLV cannot be enabled unless the capability TLV is already enabled.