cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1709
Views
0
Helpful
2
Replies

session_subscribe starts up, shows up in pxGrid Services, but never gets response from RadiusSimulator.jar

rgoguen
Cisco Employee
Cisco Employee

Hi,

I followed all the directions

I see that Radius authenticates find.

I start up session_subscribe.sh

I see that pxclient is in pxgrid Service at expected.

When i run:

java -cp RadiusSimulator.jar -DUSERNAME=user1 -DPASSWORD=Aa123456 -DCALLING_STATION_ID=11:11:11:11:11:11 -DAUDIT_SESSION_ID=1001 -DFRAMED_IP_ADDRESS=10.86.1.207 -DFRAMED_IP_MASK=255.255.255.224 RadiusAccountingStart 10.86.206.162

code=5 id=1 length=20

authenticator=d596999d366724162bde6b5721221d5e

Attributes={

}

but then RadiusSimulator.jar returns and there's nothing printed on the session_subscribe.sh screen.

so i appears that session_subscribe.sh doesn't get the notification.

Any ideas?

1 Accepted Solution

Accepted Solutions

Not sure if this answers your query.

Profiling will take care of determining the platform and these details are published as part of session.

session (ip=192.168.1.5, Audit Session Id=0A0000020000000E027B9538, User Name=uname1, AD User DNS Domain=lab.com, AD Host DNS Domain=null, AD User NetBIOS Name=LAB6, AD Host NETBIOS Name=null, Calling station id=00:01:22:77:33:55, Session state= STARTED, Epsstatus=null, Security Group=null, Endpoint Profile=VMWare-Device, NAS IP=192.168.1.100, NAS Port=GigabitEthernet1/0/23, RADIUSAVPairs=[ Acct-Session-Id=00000006], Posture Status=null, Posture Timestamp=, Session Last Update Time=Wed Mar 04 20:06:47 EST 2015 )

These are from ISE 1.4

View solution in original post

2 Replies 2

rgoguen
Cisco Employee
Cisco Employee

After reading in detail the question "Radius Account start/stop always reports same username", i figure out what i was doing wrong.

I was not running the RadiusSimulator.jar ... RadiusAuthentication each time before i was start up the accounting.

So, now the next question ;-).

Where can i get a detailed description of the Session object returned?

I have the following code:

        SessionDirectoryQuery query = SessionDirectoryFactory.createSessionDirectoryQuery(con);       

        InetAddress ip  = InetAddress.getByName("1.2.3.4");

        Session session = query.getActiveSessionByIPAddress(ip);

        if (null != session) {

            System.out.println("received session: " + session.getGid());

        } else {

            System.out.println("received session: Unknown Session");

        }

Is there a full description of the Session model?

Also, how do i get the other metadata? Like what type of device it is?

thanks,

rob g.

Not sure if this answers your query.

Profiling will take care of determining the platform and these details are published as part of session.

session (ip=192.168.1.5, Audit Session Id=0A0000020000000E027B9538, User Name=uname1, AD User DNS Domain=lab.com, AD Host DNS Domain=null, AD User NetBIOS Name=LAB6, AD Host NETBIOS Name=null, Calling station id=00:01:22:77:33:55, Session state= STARTED, Epsstatus=null, Security Group=null, Endpoint Profile=VMWare-Device, NAS IP=192.168.1.100, NAS Port=GigabitEthernet1/0/23, RADIUSAVPairs=[ Acct-Session-Id=00000006], Posture Status=null, Posture Timestamp=, Session Last Update Time=Wed Mar 04 20:06:47 EST 2015 )

These are from ISE 1.4