To configure host hardware type and its DHCP option with specific values, and set the NTP server, DNS server, and SIP server with the host specific DHCP server configuration parameters, use the command host hardware-type in DHCP Pool Configuration Mode. The no form of the command deletes the hardware type and its DHCP option and all servers from the host specific DHCP server configuration parameters.
Parameter | Type | Description |
---|---|---|
<integer (1-255)> |
Integer | Enter a value to configure the host hardware type for which the host address and the DHCP options needs to be configured. This value ranges from 1 to 255. Only the value 1 is supported, which represents that the hardware type is Ethernet. |
client-identifier |
Enter to configure the DHCP client identifier in a host declaration so that a host record can be found using this client identifier. The client identifier represents the physical address (MAC address) of a network card. | |
<mac-address> |
Enter a MAC address for the IPv4 address for the DHCP host. | |
ip |
Enter to configure the IPv4 address for the DHCP host. | |
<ip address> |
Enter the IPv4 address for the DHCP host. | |
option |
Enter to configure the unique DHCP option code that represents a specific DHCP option used in a DHCP OFFER message on response to a DHCP DISCOVER message | |
<code (1-2147483647)> |
Integer | Enter a value for the unique DHCP option code that represents a specific DHCP option used in a DHCP OFFER message in response to a DHCP DISCOVER message. This value ranges from 1 to 2147483647. |
ascii |
Enter to configure the ASCII value to be set for the corresponding option code that accepts ASCII string. | |
<string> |
Enter an ASCII value to be set for the corresponding option code that accepts ASCII string. This value is a character string that should contain only characters from NVT ASCII character set. | |
hex |
Enter to configure the hexadecimal value to be set for the corresponding option code that accepts hexadecimal string. | |
<string> |
Enter a hexadecimal value for the corresponding option code. | |
ip |
Enter to configure the unicast IP address to be set for the corresponding option code that accepts IP addres | |
<ip address> |
Enter to configure the unicast IP address to be set for the corresponding option code that accepts IP address. | |
<ucast_mac> |
Enter to configure the client identifier with the host MAC address. | |
ntp-server |
Enter to set NTP servers in the host specific DHCP server configuration parameters. | |
<ip address> |
Enter an unicast IP address for the corresponding NTP servers in the host specific DHCP server configuration. | |
dns-server |
Enter to set DNS servers in the host specific DHCP server configuration parameters. | |
<ip address> |
Enter an unicast IP address for the corresponding DNS servers in the host specific DHCP server configuration. | |
sip-server |
Enter to set SIP servers in the host specific DHCP server configuration parameters. SIP stands for Session Initiation Protocol and refers to a TCP/IP-based network protocol which is often used in Voice-over-IP telephony to establish connection for telephone calls. | |
domain |
Enter to configure the domain names for the server. | |
string |
Enter a domain name for the server. The domain name should be specified as ASCII string | |
ip |
Enter to set SIP servers in the host specific DHCP server configuration parameters. | |
<ip address> |
Enter to an unicast IP address for the corresponding SIP servers in the host specific DHCP server configuration. |
DHCP Pool Configuration Mode
iS5Comm(config)# ip dhcp pool 1 pool1
iS5Comm(dhcp-config) # host hardware-type 1 client-identifier 00:01:02:03:04:01 option 67 ascii abcd
iS5Comm(dhcp-config) # host hardware-type 1 client-identifier 00:11:22:33:44:55 dns-server 12.0.0.1 13.0.0.0
iS5Comm(dhcp-config) # host hardware-type 1 client-identifier 00:11:22:33:44:55 ntp-server 12.0.0.1 13.0.0.0
iS5Comm (dhcp-config)# host hardware-type 1 client-identifier 00:11:22:33:44:55 sip-server domain sipsrv sipsrv1