C
ONFIGURING
THE
S
WITCH
3-26
CLI – Specify the management interface, and set the IP address mode to
DHCP or BOOTP, and then enter the “ip dhcp restart client” command.
Renewing DCHP – DHCP may lease addresses to clients indefinitely or
for a specific period of time. If the address expires or the stack is moved to
another network segment, you will lose management access to the stack. In
this case, you can reboot the stack or submit a client request to restart
DHCP service via the CLI.
Web – If the address assigned by DHCP is no longer functioning, you will
not be able to renew the IP settings via the web interface. You can only
restart DHCP service via the web interface if the current address is still
available.
CLI – Enter the following command to restart DHCP service.
Console#config
Console(config)#interface vlan 1 4-187
Console(config-if)#ip address dhcp 4-308
Console(config-if)#end
Console#ip dhcp restart client 4-158
Console#show ip interface 4-311
Vlan 1 is up, addressing mode is DHCP
Interface address is 192.168.1.253, mask is 255.255.255.0, Primary
MTU is 1500 bytes
Proxy ARP is disabled
Split horizon is enabled
Console#
Console#ip dhcp restart client 4-158
Console#