290| 802.1X Authentication AOS-W 6.5.3.x| User Guide
Device Name as User Name for Non-802.1X Authentication
When a client is authenticated by non-802.1X method of authentication, the host name of the host device is
used as the user name (instead of the MAC address) of the host device. When a host device tries to obtain an IP
address by using DHCP, the host name of the host device in the option-12 field of DHCP request is used as the
host name of the host device.
A CLI command allows the use of the host name or the MAC address of a host device as the user name of the
host device. By default, the MAC address of the host device is used as the user name. If the CLIcommand is
enabled, the host name of the host device is used as the user name.
Using Device Name as User Name
In the CLI
(host) (config) #aaa profile <profile>
(host) (AAA Profile “<profile >”) #username-from-dhcp-opt12