Enable dhcp – Allied Telesis AT-S63 User Manual
Page 47
AT-S63 Management Software Command Line Interface User’s Guide
Section I: Basic Operations
47
ENABLE DHCP
Syntax
enable dhcp
Parameters
None.
Description
This command activates the DHCP client software on the switch. The
default setting for the DHCP client software is disabled. When activating
the DHCP client software, note the following:
The switch immediately begins to query the network for a DHCP server
after the command is entered. The switch continues to query the
network for its IP configuration until it receives a response.
Any static IP address, subnet mask, or gateway address assigned to
the switch is replaced with the value the switch receives from the
DHCP server. If you later disable DHCP, these values are returned to
their default settings.
To disable DHCP, refer to “DISABLE DHCPBOOTP” on page 43 or
“DISABLE IP REMOTEASSIGN” on page 44.
You cannot manually assign an IP address or subnet mask to a switch
when the DHCP client software has been activated.
The switch does not support running both the BOOTP client software
and DHCP client software at the same time. To have the switch obtain
its IP configuration from a BOOTP server instead of a DHCP server,
activate the BOOTP client software on the switch using “ENABLE
BOOTP” on page 46 or “SET IP INTERFACE” on page 58.
Example
The following command activates the DHCP client software on the switch:
enable dhcp
Equivalent Commands
enable ip remoteassign
For information, see “ENABLE IP REMOTEASSIGN” on page 48.
set ip interface=eth0 ipaddress=dhcp
For information, see “SET IP INTERFACE” on page 58.