[tkined] MacAddress use with agent instance Index

Jason Schnitzer (J.Schnitzer@cablelabs.com)
Fri, 16 Apr 1999 21:52:27 -0600

Hello,

I'm working on an agent that implements a table using MacAddress as in
index. Eg:

fooEntry OBJECT-TYPE
SYNTAX FooEntrySequence
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"row of stuff"
INDEX { fooMacIndex }
::= { group 1 }

If fooMacIndex was of syntax integer (say 10), this would be:

$s instance someObject.10 someObject <value>

If the index is not an integer, but a MacAddress (which is an octet string
of length 6 -- say, A0:A0:A0:A0:A0:A0), how would I express this as an
instance?

Something like:
$s instance someObject.$MacAddress someObject <value> ??

Any help would be appreciated.

Cheers,
Jason

$s instance


--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.