ip dhcp client request
Use this command to add an option to a DHCP request.
Use the no form of this command to remove an option from a DHCP request.
Command Syntax
ip dhcp client request dns-nameserver
ip dhcp client request host-name
ip dhcp client request log-server
ip dhcp client request ntp-server
no ip dhcp client request dns-nameserver
no ip dhcp client request host-name
no ip dhcp client request log-server
no ip dhcp client request ntp-server
Parameters
dns-nameserver
List of DNS name servers (DHCP option 6)
host-name
Name of the client (DHCP option 12)
ntp-server
List of NTP servers (DHCP option 42)
log-server
List of log servers (DHCP option 7)
Default
By default, ip dhcp client request is enabled
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#ip dhcp client request ntp-server
Last modified date: 08/28/2023