![D-Link DES-3010FA Скачать руководство пользователя страница 117](http://html.mh-extra.com/html/d-link/des-3010fa/des-3010fa_cli-manual_77875117.webp)
IP Addressing Commands
Page 116
ip address dhcp
The
ip address dhcp
Interface Configuration (Ethernet, VLAN, port-channel) mode command acquires an IP
address for an Ethernet interface from the Dynamic Host Configuration Protocol (DHCP) server. To deconfigure an
acquired IP address, use the
no
form of this command.
Syntax
ip address dhcp
[
hostname
host-name
]
no ip address dhcp
Parameters
•
host-name
— Specifies the name of the host to be placed in the DHCP option 12 field. This name does not
have to be the same as the host name specified in the
hostname
Global Configuration mode command.
(Range: 1-20 characters)
Default Configuration
This command has no default configuration.
Command Mode
Interface Configuration (Ethernet, VLAN, port-channel) mode
User Guidelines
The
ip address dhcp
command allows any interface to dynamically learn its IP address by using the DHCP pro-
tocol.
Some DHCP servers require that the DHCPDISCOVER message have a specific host name. The
ip address
dhcp
hostname
host-name
command is most typically used when the host name is provided by the system
administrator.
If the device is configured to obtain its IP address from a DHCP server, it sends a DHCPDISCOVER message to
provide information about itself to the DHCP server on the network.
If the
ip address dhcp
command is used with or without the optional keyword, the DHCP option 12 field (host
name option) is included in the DISCOVER message. By default, the specified DHCP host name is the globally
configured host name of the device. However, the
ip address dhcp hostname
host-name
command can be used
to place a different host name in the DHCP option 12 field.
The
no ip address dhcp
command deconfigures any IP address that was acquired, thus sending a DHCPRE-
LEASE message.
Example
The following example acquires an IP address for Ethernet port 4 from DHCP.
Console(config)#
interface ethernet
4
Console(config-if)#
ip address dhcp
Содержание DES-3010FA
Страница 1: ......
Страница 86: ...D Link DES 3010FA GA PA CLI Reference Guide Page 85 ch3 Enabled ch4 Enabled ch5 Enabled ch6 Enabled ...
Страница 91: ...Ethernet Configuration Commands Page 90 ch2 ch3 ch4 ch5 ch6 ...
Страница 177: ...QoS Commands Page 176 Switch show qos interface 7 rate limit Port rate limit kbps 7 100 3 2 4 3 5 3 6 4 7 4 ...
Страница 193: ...Radius Commands Page 192 ...
Страница 318: ...D Link DES 3010FA GA PA CLI Reference Guide Page 317 ...
Страница 355: ...802 1x Commands Page 354 Trap frequency 100 Status Single host locked Violations since last trap 9 ...
Страница 361: ...International Offices Page 360 ...