lldptool-med - Man Page

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

Notes

See Also

lldptool(8), lldpad(8)

Author

John Fastabend

Referenced By

lldpad(8), lldptool(8), vdptool(8).

June 2011 open-lldp Linux