> I am interested in a scotty command that returns a list of
> enumerated values for a MIB INTEGER variable and was wondering
> if one is available or if anyone has extended the scotty code
> to perform this.
> I would like to use a command "mib <cmd> ifOperStatus" that
> returns a Tcl list of values in the form "up down testing".
Try the command
lindex [mib tc ifOperStatus] 3
which should return "{up 1} {down 2} {testing 3}" which is nearly what
you are looking for.
Juergen