Step
3.
Configure
DHCP option.
See
Table 2
Table 2 Common DHCP options
Option
Option name
3
Router Option
6
Domain Name Server Option
15
Domain Name
NetBIOS over TCP/IP Name
44
Server Option
NetBIOS over TCP/IP Node Type
46
Option
66
TFTP server name
67
Bootfile name
43
Vendor Specific Information
Enabling DHCP
Enable DHCP to validate other DHCP configurations.
To enable DHCP:
Step
1.
Enter system view.
2.
Enable DHCP.
Enabling the DHCP server on an interface
Perform this task to enable the DHCP server on an interface. Upon receiving a DHCP request on the
interface, the DHCP server assigns an IP address and other configuration parameters from the DHCP
address pool to the DHCP client.
a
self-defined
for a description of common options and corresponding commands.
Command
system-view
dhcp enable
Command
option code { ascii ascii-string |
hex hex-string&<1-16> |
ip-address ip-address&<1-8> }
Corresponding command
gateway-list
dns-list
domain-name
nbns-list
netbios-type
tftp-server
bootfile-name
N/A
46
Remarks
No self-defined DHCP option is
configured by default.
Command parameter
ip-address
ip-address
ascii
ip-address
hex
ascii
ascii
hex
Remarks
N/A
The default setting is disabled by
default.