set dhcp server interface custom-option

Description

Configures a custom DHCP option.

Syntax

set dhcp server interface <name> custom-option name <custom-option name> type <type> tag <tag> data <data>

Parameters

Parameter

Description

name

Specifies the name of the interface / connection.

Press the TAB key to see the available options.

custom-option name

Set the name of the object

A string that contains these characters:

  • a-z (lower-case letters)

  • A-Z (upper-case letters)

  • 0-9 (digits)

  • '-' (minus)

data

Set the desired value of the object

Type: String

tag

Select a unique tag for the object

A number with no fractional part (integer)

type

Select the appropriate type to store your object

Options: string, int8, int16, int32, uint8, uint16, uint32, boolean, ipv4-address, ipv4-address-array, hex-string

Example

set dhcp server interface LAN1 custom-option name MyOption type string tag 43 data TEXT