The RADIUS attributes supported by a Huawei device and a RADIUS server may be different. Python scripts can be loaded to implement flexible interoperation of RADIUS attributes.
When a Huawei device interoperates with RADIUS servers of different vendors, the usage scenarios of supported RADIUS attributes may be different. Therefore, you need to run commands to meet the requirements of different vendors.
The system view is displayed.
The python script extension function is enabled.
A python policy template is configured.
The router is configured to call a specified python script to process packets of a specified protocol, type, and direction (inbound or outbound).
The python script is configured to use the original packet when it fails to modify information in a packet.
Return to the system view.
The RADIUS server group view is displayed.
A python policy template is bound to the RADIUS server group.
The configuration is committed.