43
Table 2 Common DHCP options
Option Option name
Corresponding
command
Recommended option
command
arameters
3 Router Option
gateway-list ip-address
6 Domain Name Server Option dns-list ip-address
15 Domain Name domain-name ascii
44
NetBIOS over TCP/IP Name
Server Option
nbns-list ip-address
46
NetBIOS over TCP/IP Node
Type Option
netbios-type hex
66 TFTP server name tftp-server ascii
67 Boot file name bootfile-name ascii
43 Vendor Specific Information N/A hex
Enabling DHCP
You must enable DHCP to validate other DHCP configurations.
To enable DHCP:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enable DHCP.
dhcp enable By default, DHCP is disabled.
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.
To enable the DHCP server on an interface:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type interface-number N/A
3. Enable the DHCP server on
the interface.
dhcp select server
By default, the DHCP
server on the interface
is enabled.