#24: Parseable output for lldpctl
---------------------------+------------------------------------------------
Reporter: Vincent Bernat | Owner: bernat
Type: enhancement | Status: closed
Priority: minor | Component: lldpctl
Version: 0.4.1 | Resolution: fixed
Keywords: |
---------------------------+------------------------------------------------
Changes (by Vincent Bernat):
* status: assigned => closed
* resolution: => fixed
Comment:
Fixed in master branch. Example of output:
{{{
lldp.veth0.via=LLDP
lldp.veth0.rid=1
lldp.veth0.age=0 day, 00:06:07
lldp.veth0.chassis.mac=00:18:f3:03:4e:06
lldp.veth0.chassis.name=neo.luffy.cx
lldp.veth0.chassis.descr=Linux 2.6.30-1-amd64 #1 SMP Sat Aug 15 18:09:19
UTC 2009 x86_64
lldp.veth0.chassis.mgmt-ip=192.168.116.1
lldp.veth0.chassis.Bridge.enabled=on
lldp.veth0.chassis.Router.enabled=off
lldp.veth0.chassis.Wlan.enabled=off
lldp.veth0.port.mac=72:aa:0e:c3:e5:af
lldp.veth0.port.descr=veth1
lldp.veth0.port.auto-negotiation.supported=no
lldp.veth0.port.auto-negotiation.enabled=no
lldp.veth0.port.auto-negotiation.current=10GigBaseR - R PCS/PMA, unknown
PMD.
lldp.veth0.lldp-med.device-type=Generic Endpoint (Class I)
lldp.veth0.lldp-med.policy.apptype=1
lldp.veth0.lldp-med.policy.defined=yes
lldp.veth0.lldp-med.policy.descr=Voice
lldp.veth0.lldp-med.policy.vlan.vid=500
lldp.veth0.lldp-med.policy.priority=6
lldp.veth0.lldp-med.policy.dscp=45
lldp.veth0.lldp-med.policy.apptype=2
lldp.veth0.lldp-med.policy.defined=yes
lldp.veth0.lldp-med.policy.descr=Voice Signaling
lldp.veth0.lldp-med.policy.vlan.vid=500
lldp.veth0.lldp-med.policy.priority=3
lldp.veth0.lldp-med.policy.dscp=24
lldp.veth0.lldp-med.elin.ecs=0000000911
lldp.veth0.lldp-med.poe.device-type=PD Device
lldp.veth0.lldp-med.poe.source=PSE
lldp.veth0.lldp-med.poe.priority=critical
lldp.veth0.lldp-med.poe.power=12500
lldp.veth0.lldp-med.inventory.hardware=System Version
lldp.veth0.lldp-med.inventory.software=2.6.30-1-amd64
lldp.veth0.lldp-med.inventory.firmware=2104
lldp.veth0.lldp-med.inventory.serial=System Serial Number
lldp.veth0.lldp-med.inventory.manufacturer=System manufacturer
lldp.veth0.lldp-med.inventory.model=System Product Name
lldp.veth0.lldp-med.inventory.asset=Asset-1234567890
lldp.veth1.via=LLDP
lldp.veth1.rid=1
lldp.veth1.age=0 day, 00:31:38
lldp.veth1.chassis.mac=00:18:f3:03:4e:06
lldp.veth1.chassis.name=neo.luffy.cx
lldp.veth1.chassis.descr=Linux 2.6.30-1-amd64 #1 SMP Sat Aug 15 18:09:19
UTC 2009 x86_64
lldp.veth1.chassis.mgmt-ip=192.168.116.1
lldp.veth1.chassis.Bridge.enabled=on
lldp.veth1.chassis.Router.enabled=off
lldp.veth1.chassis.Wlan.enabled=off
lldp.veth1.port.mac=fe:cb:e8:10:66:1c
lldp.veth1.port.descr=veth0
lldp.veth1.port.auto-negotiation.supported=no
lldp.veth1.port.auto-negotiation.enabled=no
lldp.veth1.port.auto-negotiation.current=10GigBaseR - R PCS/PMA, unknown
PMD.
lldp.veth1.lldp-med.device-type=Generic Endpoint (Class I)
lldp.veth1.lldp-med.inventory.hardware=System Version
lldp.veth1.lldp-med.inventory.software=2.6.30-1-amd64
lldp.veth1.lldp-med.inventory.firmware=2104
lldp.veth1.lldp-med.inventory.serial=System Serial Number
lldp.veth1.lldp-med.inventory.manufacturer=System manufacturer
lldp.veth1.lldp-med.inventory.model=System Product Name
lldp.veth1.lldp-med.inventory.asset=Asset-1234567890
}}}
--
Ticket URL: <https://trac.luffy.cx/lldpd/ticket/24#comment:3>
lldpd <https://trac.luffy.cx/lldpd/>
implementation of IEEE 802.1ab (LLDP)