ip dhcp restart client
The server should reply with Option 66 attributes, including the TFTP
◆
server name and boot file name.
Note that the vendor class identifier can be formatted in either text or
◆
hexadecimal using the ip dhcp client class-id command, but the
format used by both the client and server must be the same.
E
XAMPLE
Console(config)#interface vlan 2
Console(config-if)#ip dhcp client class-id hex 0000e8666572
Console(config-if)#
R
C
ELATED
OMMANDS
ip dhcp restart client (1363)
This command submits a BOOTP or DHCP client request.
D
S
EFAULT
ETTING
None
C
M
OMMAND
ODE
Privileged Exec
C
U
OMMAND
SAGE
This command issues a BOOTP or DHCP client request for any IP
◆
interface that has been set to BOOTP or DHCP mode through the
address
command.
DHCP requires the server to reassign the client's last address if
◆
available.
If the BOOTP or DHCP server has been moved to a different domain,
◆
the network portion of the address provided to the client will be based
on this new domain.
E
XAMPLE
In the following example, the device is reassigned the same address.
Console(config)#interface vlan 1
Console(config-if)#ip address dhcp
Console(config-if)#exit
Console#ip dhcp restart client
Console#show ip interface
VLAN 1 is Administrative Up - Link Up
Address is 12-34-12-34-12-34
Index: 1001, MTU: 1500
Address Mode is DHCP
IP Address: 192.168.0.9 Mask: 255.255.255.0
Console#
– 1363 –
| DHCP Commands
C
44
HAPTER
DHCP Client
ip