- Community Home
- >
- Networking
- >
- Legacy
- >
- Switches, Hubs, Modems
- >
- SNMP Accessing LLDP
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2006 01:46 PM
тАО05-14-2006 01:46 PM
Thank-you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2006 03:30 PM
тАО05-14-2006 03:30 PM
Re: SNMP Accessing LLDP
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.
ProCurve switches has also LLDP-MED, and for both you can get the information, download the MIBs for Procurve : http://www.hp.com/rnd/software/MIBs.htm
and look after file contains 802.lab.
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2006 05:15 PM
тАО05-14-2006 05:15 PM
Solutionsw11975# walkmib 1.0.8802.1.1.2.1.4.1.1.5
lldpRemChassisId.0.1.1 = mrn01sw002-L1(000d9d-c17280)
lldpRemChassisId.0.3.1 = 00 11 85 a8 00 00
sw11975# walkmib 1.0.8802.1.1.2.1.4.1.1.7
lldpRemPortId.0.1.1 = 43
lldpRemPortId.0.3.1 = 1
sw11975# walkmib 1.0.8802.1.1.2.1.4.1.1.8
lldpRemPortDesc.0.1.1 =
lldpRemPortDesc.0.3.1 = 1
sw11975# walkmib 1.0.8802.1.1.2.1.4.1.1.9
lldpRemSysName.0.1.1 =
lldpRemSysName.0.3.1 = matt-1
I believe that the 802.3AB LLDP-MIB is not yet in the ProCurve MIBs mentioned above.
You can download the LLDP MIBs from:
http://www.ieee802.org/1/files/public/MIBs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2006 04:01 AM
тАО07-02-2006 04:01 AM
Re: SNMP Accessing LLDP
getmib 1.0.8802.1.1.2
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.
A quick glance shows it also matches the index for the IF-MIB, although that will not be true if LLDPPortIDType isn't ifIndexType ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2007 09:16 PM
тАО02-20-2007 09:16 PM
Re: SNMP Accessing LLDP
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.
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
So my first question is: Where do I find information about these additional numbers to get the value of a specific variable?
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?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2007 08:42 AM
тАО11-16-2007 08:42 AM
Re: SNMP Accessing LLDP
This gives you the HEX == of the ip. you will need to convert to numeric..
if(((length($val)) == 10) && ($val =~ /^\0\x/))
{
$val = substr($val, 2, 8); # remove 1st 2 variables
}
$key = undef;
foreach $key ($val =~ /[a-f0-9]{2}/g)
{
if($debug == 1) { print "KEY: \"$key\"\n"; }
$val = undef;
$val = hex($key);
if($debug == 1) { print "VAL: \"$val\"\n"; }
$fip .= $val . ".";
if($debug == 1) { print "IP: \"$fip\"\n"; }
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2009 07:19 AM
тАО03-05-2009 07:19 AM
Re: SNMP Accessing LLDP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2009 06:25 AM
тАО03-06-2009 06:25 AM
Re: SNMP Accessing LLDP
Has anyone got any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2009 11:07 PM
тАО03-07-2009 11:07 PM
Re: SNMP Accessing LLDP
You can get the LLDP mib's from http://www.ieee802.org/1/files/public/MIBs/.
@Walther
IF you notice lldpRemManAddr belongs to the lldpRemManAddrTable table and this has the indicies specified as
1: lldpRemTimeMark
2: lldpRemLocalPortNum
3: lldpRemIndex
4: lldpRemManAddrSubtype
5: lldpRemManAddr
So one way would be do a walk of lldpRemTable and lldpRemManAddrOID to extract the indicies and then figure out the lldpRemManAddr
HTH
Javed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2009 02:19 AM
тАО03-09-2009 02:19 AM