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-port-id-format

radius-server nas-port-id-format


The radius-server nas-port-id-format command sets the format of the NAS port ID attribute.

The undo radius-server nas-port-id-format command restores the default format of the NAS port ID attribute.

By default, the new format of the NAS port ID attribute is used.


radius-server nas-port-id-format { new | old | vendor vendor-id }

undo radius-server nas-port-id-format






Uses the new format of the NAS port ID.



Uses the content of the Option82 field as the format of the NAS-Port-Id attribute.



Uses the old format of the NAS port ID.



RADIUS server template view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

The NAS port format and the NAS port ID format are developed by Huawei, which are used to ensure connectivity and service cooperation among Huawei devices.


When new is specified:
  • For Ethernet access users, the NAS port ID format is slot=xx; subslot=xx; port=xxx; VLAN ID=xxxx, in which slot ranges from 0 to 15, subslot from 0 to 15, port from 0 to 255, and VLAN ID from 1 to 4094.
When old is specified:
  • For Ethernet access users, the NAS port ID format is slot number (2 characters) + subslot number (2 bytes) + card number (3 bytes) + VLAN ID (9 characters).


# Set the format of the NAS port ID attribute to new.

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

Document ID: EDOC1100064352

Views: 194784

Downloads: 118

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