Converting SNMP SMIv2 to SMIv1
Object_Id : 274
Title : Converting SNMP SMIv2 to SMIv1
Format : URL
Address : http://www.ibr.cs.tu-bs.de/projects/libsmi
http://www.ibr.cs.tu-bs.de/projects/libsmi has an SMNP parser. One of the
tools, smidump, has the ability to read SMIv2 and output SMIv1.
If you are compiling from the sources, add ' #define VERSION "0.2" '
It is very fragile, but does appear to do much of the job.
There are 2 config file ~/.smirc and ~/.bashrc which set up a path to
the MIB directories.
In the /home/dhorton/libsmi-0.2/mibs/site directory, I intended to
put the CAC, CiTR and ATM Forum MIBs. There is also an IETF where
precompiled MIBs have been put.
[dhorton@Breitling site]$ smidump -fSMIv1 ATMF-CES
/home/dhorton/libsmi-0.2/mibs/site/ATMF-CES:925: parse error
-- This SMIv1 module has been generated by smidump 0.2. Do not edit.
ATMF-CES DEFINITIONS ::= BEGIN
Date_Entry_Last_Modified: $Date: 2000/06/13 22:40:28 $
Entry_Last_Modified_By : $Author: horton $
Asset_Qualification : functional, but could be improved
Contact_Person : David Horton
IP_or_Copyright_Owner : Frank Strauss, the Technical University of Braunschweig
Date_Item_Created : 10 May 2000
Usage_Conditions : http://www.ibr.cs.tu-bs.de/projects/libsmi/#License
Projects_Used_In : CA953
Programming_Language : C