R3303-HP HSR6800 Routers Layer 3 - IP Services Configuration Guide
42
Ste
p
Command
Remarks
3. Configure a self-defined
DHCP option.
option code { ascii ascii-string |
hex hex-string&<1-16> |
ip-address ip-address&<1-8> }
No self-defined DHCP option is
configured by default.
See Table 2 for a description of common options and corresponding commands.
Table 2 Common DHCP options
O
p
tion O
p
tion name Corres
p
ondin
g
command
Command
p
arameter
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 N/A hex
Enabling DHCP
Enable DHCP to validate other DHCP configurations.
To enable DHCP:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enable DHCP.
dhcp enable
The default setting is disabled by
default.
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.
Configuration guidelines
Follow these guidelines when you enable the DHCP server on an interface:
• If a DHCP relay agent exists between the DHCP server and client, the DHCP server, regardless of
whether the subaddress keyword is used, selects an IP address from the address pool containing the