---
name: "lldptool-med"
section: "8"
platform: "linux"
package: "lldpad"
version: "1.1.1-1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/lldptool-med"
---

# lldptool-med(8)

Show / manipulate MED TLV configurations

## NAME

LLDP-MED - Show / manipulate MED TLV configurations

## SYNOPSIS

**lldptool -t -i ethx -V** \[ *TLV\_TYPE* \] **enableTx**

**lldptool -T -i ethx -V** \[ *TLV\_TYPE* \] **enableTx =** { yes \| no }

**lldptool -T -i ethx -V** LLDP-MED **devtype =** { class1 \| class2 \| class3 \| none }

**lldptool -t -i ethx -V** LLDP-MED **devtype**

*TLV\_TYPE* : = {LLDP-MED \| medCap \| medPolicy \| medLoc \| medPower \| medHwRev \| medFwRev \| medSwRev \| medSerNum \| medManuf \| medModel \| medAssetID }

## DESCRIPTION

The **LLDP-MED** extensions support the Link Layer Discovery Protocol for **Media Endpoint Devices** defined in the **ANSI/TIA-1057-2006** document. Each TLV can be configured as a **class1** , **class2** or **class3** device. Class I devices are the most basic class of Endpoint Device, Class II devices support media stream capabilities and Class III devices directly support end users of the IP communication system. See **ANS-TIA-1057** for clarification of class types.

## ARGUMENTS

- **enableTx**

  Enables the TLV to be transmitted

- **devtype**

  Set or query the class type of the device.

## TLV\_TYPE

List of supported TLV specifiers applicable to Media Endpoint Devices.

- **LLDP-MED**

  apply arguments to all supported MED TLVs.

- **medCAP**

  LLDP-MED Capabilities TLV

- **medPolicy**

  LLDP-MED Network Policy TLV

- **medLoc**

  LLDP-MED Location TLV

- **medPower**

  LLDP-MED Extended Power-via-MDI TLV

- **medHwRev**

  LLDP-MED Hardware Revision TLV

- **medFwRev**

  LLDP-MED Firmware Revision TLV

- **medSwRev**

  LLDP-MED Software Revision TLV

- **medSerNum**

  LLDP-MED Serial Number TLV

- **medManuf**

  LLDP-MED Manufacturer Name TL

- **medModel**

  LLDP-MED Model Name TLV

- **medAssetID**

  LLDP-MED Asset ID TLV

## EXAMPLE & USAGE

- Enable class1 MED device on *eth2*

  **lldptool -T -i eth2 -V LLDP-MED enableTx=yes devtype=class1**

- Query class type of MED on *eth2*

  **lldptool -t -i eth2 -V LLDP-MED -c devtype**

- Query transmit state of medPolicy on device *eth2*

  **lldptool -t -i eth2 -V medPolicy -c enableTx**

-

  ## SOURCE

- o

  Link Layer Discovery Protocol for Media Endpoint Devices (http://www.tiaonline.org/standards/technology/voip/documents/ANSI-TIA-1057\_final\_for\_publication.pdf)

## NOTES

## SEE ALSO

[**lldptool**(8)](/lldptool/8.md), [**lldpad**(8)](/lldpad/8.md)

## AUTHOR

John Fastabend
