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 either from SBR Administrator or by using the command line utility.
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)COREUniqueSessionId: '01020304050000000000000000000000'xCreationTime: xxxx-xx-xx xx:xx:xx (TZ=+00:00)ExpirationTime: xxxx-xx-xx xx:xx:xx (TZ=+00:00)Ipv4Address: 1.2.3.15IpAddrPool: (n u l l)NasName: "TESTING-123"Status: Active (2)UserConcurrencyId: (n u l l)MobileIpType: 33gpp2ReqType: 0WimaxClientType: 1FEATUREOPTIONALUserName: "test"AcctSessionId: "2"CallingStationId: "8573776"CalledStationId: (n u l l)RADATTRWimaxSessionId: "xxxxxxxx:00000000:00000000"AcctMultiSessionId: "01020304:05000000:00000000"FunkOuterUserName: "anonymous1234567890@demo.test"PRIVATE+ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- + (end)root@host:~> ./scscli -authuser my_user -authpass my_password -s my_server_name -p 1814 \ -m disconnect \ -a Acct-Multi-Session-Id -v 01020304:05000000:00000000In the preceding example, the
scscli.shcommand 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.