Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>When it comes to interface names, there is the standard MIB-II which has ifDescr (OID: 1.3.6.1.2.1.2.2.1.2) which contains <em>some</em> sort of unique name for each interface, as well as ifAlias (OID: 1.3.6.1.2.1.31.1.1.1.18) which on Cisco IOS boxes usually has a more useful device name.</p> <p>Do some experimentation to find out what these MIBs look like (and what names your switch insists to use for the interfaces in the ifDescr and the ifAlias fields). Get some tool for 'walking' the SNMP MIB trees and subtrees to explore what things look like in it. For windows, IIRC Getif is a good MIB-browser. If you are on a linux box (or other UNIX) I would recommend Net-SNMP, which provides a good command line tool for walking SNMP MIBs.</p> <p>For perl libraries I would recommend Net::SNMP (available on CPAN), even if it is a bit heavy on various dependencies (a lot of cryptography related modules necessary to support the security features of SNMPv3) or SNMP_Session.pm+SNMP_util.pm+BER.pm (the latter three are the perl libraries MRTG (<a href="http://www.mrtg.org" rel="nofollow">http://www.mrtg.org</a>) relies on and they come bundled with it). In MRTG, under the bin directory, you find the utility cfgmaker. It is a perl script which talks a lot of SNMP to whatever network gear you point it to in order to figure out what interfaces the device has, so it's source is a good read if you want to understand how SNMP can be used with perl.</p> <p>For gathering information about MIBs I can recommend MIBDepot (<a href="http://www.mibdepot.com" rel="nofollow">http://www.mibdepot.com</a>). Their search function is free. If you want to download MIBs from them they require you to pay a small, reasonable amount of money (something I recommend you do, they deserve some support for their free search services).</p> <p>Hope this helps!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload