DHCP Server
ExtremeWare XOS 11.3 Concepts Guide
319
Configuring the DHCP Server
The following commands allow you to configure the DHCP server included in the switch. The
parameters available to configure include the IP address range, IP address lease, and multiple DHCP
options.
To configure the range of IP addresses assigned by the DHCP server, use the following command:
configure vlan <vlan_name> dhcp-address-range <ipaddress1> - <ipaddress2>
To remove the address range information, use the following command:
unconfigure vlan <vlan_name> dhcp-address-range
To set how long the IP address lease assigned by the server exists, use the following command:
configure vlan <vlan_name> dhcp-lease-timer <lease-timer>
To set the default gateway, Domain Name Servers (DNS) addresses, or Windows Internet Naming
Service (WINS) server, use the following command:
configure vlan <vlan_name> dhcp-options [default-gateway | dns-server | wins-server]
<ipaddress>
To remove the default gateway, DNS server addresses, and WINS server information for a particular
VLAN, use the following command:
unconfigure vlan <vlan_name> dhcp-options
To remove all the DHCP information for a particular VLAN, use the following command:
unconfigure vlan <vlan_name> dhcp
You can clear the DHCP address allocation table selected entries, or all entries. You would use this
command to troubleshoot IP address allocation on the VLAN. To clear entries, use the following
command:
clear vlan <vlan_name> dhcp-address-allocation [[all {offered | assigned | declined |
expired}] | <ipaddress>]
Displaying DHCP Information
To display the DHCP configuration, including the DHCP range, DHCP lease timer, network login lease
timer, DHCP-enabled ports, IP address, MAC address, and time assigned to each end device, use the
following command:
show dhcp-server {vlan <vlan_name>}
The next two commands were retained for compatibility with earlier versions of ExtremeWare. To view
only the address allocation of the DHCP server on a VLAN, use the following command:
show vlan <vlan_name> dhcp-address-allocation
To view only the configuration of the DHCP server on a VLAN, use the following command:
show vlan <vlan_name> dhcp-config