Ask for some basic usages about Libsmi smidump perl format

Hello, Everyone:
I want to SNMP Testing tools to do SNMP conformance test.
It needs to use Perl to send the basic/correct SNMP Get, GetNext, GetBulk Messages and create an wrong SNMP Get, GetNext, GetBulk Messages with incorrect fields in SNMP Messages to test SNMP Aget.
I need a Perl-based MIB Compiler and MIB Browser(better) to read SMIv1 and SM1v2 syntax. Do you have any suggestions?
I am surveying some Perl SNMP tools.
(1) Libsmi I know that "libsmi smidump -p 'preload module' -f perl moules" can create Perl format.
How to use the Perl format file? Do you have a Perl example to use it or have a document to describe the Perl format?
How to integrate into Net-SNMP Perl Module? Is it possible?
I note that '-p module' can preload only one module. May I preload many modules in advance?
(2) Net-SNMP Perl Module It can send correct SNMP Message only and NetSNMP binary library. It can not send the incorrect SNMP Message and the wrong fields in SNMP Message.
Do you know any Perl Package to sen SNMP Msg in Perl only without any additional library installation? Just use Perl Socket or Socket6 to create SNMP Header and SNMP PDU to send get, getnext, getbulk SNMP msgs.
(3)How about Net::SNMP?
http://search.cpan.org/dist/Net-SNMP/
How to integrate into Net::SNMP? Is it possible?
Thank you very much in advance!
Best Regards, Wan-Der Chiou
___________________________________________________ 最新版 Yahoo!奇摩即時通訊 7.0,免費網路電話任你打! http://messenger.yahoo.com.tw/
participants (1)
-
wanderchiou