You can configure the extended DHCP application to include additional information in the username that is passed to the external AAA authentication service when the DHCP client logs in. This additional information enables you to construct usernames that uniquely identify subscribers.
![]() |
Note: If you do not include a username in the authentication configuration, the router does not perform authentication; however, the IP address is provided by the local pool if it is configured. When you use the DHCPv6 local server, you must configure authentication and the client username; otherwise client login fails. |
The following list describes the optional information that you can include as part of the username:
The router creates the unique username by including the specified additional information in the following order, with the fields separated by a delimiter.
For DHCP local server and DHCP relay agent:
user-prefix[delimiter]mac-address[delimiter]logical-system-name[delimiter]
routing-instance-name[delimiter]circuit-type[delimiter]option-82[delimiter]
option-60@domain-name
For DHCPv6 local server:
user-prefix[delimiter]mac-address[delimiter]logical-system-name[delimiter]
routing-instance-name[delimiter]circuit-type[delimiter]relay-agent-remote-id[delimiter]
relay-agent-subscriber-id@domain-name
To configure a unique username:
- [edit system services dhcp-local-server]
- user@host# edit authentication
- [edit system services dhcp-local-server dhcpv6]
- user@host# edit authentication
- [edit forwarding-options dhcp-relay]
- user@host# edit authentication
- [edit system services dhcp-local-server authentication]
- user@host# set username-include
- [edit system services dhcp-local-server authentication
username-include]
- user@host# set username-include circuit-type
- user@host# set username-include domain-name isp55.com
- user@host# set username-include mac-address
- user@host# set username-include user-prefix wallybrown
The previous username-include configuration produces this unique username:
wallybrown.0090.1a01.1234.enet@isp55.com