Specifications
set interface dhcp-server
Chapter 8
IP Services Commands
114
Defaults
The DHCP server is enabled by default.
Access
Enabled.
Usage
By default, all addresses except the host address of the VLAN, the
network broadcast address, and the subnet broadcast address are included in the
range. If you specify the range, the start address must be lower than the stop
address, and all addresses must be in the same subnet. The IP interface of the
VLAN must be within the same subnet but is not required to be within the range.
Specification of the DNS domain name, DNS servers, and default router are
optional. If you omit one or more of these options, the UNIVERGE WL Control
System DHCP server uses oath values configured elsewhere on the switch:
l DNS domain name––If this option is not set with the set interface
dhcp-server command dns-domain option, the UNIVERGE WL Control
System DHCP server uses the value set by the set ip dns domain command.
l DNS servers––If these options are not set with the set interface dhcp-server
command primary-dns and secondary-dns options, the UNIVERGE WL
Control System DHCP server uses the values set by the set ip dns server
command.
l Default router––If this option is not set with the set interface dhcp-server
command default-router option, the UNIVERGE WL Control System
DHCP server can use the value set by the set ip route command. A default
route configured by set ip route can be used if the route is in the DHCP client
subnet. Otherwise, the UNIVERGE WL Control System DHCP server does
not specify a router address.
Examples
The following command enables the DHCP server on VLAN red-vlan
to serve addresses from the 192.168.1.5 to 192.168.1.25 range:
PROMPT# set interface red-vlan ip dhcp-server enable start 192.168.1.5 stop
192.168.1.25
success: change accepted.
See Also
l set ip dns domain on page 117
primary-dns ip-addr
[secondary-dns ip-addr]
IP addresses of the DHCP client’s DNS servers.
default-router ip-addr IP address of the DHCP client’s default router.