lldptool(8) Linux lldptool(8)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 }
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), lldpad(8)AUTHOR
John Fastabend
open-lldp June 2011 lldptool(8)
Check Out this Related Man Page
lldptool(8) Linux lldptool(8)NAME
APP - Show / manipulate APP TLV configuration
SYNOPSIS
lldptool -t -i ethx -V APP [-c app]
lldptool -T -i ethx -V APP [-d] app=prio,sel,pid
DESCRIPTION
The APP TLV is an informational TLV and will advertise the current configured application table. If the peer APP TLV and a local APP TLV
match the same selector and protocol field the local parameter is used.
ARGUMENTS
app Configures a local application data field using the three parameters: priority (prio), selector (sel), and protocol (pid). The -d
option can be provided to remove an entry which matches the three parameters.
Theory of Operations
The APP TLV is an informational TLV for most end stations. It is not expected that setting APP data should be required. Peer data will be
processed and added to the application data table by default assuming there does not already exist a local entry with matching selector and
priority fields.
By adding APP data to the application table it is available for applications, eg iscsid, to query. Applications query for a specific proto-
col and selector and may use this data to map traffic to the corresponding traffic class.
EXAMPLE & USAGE
Configure ISCSI application for priority 4 on eth2
lldptool -T -i eth2 -V APP app=4,2,3260
Configure FCoE application for priority 3 on eth2
lldptool -T -i eth2 -V APP app=3,1,35078
Remove FCoE application for priority 3 on eth2
lldptool -T -i eth2 -V APP -d app=3,1,35078
Display locally configured application table on eth2
lldptool -t -i eth2 -V APP -c app
Display last transmitted APP TLV on eth2
lldptool -t -i eth2 -V APP
SOURCE
o IEEE 802.1Qaz (http://www.ieee802.org/1/pages/dcbridges.html)
SEE ALSO lldptool(8), lldpad(8)AUTHOR
John Fastabend
open-lldp February 2010 lldptool(8)