Configuring RADIUS Authorization
This article describes how to configure RADIUS authentication and authorization.
1- Click Routing script in the navigation panel.

2- Edit your main script

3- Do the following operations in your script:
At the top of the page
Following your main class definition
Add before filter in your main class
Optional: add the fill_authorization_attributes method
Optional: add the requires_radius_authorization? method to reduce the scope of the authorization:
Optional: add methods to handle the possible results of authorization: on_radius_authorization_accept, on_radius_authorization_challenge, on_radius_authorization_reject and on_radius_authorization_timeout:
4- Click 'Save'
Example
The following script configures RADIUS authorization with the default attributes (User-Name, Calling-Station-Id and Called-Station-Id):
Advanced example
The following script configures RADIUS authorization with user-defined attributes, and prints attributes found in the Access-Accept message if it is received:
Last updated
Was this helpful?
