Monitoring, Management & Location Tracking

 View Only
last person joined: one year ago 

Articles relating to existing and legacy HPE Aruba Networking products and solutions including AirWave, Meridian Apps, ALE, Central / HPE Aruba Networking Central, and UXI / HPE Aruba Networking User Experience Insight

Troubleshooting RADIUS Accounting Problems with radclient 

Jun 06, 2014 07:29 PM

As a troubleshooting tool, RADIUS Accounting packets can be generated from the AMP command line by running the following command:

# /usr/bin/radclient -f /tmp/rad -c 1 -r 2 -t 1 -x 127.0.0.1 acct password

Note: for the above command to work, you must have completed the following 2 steps:

1. Under AMP Setup->Radius Accounting, add a client with IP address 127.0.0.1 and shared secret password.
2. Create the file /tmp/rad using nano (or your favorite text editor) and copy/paste the following text: 

Acct-Status-Type=Start
Acct-Session-Id="testing"
NAS-IP-Address=test
Client-IP-Address=test
Acct-Unique-Session-Id="test"

Results: 

If the packet is successful and you have enabled detailed packet logging (see KB article How to enable detailed RADIUS accounting packet logging), you should see a successful log entry in /var/log/radius/radacct/127.0.0.1/detail.

If the packet is rejected, you will see a log entry in /var/log/radius/radius.log with more details such as:

Statistics
0 Favorited
3 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.