SNMP variable length string support
thommandra gowtham <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi
I have a question on SNMP variable length string support. Suppose a MIB contains a variable length string declared as follows
LinkName ::=
OCTET STRING (SIZE(1..8))
and have change the definition for demoEntryString to:
demoEntryString OBJECT-TYPE
SYNTAX LinkName
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A read-write column of type String."
::= {demoEntry 2}
They have also changed demoEntry to have an index of demoEntryString
demoEntry OBJECT-TYPE
SYNTAX DemoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in the table demoTable."
INDEX {demoEntryString}
::= {demoTable 1}
What would be the output of snmpget, snmpwalk and snmpgetnext commands on the above demotable?
Also, Could you point me to any resources?
Thank You,
Gowtham
---------------------------------
Yahoo! Answers - Get better answers from someone who knows. Tryit now.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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