configure vlan dhcp-address-range

configure vlan vlan_name dhcp-address-range ipaddress1 - ipaddress2

Description

Configures a set of DHCP addresses for a VLAN.

Syntax Description

vlan_name Specifies the VLAN on whose ports DHCP will be enabled.
ipaddress1 Specifies the first IP address in the DHCP address range to be assigned to this VLAN.
ipaddress2 Specifies the last IP address in the DHCP address range to be assigned to this VLAN.

Default

N/A.

Usage Guidelines

The following error conditions are checked: ipaddress2 >= ipaddress1, the range must be in the VLAN's network, the range does not contain the VLAN's IP address, and the VLAN has an IP address assigned.

Example

The following command allocates the IP addresses between 192.168.0.20 and 192.168.0.100 for use by the VLAN temporary:

configure temporary dhcp-address-range 192.168.0.20 - 192.168.0.100

History

This command was first available in ExtremeXOS 11.0.

Platform Availability

This command is available on ExtremeSwitching 5320, 5420, 5520, and 5720 series switches.