Re: [RadiusNT] SNMP Concurrency

Dale E. Reed Jr. ( (no email) )
Mon, 06 Dec 1999 11:23:43 -0800

Beachlink Administrator wrote:
>
> I guess the important thing to note is the OID "start" of each slot is
> constant [(slot*256) + 1001] regardless of how the port density is set
> (which makes sense since the maximum port density is 256).
....
> I live by this: If you modify the defaults, you have to live with the
> results. :-)
>
> So, for my setup, Ports 1-24 are .1257 to .1281
>
> Port 25 is not .1282, it's .1513 (or the first port of the second slot)
>
> I modified the SQL script that added the OIDs to the ServerPorts table:
>
> UPDATE ServerPorts
> SET SNMPUser = '.1.3.6.1.4.1.429.4.10.1.1.18.' + convert(varchar(5),
> Port+1256)
> WHERE Port >= 1
> AND Port <=24
> AND ServerID = XX
> GO

How about one single one. Its kinda complicated, and challenges those
dreaded years of math:

Select Port, PortMap=((((port-1)/24))*256) + 1256 + ((port-1)%24)+1