How to define the table with the index of mac address

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 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-25-2005
livia xie
 
Posts: n/a
Default How to define the table with the index of mac address

------=_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>&nbsp;</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>&nbsp;</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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:12 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0