[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | DECmcc user notes file. Does not replace IPMT. |
Notice: | Use IPMT for problems. Newsletter location in note 6187 |
Moderator: | TAEC::BEROUD |
|
Created: | Mon Aug 21 1989 |
Last Modified: | Wed Jun 04 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 6497 |
Total number of notes: | 27359 |
3688.0. "MIB definition with var lenght index?" by VCSESU::WADE (Bill Wade, VAXc Systems & Support Eng) Thu Sep 03 1992 17:39
I'm not sure if this is a DECmcc issue or not.
In a MIB definition does DECmcc support the use of a variable length
string as an index into a table. I've only seen an integer used as an
index but I'd like to use a user input character string. Example:
-------------
MatrixNameTable OBJECT-TYPE
SYNTAX SEQUENCE OF MatrixNameEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION ""
::= { one 1 }
MatrixNameEntry OBJECT-TYPE
SYNTAX MatrixNameEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION "### check on variable length index capabilities."
INDEX { MatrixName }
::= { MatrixNameTable 1 }
MatrixNameEntry ::=
SEQUENCE {
MatrixName DisplayString,
MatrixValue DisplayString,
MatrixStatus INTEGER
}
MatrixName OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-write
STATUS mandatory
DESCRIPTION "Whatever the user likes."
::= { MatrixNameEntry 1 }
.
.
.
Thanks,
Bill
T.R | Title | User | Personal Name | Date | Lines |
---|
3688.1 | Cross posted in the SNMP notes conf. | VCSESU::WADE | Bill Wade, VAXc Systems & Support Eng | Thu Sep 03 1992 17:47 | 1 |
|
|
3688.2 | Yes it is supported. | YAHEY::BOSE | | Fri Sep 04 1992 10:08 | 6 |
|
DECmcc SNMP AM V1.2 does support variable length indices. Use of
such types of indices are perfectly valid and in conformance with
RFCs 1155 (SMI) and 1212 (concise Mib definitions).
/rb
|
3688.3 | | VCSESU::WADE | Bill Wade, VAXc Systems & Support Eng | Fri Oct 09 1992 17:19 | 4 |
| Works great!
Thanks
|