844 ExtremeWare Software 7.3.0 Command Reference Guide
Security Commands
configure vlan dhcp-options
configure vlan <vlan-name> dhcp-options [dhcp-gateway <gateway-addr> |
dns-server <dns-server-ip> | wins-server <wins-server-ip>] {<start-addr>}
Description
Configures the DHCP options returned as part of the DHCP response by a switch configured as a
DHCP server.
Syntax Description
Default
N/A.
Usage Guidelines
Use the
dhcp-gateway
keyword to configure the DHCP gateway option for a specified DHCP address
range.
Use the
dns-server
keyword to configure the DNS server option for a specified DHCP address range.
Use the
wins-server
keyword to configure the WINS server option for a given DHCP address range.
A VLAN can have multiple DHCP address ranges; therefore, the parameter
start-addr
identifies the
DHCP address range for which this configuration is applicable.
The DHCP address range is identified as the one whose starting IP address is the same as
start-addr
.
If
start-addr
is not provided, then the DHCP option will be applied for the primary DHCP address
range.
To clear DHCP options for a VLAN, use the following command:
unconfigure vlan dhcp-options
Example 1
Consider a VLAN named test with a primary subnet 40.0.0.x/24 and a secondary subnet 50.0.0.x/24.
Assume that for the primary subnet a DHCP address range is configured ranging from 40.0.0.5 -
vlan-name Specifies the name of the VLAN to be configured.
dhcp-options Specifies that DHCP options are to be configured.
dhcp-gateway Specifies that the DHCP gateway option is to be configured.
gateway-addr Specifies the DHCP gateway address.
dns-server Specifies that the DNS server option is to be configured.
dns-server-ip Specifies the DNS server IP.
wins-server Specifies that the WINS server option is to be configured.
wins-server-ip Specifies the WINS server IP.
start-addr (Optional) Specifies the starting address of the range for which DHCP options
are to be configured.