RE: [RadiusNT] Ports on TNTs

niblettda@gru.com
Mon, 22 Nov 1999 16:34:16 -0500

Daniel,
Depending on the version of the manual you have for your TNT....

If you look up in the RADIUS Guide book, and mine is under Ports,
limiting users to a specific port, 5-30.

The numbering scheme goes as follows.

shelf = 00 (shelf 1)
slot = 0001 (slot 2)
line = 00001 (line 2)
channel = 00001 (channel 2)

So for example if you had a PRI in (counting from 0 NOT 1, makes the
darn math much easier for the binary) your 0'th shelf (first TNT)
and the 1'st slot of the TNT. You wanted to pick out the number
4 PRI (remember I'm counting from zero here so you would have 4 empty
plugs and then a PRI plugged in.) and you wanted to range of channels
from 0 to 11111, this would be the sort of number you could expect.

Start: 00 0001 00100 00000 = (convert to dec) 1152
Stop : 00 0001 00100 11111 = (Maximum is 32 for the european) 1183

Alternatively you can only go up to 23 if you are in the US, and of course
you can figure out the beginning of each slot and just keep adding 32
until you get to the line you are interested in.

And, yes, it was a near impossible thing for me to find in the manual.

--David A. Niblett               | eMail: niblettda@gru.netSystems Programmer             | Phone: (352) 334-3400Gainesville Regional Utilities | Web: http://www.gru.net/

> -----Original Message-----> From: Daniel Franks [SMTP:franksd@redrivernet.com]> Sent: Monday, November 22, 1999 12:55 PM> To: radiusnt@iea-software.com> Subject: RE: [RadiusNT] Ports on TNTs> > Could I get a copy of this script please?> > Thanks,> > > Daniel Franks,> Red River Communications, Inc.> http://www.redrivernet.com/> franksd@redrivernet.com> > -----Original Message-----> From: radiusnt-request@iea-software.com> [mailto:radiusnt-request@iea-software.com]On Behalf Of Dale E. Reed Jr.> Sent: Monday, November 22, 1999 10:17 AM> To: radiusnt@iea-software.com> Subject: Re: [RadiusNT] Ports on TNTs> > > Jim Whaley wrote:> >> > I just recently started receving calls/accounting from a TNT (thanks> > Dale!!).> >> > I added ports for it to my server ports. I'm wondering if anyone knows> how> > the port numbers for TNTs are derived? I added 1300 ports to> serverports,> > but I bet I don't need THAT many entries...I'd like to just have the> number> > of ports that there really are, but I'm not sure how they're numbered.> > What I like to do is just use the updtports.sql scrip to let> SQL figure out what ports the TNT is reporting. Then you only get> the ones you use.> > > --> > Dale E. Reed Jr. Emerald and RadiusNT> __________________________________________> IEA Software, Inc. www.iea-software.com> > For more information about this list (including removal) go to:> http://www.iea-software.com/support/maillists/liststart> > > For more information about this list (including removal) go to:> http://www.iea-software.com/support/maillists/liststart

For more information about this list (including removal) go to:http://www.iea-software.com/support/maillists/liststart