head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2000.06.13.22.40.28; author horton; state Exp; branches; next ; desc @ Converting SNMP SMIv2 to SMIv1 @ 1.1 log @Initial revision @ text @
Object_Id : 274 Title : Converting SNMP SMIv2 to SMIv1 Format : URL Address : http://www.ibr.cs.tu-bs.de/projects/libsmi Keywords : Abstract : 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" ' to lib/smi.h 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 IMPORTS InterfaceIndex FROM IF-MIB OBJECT-TYPE Date_Entry_Last_Modified: $Date$ Entry_Last_Modified_By : $Author$ Asset_Qualification : functional, but could be improved Other_Opinions : Contact_Person : David Horton IP_or_Copyright_Owner : Frank Strauss, the Technical University of Braunschweig Support_re_Ownership : Date_Item_Created : 10 May 2000 Usage_Conditions : http://www.ibr.cs.tu-bs.de/projects/libsmi/#License Support_re_Usage_Condns : Authors_and_Contributors: Projects_Used_In : CA953 Obtained_From : Derived_From : Related_Items : Code_Type : Programming_Language : C Portations : Dependencies : Source_Location : Binaries_Location : Library_Location : Issues_Bug_etc_List_Locn: Additional_Info :@