
Ethernet Interface Configuration Command Set Command Reference Guide
306 © 2003 ADTRAN, Inc. 61950860L1-35D
ip address dhcp
Use the ip address dhcp command to use Dynamic Host Configuration Protocol (DHCP) to obtain an
address on the Ethernet interface. Use the no form of this command to remove a configured IP address
(using DHCP) and disable DHCP operation on the interface.
ip address dhcp {client-id [ <interface> | <identifier> ] hostname “<string>” }
Syntax Description
client-id
*Optional
Specifies the client identifier used when obtaining an IP address from a DHCP
server.
<interface>
Specifying an interface defines the client identifier as the hexadecimal MAC
address of the specified interface (including a hexadecimal number added to the
front of the MAC address to identify the media type).
For example, specifying the
client-id ethernet 0/1
(where the Ethernet interface
has a MAC address of d217.0491.1150) defines the client identifier as
01:d2:17:04:91:11:50
(where 01 defines the media type as Ethernet).
<identifier>
Specify a custom client-identifier using a text string (that is converted to a
hexadecimal equivalent) or 7 to 28 hexadecimal numbers (with colon delimiters).
For example, a custom client identifier of
0f:ff:ff:ff:ff:51:04:99:a1
may be entered
using the <identifier> option.
host-name
*Optional
Specifies a text string (to override the global router name) to use as the name in
the DHCP option 12 field.
“<string>”
String (encased in quotation marks) of up to 35 characters to use as the name of
the host for DHCP operation.
Default Values
client-id
*Optional
By default, the client identifier is populated using the following formula:
TYPE: INTERFACE SPECIFIC INFO : MAC ADDRESS
Where TYPE specifies the media type in the form of one hexadecimal byte (refer
to the
hardware-address
command for a detailed listing of media types) and the
MAC ADDRESS is the Media Access Control (MAC) address assigned to the first
Ethernet interface in the unit in the form of six hexadecimal bytes. (For units with
a single Ethernet interface, the MAC ADDRESS assigned to ethernet 0/1 is used
in this field).
INTERFACE SPECIFIC INFO is only used for frame relay interfaces and can be
determined using the following:
FR_PORT# : Q.922 ADDRESS
Where the FR_PORT# specifies the label assigned to the virtual frame relay
Kommentare zu diesen Handbüchern