<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SNMP Accessing LLDP in Switches, Hubs, and Modems</title>
    <link>https://community.hpe.com/t5/switches-hubs-and-modems/snmp-accessing-lldp/m-p/3787840#M7850</link>
    <description>Hi Peter&lt;BR /&gt;For LLDP information it is stored in the SNMP MIB and it is valid for a period of time defined by the LLDP "Time to Live" (TTL) value that is contained within the received packet.&lt;BR /&gt;ProCurve switches has also LLDP-MED, and for both you can get the information, download the MIBs for Procurve : &lt;A href="http://www.hp.com/rnd/software/MIBs.htm" target="_blank"&gt;http://www.hp.com/rnd/software/MIBs.htm&lt;/A&gt;&lt;BR /&gt;and look after file contains 802.lab.&lt;BR /&gt;&lt;BR /&gt;Good luck</description>
    <pubDate>Sun, 14 May 2006 22:30:03 GMT</pubDate>
    <dc:creator>Mohieddin Kharnoub</dc:creator>
    <dc:date>2006-05-14T22:30:03Z</dc:date>
    <item>
      <title>SNMP Accessing LLDP</title>
      <link>https://community.hpe.com/t5/switches-hubs-and-modems/snmp-accessing-lldp/m-p/3787839#M7849</link>
      <description>Is it possible to get the LLDP information from a switch (in particular the lldp info remote-device) using SNMP?  Does anyone know the OID?&lt;BR /&gt;&lt;BR /&gt;Thank-you</description>
      <pubDate>Sun, 14 May 2006 20:46:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/switches-hubs-and-modems/snmp-accessing-lldp/m-p/3787839#M7849</guid>
      <dc:creator>Peter Graham_1</dc:creator>
      <dc:date>2006-05-14T20:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Accessing LLDP</title>
      <link>https://community.hpe.com/t5/switches-hubs-and-modems/snmp-accessing-lldp/m-p/3787840#M7850</link>
      <description>Hi Peter&lt;BR /&gt;For LLDP information it is stored in the SNMP MIB and it is valid for a period of time defined by the LLDP "Time to Live" (TTL) value that is contained within the received packet.&lt;BR /&gt;ProCurve switches has also LLDP-MED, and for both you can get the information, download the MIBs for Procurve : &lt;A href="http://www.hp.com/rnd/software/MIBs.htm" target="_blank"&gt;http://www.hp.com/rnd/software/MIBs.htm&lt;/A&gt;&lt;BR /&gt;and look after file contains 802.lab.&lt;BR /&gt;&lt;BR /&gt;Good luck</description>
      <pubDate>Sun, 14 May 2006 22:30:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/switches-hubs-and-modems/snmp-accessing-lldp/m-p/3787840#M7850</guid>
      <dc:creator>Mohieddin Kharnoub</dc:creator>
      <dc:date>2006-05-14T22:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Accessing LLDP</title>
      <link>https://community.hpe.com/t5/switches-hubs-and-modems/snmp-accessing-lldp/m-p/3787841#M7851</link>
      <description>I can find most of what's contained in 'show lldp remote-device' except for the local port entry:&lt;BR /&gt;&lt;BR /&gt;sw11975# walkmib 1.0.8802.1.1.2.1.4.1.1.5&lt;BR /&gt;lldpRemChassisId.0.1.1 = mrn01sw002-L1(000d9d-c17280)&lt;BR /&gt;lldpRemChassisId.0.3.1 = 00 11 85 a8 00 00&lt;BR /&gt;&lt;BR /&gt;sw11975# walkmib 1.0.8802.1.1.2.1.4.1.1.7&lt;BR /&gt;lldpRemPortId.0.1.1 = 43&lt;BR /&gt;lldpRemPortId.0.3.1 = 1&lt;BR /&gt;&lt;BR /&gt;sw11975# walkmib 1.0.8802.1.1.2.1.4.1.1.8&lt;BR /&gt;lldpRemPortDesc.0.1.1 =&lt;BR /&gt;lldpRemPortDesc.0.3.1 = 1&lt;BR /&gt;&lt;BR /&gt;sw11975# walkmib 1.0.8802.1.1.2.1.4.1.1.9&lt;BR /&gt;lldpRemSysName.0.1.1 =&lt;BR /&gt;lldpRemSysName.0.3.1 = matt-1&lt;BR /&gt;&lt;BR /&gt;I believe that the 802.3AB LLDP-MIB is not yet in the ProCurve MIBs mentioned above.&lt;BR /&gt;&lt;BR /&gt;You can download the LLDP MIBs from:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.ieee802.org/1/files/public/MIBs" target="_blank"&gt;http://www.ieee802.org/1/files/public/MIBs&lt;/A&gt;</description>
      <pubDate>Mon, 15 May 2006 00:15:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/switches-hubs-and-modems/snmp-accessing-lldp/m-p/3787841#M7851</guid>
      <dc:creator>Matt Hobbs</dc:creator>
      <dc:date>2006-05-15T00:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Accessing LLDP</title>
      <link>https://community.hpe.com/t5/switches-hubs-and-modems/snmp-accessing-lldp/m-p/3787842#M7852</link>
      <description>&lt;!--!*#--&gt;If you back up to the LLDP root, you can even get most of the local-port information:&lt;BR /&gt;&lt;BR /&gt;getmib 1.0.8802.1.1.2 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also, if it's not obvious, the local port id is used both to index the local port info and the remote peer info discovered through that port.&lt;BR /&gt;&lt;BR /&gt;A quick glance shows it also matches the index for the IF-MIB, although that will not be true if LLDPPortIDType isn't ifIndexType ...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 02 Jul 2006 11:01:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/switches-hubs-and-modems/snmp-accessing-lldp/m-p/3787842#M7852</guid>
      <dc:creator>Robert Thompson (SWAU)</dc:creator>
      <dc:date>2006-07-02T11:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Accessing LLDP</title>
      <link>https://community.hpe.com/t5/switches-hubs-and-modems/snmp-accessing-lldp/m-p/3787843#M7853</link>
      <description>Sorry for resurrect this old thread, but I have a follow up question concerning the same topic.&lt;BR /&gt;&lt;BR /&gt;I try to get some information from the LLDP MIB. I was able to find out the OIDs for the information i was looking for. But I was not able to receive the date until I found this thread.&lt;BR /&gt;From the MIB definition the OID for lldpRemSysName is 1.0.8802.1.1.2.1.4.1.1.9 but to really get the name I have to send 1.0.8802.1.1.2.1.4.1.1.9.0.1.1&lt;BR /&gt;So my first question is: Where do I find information about these additional numbers to get the value of a specific variable?&lt;BR /&gt;To be more specific, I'm looking for the lldpRemManAddr value. I know the OID for this is 1.0.8802.1.1.2.1.4.2.1.2, but I do only get a null response back. So how do I get this value?&lt;BR /&gt;&lt;BR /&gt;Thank you</description>
      <pubDate>Wed, 21 Feb 2007 05:16:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/switches-hubs-and-modems/snmp-accessing-lldp/m-p/3787843#M7853</guid>
      <dc:creator>Walther Lehmann</dc:creator>
      <dc:date>2007-02-21T05:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Accessing LLDP</title>
      <link>https://community.hpe.com/t5/switches-hubs-and-modems/snmp-accessing-lldp/m-p/3787844#M7854</link>
      <description>I use the following in perl for the remote management ip of a device. OID: ".1.3.6.1.4.1.9.9.23.1.2.1.1.4"&lt;BR /&gt;&lt;BR /&gt;This gives you the HEX == of the ip. you will need to convert to numeric..&lt;BR /&gt;&lt;BR /&gt;             if(((length($val)) == 10) &amp;amp;&amp;amp; ($val =~ /^\0\x/))&lt;BR /&gt;                {&lt;BR /&gt;                $val = substr($val, 2, 8); # remove 1st 2 variables&lt;BR /&gt;                }&lt;BR /&gt;          &lt;BR /&gt;              $key = undef;&lt;BR /&gt;              foreach $key ($val =~ /[a-f0-9]{2}/g)&lt;BR /&gt;                {&lt;BR /&gt;                if($debug == 1) { print "KEY: \"$key\"\n"; }&lt;BR /&gt;                $val = undef; &lt;BR /&gt;                $val = hex($key);&lt;BR /&gt;                if($debug == 1) { print "VAL: \"$val\"\n"; }&lt;BR /&gt;                $fip .= $val . ".";&lt;BR /&gt;                if($debug == 1) { print "IP: \"$fip\"\n"; }&lt;BR /&gt;                }</description>
      <pubDate>Fri, 16 Nov 2007 16:42:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/switches-hubs-and-modems/snmp-accessing-lldp/m-p/3787844#M7854</guid>
      <dc:creator>joehenderson</dc:creator>
      <dc:date>2007-11-16T16:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Accessing LLDP</title>
      <link>https://community.hpe.com/t5/switches-hubs-and-modems/snmp-accessing-lldp/m-p/3787845#M7855</link>
      <description>Hello, You use CDP this is not LLDP.&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Mar 2009 15:19:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/switches-hubs-and-modems/snmp-accessing-lldp/m-p/3787845#M7855</guid>
      <dc:creator>Hemul</dc:creator>
      <dc:date>2009-03-05T15:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Accessing LLDP</title>
      <link>https://community.hpe.com/t5/switches-hubs-and-modems/snmp-accessing-lldp/m-p/3787846#M7856</link>
      <description>I am confused by this thread, I have the latest MIBs downloaded and compiled&amp;gt;  I have even searched the text files of the MIBs and the OIDs listed in this thread don't exist in the HP MIBs.  I suspect the MIBs have been changed or maybe the LLDP one ommitted from the zip file?&lt;BR /&gt;&lt;BR /&gt;Has anyone got any ideas?</description>
      <pubDate>Fri, 06 Mar 2009 14:25:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/switches-hubs-and-modems/snmp-accessing-lldp/m-p/3787846#M7856</guid>
      <dc:creator>davidrickard</dc:creator>
      <dc:date>2009-03-06T14:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Accessing LLDP</title>
      <link>https://community.hpe.com/t5/switches-hubs-and-modems/snmp-accessing-lldp/m-p/3787847#M7857</link>
      <description>@david...&lt;BR /&gt;&lt;BR /&gt;You can get the LLDP mib's from &lt;A href="http://www.ieee802.org/1/files/public/MIBs/." target="_blank"&gt;http://www.ieee802.org/1/files/public/MIBs/.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;@Walther&lt;BR /&gt;IF you notice lldpRemManAddr belongs to the lldpRemManAddrTable table and this has the indicies specified as &lt;BR /&gt;        1: lldpRemTimeMark &lt;BR /&gt;  2: lldpRemLocalPortNum &lt;BR /&gt;  3: lldpRemIndex &lt;BR /&gt;  4: lldpRemManAddrSubtype &lt;BR /&gt;  5: lldpRemManAddr &lt;BR /&gt;&lt;BR /&gt;So one way would be do a walk of  lldpRemTable and lldpRemManAddrOID to extract the indicies and then figure out the lldpRemManAddr&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Javed</description>
      <pubDate>Sun, 08 Mar 2009 07:07:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/switches-hubs-and-modems/snmp-accessing-lldp/m-p/3787847#M7857</guid>
      <dc:creator>Javed Padinhakara</dc:creator>
      <dc:date>2009-03-08T07:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Accessing LLDP</title>
      <link>https://community.hpe.com/t5/switches-hubs-and-modems/snmp-accessing-lldp/m-p/3787848#M7858</link>
      <description>Thanks Javed, exactly what I needed.</description>
      <pubDate>Mon, 09 Mar 2009 09:19:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/switches-hubs-and-modems/snmp-accessing-lldp/m-p/3787848#M7858</guid>
      <dc:creator>davidrickard</dc:creator>
      <dc:date>2009-03-09T09:19:55Z</dc:date>
    </item>
  </channel>
</rss>

