DHCP server

All Extreme Networks switches that run ExtremeXOS are able to provide DHCP services to connected clients.
All configuration is done via shell. Like nearly with everything in ExtremeXOS the reference point is a VLAN.

 
# configure vlan INT dhcp-address-range 172.31.5.3 - 172.31.5.60
# configure vlan INT dhcp-lease-timer 300
# configure vlan INT dhcp-options default-gateway 172.31.5.126
# configure vlan INT dhcp-options dns-server primary 172.17.6.227
# configure vlan INT dhcp-options dns-server secondary 172.17.6.225
  Commands should be self explaining. It is important to mention that I did not find a way to define additional DHCP options like NTP server a.s.o. right now. The next step is to define which ports of the switch shall respond to DHCP queries:  
# enable dhcp ports 1:1 vlan "INT"
  When connecting a DHCP client the address provided to it can be displayed:  
# show dhcp-server 
VLAN "INT":
DHCP Address Range : 172.31.5.3->172.31.5.60
Netlogin Lease Timer : Not configured (Default = 10 seconds)
DHCP Lease Timer : 300 seconds
Default Gateway : 172.31.5.126
Primary DNS Server : 172.17.6.227
Secondary DNS Server : 172.17.6.225
Ports DHCP Enabled : 1:1

=========================================================
IP MAC State Lease Time Left
=========================================================
172.31.5.3 00:23:f8:bc:dd:b2 Assigned 0000:04:59
  Allocated IPs or even the whole lease database can be cleared of course again:  
# clear vlan "INT" dhcp-address-allocation 12.23.34.45 
# clear vlan "INT" dhcp-address-allocation all
  To clear the whole DHCP definition of a VLAN simply issue:  
# unconfigure vlan "INT" dhcp