06-19-2015 11:05 AM
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?
Solved! Go to Solution.
09-01-2015 03:23 AM
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
06-22-2015 01:24 PM
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.
09-01-2015 03:23 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide