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.
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. |
- |
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.