(Optional) Configuring Flexible Interoperation of RADIUS Attributes

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.

Context

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.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run access enable python extend script-package script-package-name

    The python script extension function is enabled.

  3. Run access python-policy policy-name

    A python policy template is configured.

  4. Run protocol protocol-type { packet packet-type [ direction { ingress | egress } ] } python-script script-name

    The router is configured to call a specified python script to process packets of a specified protocol, type, and direction (inbound or outbound).

  5. (Optional) Run protocol protocol-type packet process-fail passthrough

    The python script is configured to use the original packet when it fails to modify information in a packet.

  6. Run quit

    Return to the system view.

  7. Run radius-server group group-name

    The RADIUS server group view is displayed.

  8. Run python-policy policy-name

    A python policy template is bound to the RADIUS server group.

  9. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >