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 passwordNote: 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=StartAcct-Session-Id="testing"NAS-IP-Address=testClient-IP-Address=testAcct-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:
© Copyright 2024 Hewlett Packard Enterprise Development LPAll Rights Reserved.