Re: Is MacAddr a fixed or variable length OID?
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 11/04/07, Randall Loomis <[email protected]> wrote: > Reading section 7.7 of RFC-2578, I interpret an OCTET STRING with fixed > size 6 should be specified thus: > <oid_base>.11.22.33.44.55.66.<last_index> That's correct. > However, when doing an snmpget command, it's requiring me to include a > length 6 as though it were a variable length OCTET STRING No - it shouldn't work that way. > Is this normal, or is there a way I can make the agent understand this > is a fixed size string and doesn't need the preceding length? Is this a MIB module that you have written yourself, or one from somewhere else? If so, who wrote it? (You're going to say it's a Net-SNMP standard module, aren't you?!) It definitely sounds like a bug in the agent MIB module. Dave ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users