ip dhcp client request

Last Updated : May 11, 2021 |
Determines which DHCP options the DHCP client requests from the DHCP server. By default, the DHCP client requests all DHCP options. Use no ip dhcp client request to disable requesting of a specific option.
Prolog information
Note:
The DHCP client receives the requested options only if they were previously configured for the DHCP pool in the DHCP server.

Syntax

[no] ip dhcp client request {domain-name | dns-nameserver | router }

Parameters

Parameter
Description
Possible Values
Default Value
domain-name
A keyword indicating the DHCP client is requesting the domain name from the DHCP server
Option requested
dns-nameserver
A keyword indicating the DHCP client is requesting the list of available DNS servers from the DHCP server
Option requested
router
A keyword indicating the DHCP client is requesting the list of default routers from the DHCP server
Option requested

User level

read-write

Context

interface: VLAN, FastEthernet

Example

To set that the DHCP client requests the default routers list:
Gxxx-001(config-if:FastEthernet )#ip dhcp client request router