To set the DHCP option type for requests to the server and set an unique identifier for the DHCP client identifier, use the command ip dhcp client in Interface Configuration Mode (VLAN / Router). The no form of the command resets the DHCP option type for requests to the server and the DHCP client identifier.
Parameter | Type | Description |
---|---|---|
client-id |
Enter to set the unique identifier for the DHCP client identifier. This command advertises the client-id in the DHCP control packet. | |
<interface-type> |
Enter to specify the interface type for the DHCP client-id.
The interface can be:
|
|
<interface-id> |
Enter to configure an interface id for the DHCP client-id for the specified interface identifier. This is a unique value that represents the specific interface. This value is a combination of slot number and port number separated by a slash. For example: 0/1 represents that the slot number is 0 and port number is 1. | |
vlan |
Enter to configure DHCP client-id for a specified VLAN. | |
<vlan-id (1-4094)> |
Integer | Enter a VLAN ID for the DHCP client ID.This is a unique value that represents the specific VLAN created. This value ranges from 1 to 4094. |
port-channel |
Enter to configure the port to be used by the host to configure the router. The port channel identifier can be created or port channel related configuration can done, only if the LA feature is enabled in the switch. | |
<port-channel-id (1-65535)> |
Integer | Enter a value for port ID for the port to be used by the host to configure the router. This value ranges from 1 to 65535 |
tunnel |
Enter to configure the tunnel identifier. | |
<tunnel-id (0-128)> |
Integer | Enter a value for the tunnel identifier. This value ranges from 0 to 128. |
loopback |
Enter to configure the loopback identifier. | |
<interface-id (0-100)> |
Integer | Enter a a value for the loopback identifier. This value ranges from 0 to 100. |
ascii |
Enter to configure the DHCP client ID in ascii format. | |
<string> |
Enter a value for client ID in ascii format. The client-id is given as a string. | |
hex |
Enter to configure the DHCP client ID in hex format | |
<string> |
Enter a value for client ID in ascii format. The client-id is given as a string. | |
request |
Enter to set the DHCP option type for requests to the server. This is required to send DHCP request to get the tftp server name, Boot file name, sip server name and option240. | |
tftp-server-name |
Enter to configure to send the DHCP requests for getting the TFTP server’s domain name | |
boot-file-name |
Enter to configure to send the DHCP requests for getting he boot File Name | |
sip-server-info |
Enter to configure to send the DHCP requests for getting the sip server details | |
option240 |
Enter to configure to send the DHCP requests for getting the the option 240 information. | |
vendor-specific |
Enter to configure vendor specific information for the DHCP client. | |
<vendor-info (string)> |
Enter a vendor name. The vendor name is given as a string. |
Interface Configuration Mode (VLAN / Router)
iS5Comm (config-if)# ip dhcp client client-id gigabitethernet 0/1
iS5Comm (config-if)# ip dhcp client request option240