Option
66
67
43
Enabling DHCP
You must 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.
To enable the DHCP server on an interface:
Step
Enter system view.
1.
2.
Enter interface view.
3.
Enable the DHCP server on
the interface.
Applying an address pool on an interface
Perform this task to apply a DHCP address pool on an interface. Upon receiving a DHCP request from the
interface, the DHCP server assigns configuration parameters from the address pool to the client.
To apply an address pool on an interface:
Step
1.
Enter system view.
2.
Enter interface view.
Option name
TFTP server name
Boot file name
Vendor Specific Information
Command
system-view
dhcp enable
Command
system-view
interface interface-type interface-number
dhcp select server
Command
system-view
interface interface-type
interface-number
Corresponding
command
tftp-server
bootfile-name
N/A
Remarks
N/A
N/A
38
Recommended option
command parameters
ascii
ascii
hex
Remarks
N/A
By default, DHCP is disabled.
Remarks
N/A
N/A
By default, the DHCP
server on the interface
is enabled.