No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
radius-attribute nas-ip

radius-attribute nas-ip


The radius-attribute nas-ip command sets the NAS-IP-Address attribute in a RADIUS packet sent from an NAS.

The undo radius-attribute nas-ip command deletes the configured NAS-IP-Address attribute.

By default, the source IP address of the AC is the NAS-IP-Address attribute value.


radius-attribute nas-ip { ip-address | ap-info }

undo radius-attribute nas-ip [ ap-info ]






Specifies the IP address of the AC as the NAS-IP-Address attribute value in RADIUS packets sent by the device.

The value is a valid unicast address in dotted decimal notation.


The IP address of the AP is specified as the NAS-IP-Address attribute value in RADIUS packets sent by the device.



RADIUS server template view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

A RADIUS server uses the NAS-IP-Address attributes in RADIUS packets sent by NASs to identify NASs. You can run the radius-attribute nas-ip command in the RADIUS server template view to set the NAS-IP-Address attribute.

When the RADIUS server interconnected with the device requires that the NAS-IP-Address attribute value is the IP address of the AP, you need to run the radius-attribute nas-ip ap-info command.


A RADIUS server template has been created using the radius-server template command.


If the RADIUS NAS-IP-Address attribute is set to an invalid IP address, the configuration fails and an error message is displayed.


# Set the RADIUS NAS-IP-Address attribute.

<Huawei> system-view
[Huawei] radius-server template temp1
[Huawei-radius-temp1] radius-attribute nas-ip
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 207977

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next