blank.gif (43 bytes)

Church Of The
Swimming Elephant

dns | icmp | ietf | ined | inet | job | map | mib | netdb | ntp | snmp | sunrpc | syslog | term | udp

TNM SNMP Data Types

Opaque values were used in early versions of SNMP to exchange arbitrary ASN.1/BER encoded values. 

The SNMP engine of the Tnm extension also uses the Opaque data type to pass values with an unknown ASN.1/BER encoding to the script layer. This is especially useful if new tagged types are added to SNMP and agents ship those new types via an SNMP version that does not know about this type. 

The primitive Tcl string representation for an Opaque value is a string containing hexadecimal numbers (from 00 to ff) separated by colons. The hexadecimal number corresponds to the ASN.1/BER encoded value. Note, Opaque is only supported for backward compatibility and it should only be used in rare cases.

The Tnm extension returns values in the primitive string representation if no other formatting rules apply. Formatting rules defined in MIB modules are applied automatically (see the documentation for the Tnm::mib command on how to load MIB modules). 

This includes the interpretation if DISPLAY-HINTs as well as the conversion of integer values to the corresponding enumeration. For example, DisplayString values are automatically converted from the primitive OCTET STRING representation into a human readable ASCII string by applying the “225a” DISPLAY-HINT, and values of type Truth-Value are returned as “true” or “false” instead of 1 and 2 (RFC 1903). 

Explicit conversions are possible by using the Tnm::mib format and Tnm::mib scan commands as described in the Tnm::mib manual page.



Protect yourself from cyberstalkers, identity thieves, and those who would snoop on you.
Stop spam from invading your inbox without losing the mail you want. We give you more control over your e-mail than any other service.
Block popups, ads, and malicious scripts while you surf the net through our anonymous proxies.
Participate in Usenet, host your web files, easily send anonymous messages, and more, much more.
All private, all encrypted, all secure, all in an easy to use service, and all for only $5.95 a month!

Service Details

Have you gone to church today?
All pages ©1999, 2000, 2001, 2002, 2003 Church of the Swimming Elephant unless otherwise stated
Church of the Swimming Elephant©1999, 2000, 2001, 2002, 2003 is a wholly owned subsidiary of Packetderm, LLC.

Packetderm, LLC
210 Park Ave #308
Worcester, MA 01609