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-server nas-identifier-format

radius-server nas-identifier-format


The radius-server nas-identifier-format command sets the encapsulation format of the NAS-Identifier attribute.

The undo radius-server nas-identifier-format command restores the default encapsulation format of the NAS-Identifier attribute.

By default, the NAS-Identifier attribute encapsulation format is the user's hostname.


radius-server nas-identifier-format { hostname | vlan-id | ap-info }

undo radius-server nas-identifier-format






Sets the encapsulation format of NAS-Identifier to a user's host name.



Sets the encapsulation format of NAS-Identifier to a user's VLAN ID.



Sets the encapsulation format of NAS-Identifier to the AP's MAC address.



RADIUS server template view

Default Level

3: Management level

Usage Guidelines

A RADIUS server uses the NAS-Identifier attributes to identify NASs. The NASs also use the NAS-Identifier attributes carried in the sent RADIUS packets to identify themselves.

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


# Set the NAS-Identifier encapsulation format to VLAN ID.

<Huawei> system-view
[Huawei] radius-server template template1
[Huawei-radius-template1] radius-server nas-identifier-format vlan-id
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 205682

Downloads: 122

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