Releasing and renewing dhcp-based ip addresses, Viewing dhcp statistics and lease information – Dell PowerEdge FX2/FX2s User Manual

Page 67

Advertising
background image

• Insert Option 82 into DHCP packets.

CONFIGURATION mode

int ma 0/0

ip add dhcp relay information-option remote-id

For routers between the relay agent and the DHCP server, enter the trust-downstream option.

Releasing and Renewing DHCP-based IP Addresses

On an Aggregator configured as a DHCP client, you can release a dynamically-assigned IP address

without removing the DHCP client operation on the interface.

To manually acquire a new IP address from the DHCP server, use the following command.

• Release a dynamically-acquired IP address while retaining the DHCP client configuration on the

interface.
EXEC Privilege mode

release dhcp interface type slot/port

• Acquire a new IP address with renewed lease time from a DHCP server.

EXEC Privilege mode

renew dhcp interface type slot/port

Viewing DHCP Statistics and Lease Information

To display DHCP client information, enter the following show commands:

• Display statistics about DHCP client interfaces.

EXEC Privilege

show ip dhcp client statistics interface type slot/port

• Clear DHCP client statistics on a specified or on all interfaces.

EXEC Privilege

clear ip dhcp client statistics {all | interface type slot/port}

• Display lease information about the dynamic IP address currently assigned to a DHCP client interface.

EXEC Privilege

show ip dhcp lease [interface type slot/port]

View the statistics about DHCP client interfaces with the show ip dhcp client statistics command and the
lease information about the dynamic IP address currently assigned to a DHCP client interface with the
show ip dhcp lease command.
Example of the show ip dhcp client statistics Command

Dell#show ip dhcp client statistics interface managementethernet 0/0

Interface Name Ma 0/0

Message Received

DHCPOFFER 0

DHCPACK 0

DHCPNAK 0

Message Sent

DHCPDISCOVER 1626

Dynamic Host Configuration Protocol (DHCP)

67

Advertising