beautypg.com

Enabling dhcp, Enabling the dhcp server on an interface – H3C Technologies H3C SecPath F1000-E User Manual

Page 50

background image

10

Follow these steps to configure a self-defined DHCP option in the DHCP address pool:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter DHCP address pool view

dhcp server ip-pool pool-name
[ extended ]

Configure a self-defined DHCP
option

option code { ascii ascii-string |
hex hex-string&<1-16> |

ip-address ip-address&<1-8> }

Required
No DHCP option is configured by

default.

Table 1 Description of common options

Option Option

name

Corresponding command

Command parameter

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 Bootfile

name

bootfile-name

ascii

43

Vendor Specific Information

hex

CAUTION:

Be cautious when configuring self-defined DHCP options because such configuration may affect DHCP
operation.

Enabling DHCP

Enable DHCP before performing other configurations.
Follow these steps to enable DHCP:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable DHCP

dhcp enable

Required
Disabled by default.

Enabling the DHCP Server on an Interface

With the DHCP server enabled on an interface, upon receiving a client’s request, the DHCP server will

assign an IP address from its address pool to the DHCP client.
Follow these steps to enable the DHCP server on an interface: