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-server hw-dhcp-option-format

radius-server hw-dhcp-option-format

Function

The radius-server hw-dhcp-option-format command sets the format of the Huawei extended attribute HW-DHCP-Option.

The undo radius-server hw-dhcp-option-format command restores the default setting.

By default, the format of HW-DHCP-Option is old.

Format

radius-server hw-dhcp-option-format { new | old }

undo radius-server hw-dhcp-option-format

Parameters

Parameter

Description

Value

new

Sets the format of Huawei extended attribute HW-DHCP-Option to new.

-

old

Sets the format of Huawei extended attribute HW-DHCP-Option to old.

-

Views

RADIUS server template view

Default Level

3: Management level

Usage Guidelines

The RADIUS protocol has good extensibility. Device vendors can expand the No. 26 RADIUS attribute to implement new functions. Huawei defines that the No.158 sub-attribute in the No.26 attribute represents DHCP option and is encapsulated through Type, Length, Value (TLV). The device adds this attribute in authentication request or accounting request packets and sends the DHCP option information to the RADIUS server.

To connect to different types of RADIUS server, the device supports two HW-DHCP-Option formats: new and old.
  • new: When the attribute is encapsulated through TLV, the Type field length is 1 byte. This format is applicable when the device connects to most types of RADIUS servers.
  • old: When the attribute is encapsulated through TLV, the Type field length is 2 bytes. This format is applicable when the device connects to special RADIUS servers, for example, Huawei RADIUS server.

Example

# Set the format of Huawei extended attribute HW-DHCP-Option to new.

<Huawei> system-view
[Huawei] radius-server template huawei
[Huawei-radius-huawei] radius-server hw-dhcp-option-format new
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 199140

Downloads: 122

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