Dynamic Host Configuration Protocol (DHCP) | 197
renew dhcp interface
Re-acquire a dynamic IP address on an Ethernet interface enabled as a DHCP client.
Syntax
renew dhcp interface type slot/port
Parameters
Command Mode
EXEC Privilege
Default
None.
Command
History
Usage
Information
When you enter the renew dhcp command, a new dynamic IP address is acquired on the specified
Ethernet interface for the renewed lease time.
To display the currently configure dynamic IP address and lease time, enter the show ip dhcp lease
command.
show ip dhcp client statistics
Display DHCP client statistics, including the number of DHCP messages sent and received on an
interface.
Syntax
show ip dhcp client statistics {all | interface type slot/port}
Parameters
Command Mode
EXEC Privilege
Default
None.
Command
History
show ip dhcp lease
Display lease information about the dynamic IP address currently assigned to a DHCP client-enabled
interface.
Syntax
show ip dhcp lease [interface type slot/port]
interface type slot/
port
For a 10-GigabitEthernet Ethernet interface, enter TenGigabitEthernet followed
by the slot/port numbers; for example, tengigabitethernet 1/3.
For a 40-GigabitEthernet Ethernet interface, enter FortyGigabitEthernet followed
by the slot/port numbers; for example, fortygigabitethernet 0/2.
Version 8.3.16.1 Introduced on MXL 10/40GbE Switch IO Module
all
Display DHCP client statistics on all DHCP client-enabled interfaces on the switch.
interface type slot/
port
Display DHCP client statistics on the specified interface.
For a 10-GigabitEthernet Ethernet interface, enter TenGigabitEthernet followed
by the slot/port numbers; for example, tengigabitethernet 1/3.
For a 40-GigabitEthernet Ethernet interface, enter FortyGigabitEthernet followed
by the slot/port numbers; for example, fortygigabitethernet 0/2.
Version 8.3.16.1 Introduced on MXL 10/40GbE Switch IO Module