On 9/7/09, Mohammad Khalil <[email protected]> wrote: > > hey all > what is the way to transform the MIBs to OIDs ?
as already mentioned, snmptranslate from http://net-snmp.sourceforge.net/ http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en get the file ftp://ftp.cisco.com/pub/mibs/oid/oid.tar.gz unzip oid.tar.gz to OIDs from a cygwin command prompt cd /cygdrive/c/ ..whatever.. /OIDs cat * | sort -k 2,2 -k 1 | uniq | nawk '{printf("%-50s %s\n", $1, $2) }' > ../oids_all.txt unix2dos ../oids_all.txt Regards, Lee _______________________________________________ cisco-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/
