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
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: 2000/06/13 22:40:28 $
Entry_Last_Modified_By : $Author: horton $
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 :