RE: Re: [tkined] Date: Sat, 5 Aug 2000 10:03:47 -0400

From: Joff Thyer (jsthyer@uncg.edu)
Date: Tue Aug 08 2000 - 15:40:35 MET DST


Doug,

I wrote a piece of code which determines index using the variable
below. It reads like this:

set n [lindex [lindex [$s get dot1dBaseNumPorts.0] 0] 2]
set base [lindex [lindex [$s get dot1dBasePortIfIndex.$n] 0] 2]
set offset [expr $n - $base]
if { $offset > 0 } {
  set dot1difIndex [expr [expr $ifIndex + $offset] - 1]
}

On Mon, 7 Aug 2000 13:02:40 -0500 (CDT) Doug Hughes
<Doug.Hughes@eng.auburn.edu> wrote:

>
> after snooping around in rfcs and mib indexes a little
> bit longer, I believe I've found the key in
> dot1dBasePortTable.dot1dBasePortEntry.dot1dBasePortIfIndex.*
>
> --
> ____________________________________________________________________________
> Doug Hughes Engineering Network Services
> System/Net Admin Auburn University
> doug@eng.auburn.edu
>
>
> --
> !! 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.

----
 Joff Thyer
 UNIX and Network Systems Programmer
 UNCG Dept. of Systems and Networks
 Greensboro, NC  27402-6170
 Email: Joff_Thyer@uncg.edu

-- !! 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.



This archive was generated by hypermail 2b29 : Mon Jan 08 2001 - 15:27:51 MET