DHCP C
OMMANDS
4-159
Example
In the following example, the device is reassigned the same address.
Related Commands
ip address (4-308)
DHCP Relay
ip dhcp restart relay
This command enables DHCP relay for the specified VLAN. Use the no
form to disable it.
Syntax
[no] ip dhcp relay
Default Setting
Disabled
Command Mode
Interface Configuration (VLAN)
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 up, addressing mode is DHCP
Interface address is 192.168.1.54, mask is 255.255.255.0, Primary
MTU is 1500 bytes
Proxy ARP is disabled
Split horizon is enabled
Console#
Table 4-44 DHCP Relay Commands
Command Function Mode Page
ip dhcp restart relay Enables DHCP relay agent IC 4-159
ip dhcp relay server Specifies DHCP server addresses for relay IC 4-160