User's Manual

384
provider.
ip dhcp client client_identifier hrd_ether
Specifies the client ID as the Ethernet type
ip dhcp client timeout_shut
Specifies client timeout shutdown of the
interface
ip dhcp client retry_interval <1-1440>
Sets the re-transmission time.
ip dhcp client bootfileaddmac
Enables DHCP file name to add MAC address
of the client
ip dhcp client tftpdownload
Enables TFTP download function
The command is optional when you perform operations to "obtain an IP address".
(4) Monitoring DHCP
To browse related information of the DHCP server, which is discovered by SWITCH currently, run the following
command in EXEC mode:
Command Purpose
show dhcp server
Displays related information about the DHCP
server, which is known by SWITCH.
To browse which IP address is currently used by SWITCH, run the following command in EXEC mode:
Command Purpose
show dhcp lease
Displays IP resources, which are currently
used by the SWITCH, and related information.
Additionally, if you use DHCP to distribute an IP for an Ethernet interface, you can also run show interface to
browse whether the IP address required by the Ethernet interface is successfully acquired.
52.2.3 DHCP Client Configuration Example
DHCP Client configuration example is shown below:
(1) Obtaining an IP Address
The following example shows interface vlan11 obtains an IP address through DHCP.
!
interface vlan 11
ip address dhcp