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
Содержание SSE-G2252
Страница 42: ...44 General IP Routing on page 627...
Страница 174: ...Chapter 6 VLAN Configuration Configuring VLAN Mirroring 178 Figure 6 27 Showing the VLANs to Mirror...
Страница 511: ...Chapter 14 Basic Administration Protocols UDLD Configuration 518 Figure 14 100 Displaying UDLD Neighbor Information...
Страница 603: ...Chapter 16 IP Configuration Setting the Switch s IP Address IP Version 6 609...
Страница 883: ...Chapter 24 General Security Measures Port based Traffic Segmentation 894...
Страница 989: ...Chapter 30 Congestion Control Commands Automatic Traffic Control Commands 1000 Console...
Страница 1007: ...Chapter 33 Address Table Commands 1019...
Страница 1137: ...Chapter 38 Quality of Service Commands 1150...
Страница 1366: ...Chapter 46 IP Routing Commands Global Routing Configuration 1381 Connected 2 Total 2 FIB 0 Console...