Concept Guide

Commands to Congure the System to be a DHCP
Client
To congure the system to be a DHCP client, use the following commands.
ip address dhcp
Acquire an IP address dynamically on an interface from the DHCP server.
Syntax
ip address dhcp [relay | vendor-class-identifier]
To disable DHCP Client on an interface, use the no ip address dhcp command.
Command Modes INTERFACE
Supported Modes All Modes
Default Enabled
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
9.4(0.0) Supported on the FN I/O Aggregator.
8.3.17.0 Supported on the M I/O Aggregator.
Usage Information
In the I/O Aggregator, the DHCP client is enabled only on the default VLAN and management interface 0/0. Use
the ip address command to assign a static IP address that overwrites the dynamically assigned IP address.
Other Commands Supported by the DHCP Client
The following commands are supported by the DHCP client.
clear ip dhcp client statistics
Displays DHCP client statistics, including the number of DHCP messages sent and received on an interface.
Syntax
clear ip dhcp client statistics interface type slot/port
Parameters
interface type slot/
port
Clear DHCP client statistics on the specied interface.
For the management interface on the stack-unit, enter the keyword
managementethernet followed by slot/port information. The slot and port range is
0.
For a VLAN, enter the keyword vlan followed by a number from 1 to 4094.
Command Modes EXEC Privilege
Dynamic Host Conguration Protocol 453