Example Result
After you have made all the changes described in
the previous sections, you can execute the following requests assuming
a session exists with a matching Acct-Multi-Session-Id. These requests
can be issued by using the command line utility or Web GUI.
First, issue the Query request, then select a session
and issue the interceptOn action (CoA-Request). This request sends
log information about the session to another device so that the session
activity that occurs on one controlled device can be tracked at a
different location. Finally, issue the Disconnect-Request to disconnect
the session.
hadm@host:~> ./ShowSessions.sh -a
================= [1] xxx xxx xx xx:xx:xx (TZ=+00:00) xxxx
=================
CurrentSessions:
+ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- + (1)
CORE
UniqueSessionId:
'01020304050000000000000000000000'x
CreationTime:
xxxx-xx-xx xx:xx:xx (TZ=+00:00)
ExpirationTime:
xxxx-xx-xx xx:xx:xx (TZ=+00:00)
Ipv4Address:
1.2.3.15
IpAddrPool:
(n u l l)
NasName:
"TESTING-123"
Status:
Active (2)
UserConcurrencyId:
(n u l l)
MobileIpType:
3
3gpp2ReqType:
0
WimaxClientType:
1
WimaxAcctFlows:
(n u l l)
Ipv6Address: "1100:dbca:abcd:0000:0000:0000:0000:0002"
FEATURE
OPTIONAL
UserName:
"test"
AcctSessionId:
"2"
CallingStationId:
"8573776"
CalledStationId:
(n u l l)
RADATTR
WimaxSessionId:
"xxxxxxxx:00000000:00000000"
AcctMultiSessionId: "01020304:05000000:00000000"
FunkOuterUserName:
"anonymous1234567890@demo.test"
PRIVATE
+ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- + (end)
root@host:~> ./SessionControl.sh -authuser my_user -authpass
my_password -s my_server_name -p 1814 \
–m disconnect
\
–a Acct-Multi-Session-Id –v 01020304:05000000:00000000
In the preceding example, the SessionControl.sh command line executes a Disconnect-Request against the user “anonymous1234567890@demo.test”
on the RADIUS client “TESTING-123”. The Calling-Station-Id
is present in the disconnect message with the exact value that was
present in the authentication request, even if it contains nulls.