Aruba Switches (used to be HPE Switches) have supported DHCP for quite some time. It's easy to configure the pools for DHCP, and also how to enable static reservations.
Firstly, if you're already running DHCP - if you want to make ANY changes to the pool configuration, then you have to make sure it is disabled in the global context
conf tdhcp-server disableNow create your pool.
dhcp-server pool "GUEST-DHCP" authoritative default-router "192.168.0.1" dns-server "8.8.8.8,8.8.4.4" domain-name "test.local" lease 00:01:00 network 192.168.0.0 255.255.254.0 range 192.168.0.21 192.168.1.149exitYou want to then enable it under the VLAN context
vlan 10 name "Guest Wireless" ip address 192.168.0.1 255.255.254.0 dhcp-server exitThen make sure you enable it globally
conf t
dhcp-server enableHow to create static DHCP reservations on the Aruba / ArubaOS / HPE Switches
To create the individual static dhcp reservations, first disable the DHCP server on the switch
conf tdhcp-server disableThen you have to create an individual pool for each device. It must be in the same range as the pool you created above.
dhcp-server pool "Printer-1"lease infinitestatic-bind ip 192.168.1.250 255.255.254.0 mac 001234-5678abexit dhcp-server pool "Printer-2"lease infinitestatic-bind ip 192.168.1.251 255.255.254.0 mac 001234-5678ac
exit dhcp-server pool "Printer-3"lease infinitestatic-bind ip 192.168.1.252 255.255.254.0 mac 001234-5678ad
exiThen remember to turn DHCP back on globally
conf t
dhcp-server enable