clear dhcp ipv4 client
To clear the DHCP client binding information configured on a given interface and set the binding information again, use the clear dhcp ipv4 client command in XR EXEC mode.
clear dhcp ipv4 client interface-name interface-number
Syntax Description
interface-name |
Specifies DHCP IPv4 client enabled interface name. |
interface-number |
Specifies DHCP IPv4 client enabled interface number. |
Command Default
No default behavior or values
Command Modes
XR EXEC mode
Command History
Release |
Modification |
---|---|
Release 6.0.1 |
This command was introduced. |
Usage Guidelines
Use the clear dhcp ipv4 client command to clear the DHCP client binding information for the specified interface.
Task ID
Task ID |
Operations |
---|---|
IP-Services |
Execution |
Examples
The following example shows how to clear the DHCP client binding information:
Router# clear dhcp ipv4 client mgmtEth 0/0/CPU0/0
Fri Jun 6 08:24:14.558 UTC
RP/0/0/CPU0:ios#show dhcp ipv4 client
Fri Jun 6 08:24:17.377 UTC
Interface name IP Address Binding State Lease Time Rem
---------------------- ------------ --------------- ----------------------
MgmtEth0/0/CPU0/0 11.11.11.5 BOUND 3598 secs (00:59:58)
RP/0/0/CPU0:ios#show dhcp ipv4 client mgmtEth 0/0/CPU0/0 statistics
Fri Jun 6 08:24:19.397 UTC
Client Interface name : MgmtEth0/0/CPU0/0
-------------------------------------------------
CLIENT COUNTER(s) | VALUE
-------------------------------------------------
Num discovers sent : 1
Num requests sent : 1
Num releases sent : 1
Num offers received : 1
Num acks received : 1
-------------------------------------------------