Enabling or Disabling medTlvEnable

In the default LLDP-MED configuration, the TLVs controlled by medTlvEnable are enabled. For more information, see Advertising device capability, network policy, PoE status and location data.

Syntax:


no lldp config <port-list> medTlvEnable <medTlv>

Enables or disables advertisement of the following TLVs on the specified ports:

(Default: All of the above TLVs are enabled.)

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.

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.(Default: enabled)

This TLV 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.(Default: Enabled)

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. Also, this TLV cannot be enabled unless the capability TLV is already enabled.

For more information, see Network policy advertisements.

location_id

This TLV enables the switch port to advertise its configured location data (if any). For more information on configuring location data, see Configuring location data for LLDP-MED devices.(Default: Enabled)

When 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.(Default: Enabled)

When disabled, this TLV cannot be enabled unless the capability TLV is already enabled.

For more on this topic, see PoE advertisements.