Configuring self-defined DHCP options


[CAUTION: ]

CAUTION:

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


By configuring self-defined DHCP options, you can

To configure a self-defined DHCP option in the DHCP address pool:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter DHCP address pool view.

dhcp server ip-pool pool-name [ extended ]

N/A

3. Configure a self-defined DHCP option.

option code { ascii ascii-string | hex hex-string&<1-16> | ip-address ip-address&<1-8> }

No DHCP option is configured by default.

Table 2: 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

N/A

hex