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

Reminder

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

upgrade

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 set

radius-attribute set

Function

The radius-attribute set command modifies the RADIUS attributes.

The undo radius-attribute set command restores the default RADIUS attributes.

By default, values of the RADIUS attributes are not modified.

Format

radius-attribute set attribute-name attribute-value [ auth-type mac | user-type ipsession ]

undo radius-attribute set attribute-name

Parameters

Parameter

Description

Value

attribute-name

Specifies the name of the attribute to be modified.

The value is a string of 1 to 64 characters. After the name is entered, the system automatically associates the RADIUS attribute with the name.

attribute-value

Indicates the value of the attribute to be modified.

The value of attribute-value is automatically displayed.

auth-type mac

Sets the user authentication mode to MAC address authentication. Only the Service-Type attribute supports this parameter.

-
user-type ipsession

Specifies the users with user type being IP session. Only the Service-Type attribute supports this parameter.

-

Views

RADIUS server template view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

The RADIUS attribute values of different vendors are different. To ensure that Huawei device can successfully communicate with the devices of other vendors, run the radius-attribute set command to modify the RADIUS attribute values.

For example, the Huawei device uses Service-Type value 2 to indicate an authentication request from a common user by default, while a non-Huawei RADIUS server uses Service-Type value 1 to indicate an authentication request from a common user; you can run the radius-attribute set service-type 1 command to change the Service-Type value on the device so that the device can communicate with the RADIUS server.

Precautions

  • The radius-attribute set command can modify only the RADIUS attributes in the authentication or accounting request packets sent from a device to the RADIUS server, and cannot modify the RADIUS attributes in the packets sent from the RADIUS server to a device.

    If you run the display radius-attribute command to check the RADIUS attributes supported by a device and the Auth Req or Acct Req field in the command output displays 1, the RADIUS attributes supported by the device can be carried in the authentication or accounting request packets sent from the device to the RADIUS server.

    Among the RADIUS attributes that can be carried in the authentication or accounting packets sent from the device to the RADIUS server, you cannot run the radius-attribute set command to modify the following attributes: User-Password, NAS-IP-Address, NAS-IPv6-Address, CHAP-Password, CHAP-Challenge, EAP-Message, Framed-Interface-Id, Framed-IPv6-Prefix, and Message-Authenticator.

  • The type of the attribute modified by the radius-attribute set command cannot be changed.

  • The radius-attribute set service-type attribute-value { auth-type mac | user-type ipsession } command has a higher priority than the radius-attribute set service-type attribute-value command.

  • A maximum of 8 attributes can be set in a RADIUS server template.

  • If the value of the HW-Output-Committed-Information-Rate attribute is changed to 0, sent packets do not carry this attribute.

Example

# Create the template temp1 and set the Service-Type attribute value to 1.

<Huawei> system-view
[Huawei] radius-server template temp1
[Huawei-radius-temp1] radius-attribute set service-type 1
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 210849

Downloads: 122

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