DHCP Server

ExtremeXOS has DHCP (Dynamic Host Configuration Protocol) support.

In simple terms, a DHCP server dynamically manages and allocates IP addresses to clients. When a client accesses the network, the DHCP server provides an IP address to that client. The client is not required to receive the same IP address each time it accesses the network. A DHCP server with limited configuration capabilities is included in the switch to provide IP addresses to clients.

After ExtremeXOS DHCP server assigns the IP addresses to the clients, the entry is not removed until a DHCP release is received by the client. After the lease timer expires, the entry appears in the expired state. If the DHCP server enabled port goes down or the DHCP server is disabled on the port, the entries are not removed from the DHCP server table. Also, if the client computer moved to another VLAN, the entries are not removed until the lease timer expires.

For example:
Slot-1 Stack.32 # show dhcp-server
 VLAN "v1":
     DHCP Address Range   : 1.1.1.100->1.1.1.200
     Netlogin Lease Timer : Not configured (Default = 10 seconds)
     DHCP Lease Timer     : 100 seconds
     Default Gateway      : 1.1.1.1
     Primary DNS Server   : 12.1.2.1
     Ports DHCP Enabled   : 2:24

     ===========================================================================
     IP                MAC                 State      Lease Time Left
     ===========================================================================
           1.1.1.100   00:0c:29:11:e2:c1   Assigned   0000:01:14
           1.1.1.101   00:0c:29:11:e2:a3   Assigned   0000:01:08
           1.1.1.102   00:0c:29:11:e2:ad   Assigned   0000:01:14
           1.1.1.103   00:0c:29:11:e2:b7   Assigned   0000:01:21
Slot-1 Stack.32 # disable ports 2:24
Slot-1 Stack.33 # show dhcp-server
 VLAN "v1":
     DHCP Address Range   : 1.1.1.100->1.1.1.200
     Netlogin Lease Timer : Not configured (Default = 10 seconds)
     DHCP Lease Timer     : 100 seconds
     Default Gateway      : 1.1.1.1
     Primary DNS Server   : 12.1.2.1
     Ports DHCP Enabled   : 2:24

     ===========================================================================
     IP                MAC                 State      Lease Time Left
     ===========================================================================
           1.1.1.100   00:0c:29:11:e2:c1   Assigned   0000:01:06
           1.1.1.101   00:0c:29:11:e2:a3   Assigned   0000:01:00
           1.1.1.102   00:0c:29:11:e2:ad   Assigned   0000:01:06
           1.1.1.103   00:0c:29:11:e2:b7   Assigned   0000:01:13
Slot-1 Stack.34 # show dhcp-server
 VLAN "v1":
     DHCP Address Range   : 1.1.1.100->1.1.1.200
     Netlogin Lease Timer : Not configured (Default = 10 seconds)
     DHCP Lease Timer     : 100 seconds
     Default Gateway      : 1.1.1.1
     Primary DNS Server   : 12.1.2.1
     Ports DHCP Enabled   : 2:24

     ===========================================================================
     IP                MAC                 State      Lease Time Left
     ===========================================================================
           1.1.1.100   00:0c:29:11:e2:c1   Expired    0000:00:00
           1.1.1.101   00:0c:29:11:e2:a3   Expired    0000:00:00
           1.1.1.102   00:0c:29:11:e2:ad   Expired    0000:00:00
           1.1.1.103   00:0c:29:11:e2:b7   Expired    0000:00:00

The entries can be cleared by using the command: clear vlan v1 dhcp-address-allocation all