Dynamic Host Configuration Protocol (DHCP) Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
53.7
ip address dhcp
This command activates the DHCP client on the interface you are configuring. This allows the
interface to use the DHCP client to obtain its IP configuration details from a DHCP server on
its connected network.
The
client-id
and
hostname
parameters are identifiers that you may want to set in order to
interoperate with your existing DHCP infrastructure. If neither option is needed, then the
DHCP server uses the MAC address field of the request to identify the host.
The DHCP client supports the following IP configuration options:
■
Option 1 - the subnet mask for your device.
■
Option 3 - a list of default routers.
■
Option 6 - a list of DNS servers. This list appends the DNS servers set on your device with
the
ip name-server
command.
■
Option 15 - a domain name used to resolve host names. This option replaces the domain
name set with the
ip domain-name
command. Your device ignores this domain name if it
has a domain list set using the
ip domain-list
command.
■
Option 51 - lease expiration time.
The
no
parameter stops the interface from obtaining IP configuration details from a DHCP
server.
Syntax
ip address dhcp [client-id <
interface
>] [hostname <
hostname
>]
no ip address dhcp
Mode
Interface mode
Examples
To set the interface vlan10 to use DHCP to obtain an IP address, use the command:
awplus#
configure terminal
awplus(config)#
interface vlan10
awplus(config-if)#
ip address dhcp
To stop the interface from using DHCP to obtain its IP address, use the command:
awplus(config-if)#
no ip address dhcp
Related Commands
ip address IPADDR
Parameter
Description
<
interface
>
The name of the interface you are activating the DHCP client on. If
you specify this, then the MAC address associated with the
specified interface is sent to the DHCP server in the optional
identifier field.
Default: no default
<
hostname
>
The hostname for the DHCP client on this interface. Typically this
name is provided by the ISP.
Default: no default
Содержание AlliedWare Plus 5.2.1
Страница 8: ...65 Stacking Commands Introduction 65 2 Appendix l Command List ...
Страница 10: ......
Страница 218: ......
Страница 376: ......
Страница 726: ......
Страница 806: ......
Страница 1006: ......
Страница 1056: ......
Страница 1235: ...Stacking Reference This part includes the following chapters Chapter 64 Stacking Introduction Chapter 65 Stacking Commands ...
Страница 1236: ......