Re: [tkined] mib syntax command

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Tue, 8 Jun 1999 09:49:26 +0200

>>>>> Mani Chinnappan writes:

Mani> The command "mib syntax ifType" returns INTEGER. However, the
Mani> object type is really enumerated Integer type. Is there a way to
Mani> find out this info from any of the mib commands.

You can check whether there are any known enumerations for the type.

Scotty 3.0.0:

mib enums [mib type ifType]

Scotty 2.1.X:

lindex [mib tc ifType] 3

Both commands will return an empty result if there are no enumerations
defined for the given object type descriptor.
Juergen

-- 
Juergen Schoenwaelder  schoenw@ibr.cs.tu-bs.de http://www.cs.tu-bs.de/~schoenw
Technical University Braunschweig, Dept. Operating Systems & Computer Networks
Bueltenweg 74/75, 38106 Braunschweig, Germany.        (Tel. +49 531 / 391 3289)
--
!! 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.