User Manual
UMN:CLI
V8102
399
SWITCH(config-dhcp[sample])#
lease-time max
10000
SWITCH(config-dhcp[sample])#
dns-server 200.1.1.1 200.1.1.2 200.1.1.3
SWITCH(config-dhcp[sample])#
If you want to specify a DNS server for all the DHCP pools, use the
dns server
command.
9.6.1.7
Manual Binding
To manually assign a static IP address to a DHCP client who has a specified MAC ad-
dress, use the following command.
Command
Mode
Description
fixed-address
A.B.C.D
MAC-ADDR
DHCP Pool
Assigns a static IP address to a DHCP client.
A.B.C.D: static IP address
MAC-ADDR: MAC address
no fixed-address
A.B.C.D
Deletes a specified static IP assignment.
9.6.1.8
Domain Name
To set a domain name, use the following command.
Command
Mode
Description
domain-name
DOMAIN
DHCP Pool
Sets a domain name.
no domain-name
Deletes a specified domain name.
9.6.1.9
DHCP Server Option
The switch operating DHCP server can include DHCP option information in the DHCP
communication. Before using this function, a global DHCP option format should be creat-
ed. For details of setting the DHCP option format, refer to the
To specify a DHCP server option, use the following command.
Command
Mode
Description
option
code
<1-254>
format
NAME
DHCP Pool
Specifies a DHCP option format for a DHCP server.
code: DHCP option code
NAME: DHCP option format name
no option
code
<1-254>
format
Removes a specified DHCP option for a DHCP server.
DHCP server may not have any DHCP option that is configured in the DHCP pool mode.
Then DHCP server finds the DHCP default option. If it exists, DHCP server sends DHCP
clients a DHCP reply packet (Offer/ACK) with the default option information.
To specify a DHCP server default option, use the following command.
Command
Mode
Description
ip dhcp default-option
code
<1-
254>
format NAME
Global
Specifies a DHCP default option format for a DHCP
server.
i