Configuring the dhcp server, Overview, Enabling dhcp – H3C Technologies H3C S12500 Series Switches User Manual
Page 53: Enabling the dhcp server on an interface

40
Step Command
Remarks
2.
Enter DHCP address pool
view.
dhcp server ip-pool pool-name N/A
3.
Configure a self-defined
DHCP option.
option code { ascii ascii-string | hex
hex-string | ip-address
ip-address&<1-8> }
By default, no self-defined DHCP
option is configured.
Table 2 Common DHCP options
Option Option
name
Corresponding
command
Recommended option
command parameters
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
51B
Enabling DHCP
You must enable DHCP to validate other DHCP configurations.
To enable DHCP:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable DHCP.
dhcp enable
By default, DHCP is disabled.
52B
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 Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface interface-type interface-number
N/A
- H3C SR8800 H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S6800 Series Switches H3C S3100V2 Series Switches H3C S12500-X Series Switches H3C S9800 Series Switches