Requirement:
To find out how Aruba is capturing device's hostname using DHCP Option 12.
For Controller to capture clients hostname, DHCP Option 12 has to be enabled in AAA profile. When this is enabled, controller will capture the hostname of the device advertised in the DHCP request packet. The captured hostname from DHCP request packet will be stored in option-12 field and will be listed under "Name" in the user table.
Note: This only applies to the clients connecting to non 802.1x SSID and DHCP has to be through Aruba.
UI Configuration:
Configuration -- Security -- Authentication -- AAA Profiles
CLI Configuration:
(Aruba) #configure terminal Enter Configuration commands, one per line. End with CNTL/Z (Aruba) (config) #aaa profile test-aaa (Aruba) (AAA Profile "test-aaa") #username-from-dhcp-opt12 (Aruba) (AAA Profile "test-aaa") #exit
DHCP Request Packet:
Aruba Logs:
Enabling below logs will show the Aruba Controller capturing Client's hostname.
logging level debugging user.
logging level debugging network process dhcpd subcat dhcp .
(Aruba) #show log user 20 May 4 22:11:12 authmgr[5090]: <522026> <INFO> |authmgr| MAC=3c:a9:f4:0e:a8:0c IP=0.0.0.0 User miss: ingress=0x10011, VLAN=1 flags=0x48 May 4 22:11:12 authmgr[5090]: <522216> <DBUG> |authmgr| MAC 3c:a9:f4:0e:a8:0c, dhcp option 61, signature 3D013CA9F40EA80C. May 4 22:11:12 authmgr[5090]: <522340> <WARN> |authmgr| Client 3c:a9:f4:0e:a8:0c name updated to COMP-PC
(Aruba) #show log network 20 May 4 22:11:13 :202536: <DBUG> |dhcpdwrap| |dhcp| Datapath vlan1: REQUEST 3c:a9:f4:0e:a8:0c Transaction ID:0x72313d45 reqIP=10.15.56.248 Options 3d:013ca9f40ea80c 0c:434f4d502d5043 51:000000434f4d502d5043 3c:4d53465420352e30 37:010f03062c2e2f1f2179f92b
User table updated with Device name:
© Copyright 2024 Hewlett Packard Enterprise Development LPAll Rights Reserved.