Chapter 44: DHCP Commands
DHCP Client
– 1333 –
•
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
ELATED
C
OMMANDS
ip dhcp restart client
This command submits a BOOTP or DHCP client request.
D
EFAULT
S
ETTING
None
C
OMMAND
M
ODE
Privileged Exec
C
OMMAND
U
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
•
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 70-72-CF-94-22-34
Index: 1001, MTU: 1500
Address Mode is DHCP
IP Address: 192.168.0.5 Mask: 255.255.255.0
Proxy ARP is disabled
DHCP relay server: 0.0.0.0
Console#
R
ELATED
C
OMMANDS
Summary of Contents for SSE-G2252
Page 42: ...44 General IP Routing on page 627...
Page 603: ...Chapter 16 IP Configuration Setting the Switch s IP Address IP Version 6 609...
Page 883: ...Chapter 24 General Security Measures Port based Traffic Segmentation 894...
Page 989: ...Chapter 30 Congestion Control Commands Automatic Traffic Control Commands 1000 Console...
Page 1007: ...Chapter 33 Address Table Commands 1019...
Page 1137: ...Chapter 38 Quality of Service Commands 1150...