Hello Dave -

On Saturday 17 November 2001 01:48, Dave Kitabjian wrote:
> Problem: we want to query Cisco 5400's for simultaneous use, but for
> VoIP, there is no Nas-Port in the Access-Request, only Cisco-Nas-Port.
>
> My understanding is that, to double check the Session DB's accuracy,
> snmpget will do a lookup based on NAS-Identifier, NAS-Port, and
> Username, and a few other things (see Nas.pm, isOnline()):
>
>       ($name, $nas_id, $nas_port, $session_id, $client,
> $framed_ip_address)
>
> For the Ciscos in particular, it appears to use:
>
>       ($nas_id,
>                          $client->{SNMPCommunity},
>                          "$Radius::Nas::CiscoMIB.2.9.2.1.18.$nas_port")
>
> and it's all looking under the MIB:
>
>       .iso.org.dod.internet.private.enterprises.9
>
> (See also SessSQL.pm). Obviously, we can modify the SessionDatabase's
> AddQuery to insert the Cisco-NAS-Port rather than the Nas-Port. But how
> do we get snmpget to query that info in the Cisco MIB?
>

It is probably easier to use a PreClientHook to take the Cisco-NAS-Port value 
and add a NAS-Port attribute to the incoming request. There is an example 
hook that does this in the file "goodies/hooks.txt".

regards

Hugh


-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to