Cisco3640  IOS 12.2(8)T2
freeradius0.5 configure with support snmp
Perl 5.00503
BER.pm v0.88 & SNMP_Session.pm v0.92 from www.switch.ch/misc/leinen
I made double entry with login test
Then make: checkrad -d cisco nas_ip nas_port login session_id
            Returning 0 (login ok)

nas_port and session_id was take from detail (User-Name and Acct-Session-Id)

>From Cisco.log:
2w1d: SNMP: Packet received via UDP from xxx.xxx.xxx.3 on Ethernet0/0
2w1d: SNMP: Get request, reqid 1447984954, errstat 0, erridx 0
 ltsLineEntry.18.68 = NULL TYPE/VALUE
2w1d:
Incoming SNMP packet
2w1d: v1 packet
2w1d: community string: public
2w1d: SNMP: Response, reqid 1447984954, errstat 0, erridx 0
 ltsLineEntry.18.68 =
2w1d: SNMP: Packet sent via UDP to xxx.xxx.xxx.3

conf cisco: snmp-server community public ro 2

conf users:    test    Auth-Type := Local, User-Password == "test"
                                 Fall-Through = 1

            DEFAULT Simultaneous-Use := 1
                                Service-Type = Framed-User,
                                Framed-Protocol = PPP,
                                Framed-IP-Address = 192.168.5.32+,
                                Framed-Compression = Van-Jacobson-TCP-IP

in radius.conf :
          session {
                    radutmp
          }

naspasswd:   nas_ip    SNMP    public

Where I wrong %-(



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to