The radius-attribute assign hw-pcp-server-name command configures the HW-PCP-Server-Name attribute to be encapsulated into a specified DHCP/DHCPv6 option.
The undo radius-attribute assign hw-pcp-server-name command restores the default configuration.
By default, a RADIUS attribute is encapsulated in a specified DHCP/DHCPv6 option in a default encapsulation mode or ppp packet.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
dhcp dhcp-option-code |
Specifies a DHCPv4 option code. |
The value is an integer ranging from 2 to 254, excluding 3, 6, 15, 44, 46, 50-54, 57-60, and 82. |
dhcpv6 dhcpv6-option-code |
Specifies a DHCPv6 option code. |
The value is an integer ranging from 15 to 65535, excluding 18-20, 23-26, and 37-38. |
Usage Scenario
The IETF defines that a RADIUS attribute is encapsulated in a certain option, and the device encapsulates a RADIUS attribute in a default option. To configure a specified RADIUS attribute to be encapsulated in a specified DHCP/DHCPv6 option, run the radius-attribute assign command.
Link Account in the HW-PCP-Server-Name attribute can be encapsulated in specified options in packets to be sent to the DHCP clients. If the IETF does not define the code of an option in which a RADIUS attribute is encapsulated, you can run this command to configure the RADIUS attribute to be encapsulated in a user-defined option. If the device encapsulates a RADIUS attribute in an option with a default code and you want to encapsulate the RADIUS attribute in another option, you can run this command.Configuration Impact
The radius-attribute assign command takes effect for users who go online after the command is configured.
Precautions
In VS mode, this command is supported only by the admin VS.