This is a discussion on How to define the table with the index of mac address within the SNMP Coders forums, part of the Networking and Network Related category; ------=_Part_35992_31342351.1132891739183 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, friends ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
------=_Part_35992_31342351.1132891739183
Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, friends I have a private table whose index is mac address. I use mib2c to generate the base codes for me and it recongnizes the mac address index's type as ASN_OCT_STR. Then I define the mac address as a char array with size of 6. To test the codes, I contruct the datas manually. But when I run the commnand of snmpget, it always ruturns the different values. Could anyone give me some advicce ? Thank you very much! Best Regards! livia ------=_Part_35992_31342351.1132891739183 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline <div>Hello, friends</div> <div> </div> <div>I have a private table whose index is mac address. I use mib2c to gene= rate the base codes for me and it recongnizes the mac address index's type&= nbsp;as ASN_OCT_STR. Then I define the mac address as a char array with siz= e of 6. To test the codes, I contruct the datas manually. But when I run th= e commnand of snmpget, it always ruturns the different values. Could anyone= give me some advicce ? Thank you very much! </div> <div> </div> <div>Best Regards!</div> <div>livia</div> ------=_Part_35992_31342351.1132891739183-- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |