Configure DHCP Server Global Parameters
About this task
Procedure
Variable Definitions
Use the variable definitions in the following table to configure DHCP Server global parameters using the CLI.
Variable | Definition |
---|---|
lease-time <60-300000000> |
Assigns the global lease timer in seconds. The host lease expires when the timer expires. The default is 86400. Note: The DHCP renewal process begins when a lease reaches 50% of
the remaining expiration timer. The client unicasts a renewal
request to DHCP Server, which checks its database before
confirming the renewal.
|
domain-name-servers {A.B.C.D} [...] |
Specifies the IPv4 address of one or more DNS servers. You can assign a maximum of eight servers. With multiple servers, list each server address on the same command line with a space between each address entry. |
ntp-servers {A.B.C.D} […] |
Specifies the IPv4 address of one or more NTP servers. You can assign a maximum of eight servers. With multiple servers, list each server address on the same command line with a space between each address entry. |
tftp server-ip {A.B.C.D} |
Specifies the IP address of the global TFTP server for DHCP Server. You must assign an IP address to the server before you can assign other TFTP settings such as a server name and boot image file. |
tftp server-name WORD<0-64> |
Specifies the server name of the global TFTP server for DHCP Server. |
tftp boot-file name WORD<0-128> |
Specifies the file name of the global TFTP boot image file for DHCP Server |
domain-name WORD<0-255> |
Assigns a domain name to the DHCP Server. |
netbios-name-server {A.B.C.D} |
Specifies the IPv4 address of the NetBIOS server. |
netbios-node-type {0x1|0x2|0x4|0x8} |
Specifies the node type of the NetBIOS server. Enter one of the following values according to which value fits your deployment:
The default setting is 0x0 (unconfigured). |
ha-peer {A.B.C.D} |
Specifies the IPv4 address of the redundant peer switch in a High Availability (HA) pair. |
ha-role {primary | standby} |
Assigns the High Availability (HA) role of this switch. Within an HA pair, you must have one primary server and one standby server that do the following:
Note: Assigning roles is optional. By default, the switch with the
lower IP address is primary.
|
custom-option-def <224-254> type <ipv4-address | uint32 | string> [name WORD<0-128>] |
Defines the format of a customized option that you want the DHCP Server to provide to clients.
|
custom-option-data <224-254> value WORD<0-128> |
Assigns a data value to a DHCP Custom Option that you defined previously.
|