DHCP Generic Options

You can specify DHCP Generic Options which allow you to configure the content to be served for particular option numbers.

set dhcp gen-option name name

Specifies a DHCP generic option set named name of one to 15 characters. You can specify up to 20 gen-options. Each can contain up to 100 bytes of data, up to a maximum of 912 bytes of options data total. An option will be served only if the client requests it.

set dhcp gen-option option [ 1 – 255 ]

Specifies the DHCP option by number, 1 – 255. The following table shows the formats and sizes for known options, and whether or not you can configure a gen-optionof that type.

Option

Data Format

Data Size

Can

(bytes)

Configure

 

 

 

 

 

 

0

Empty

0

No

 

 

 

 

1

IP mask

4

Yes

 

 

 

 

2

Unsigned 4 byte integer

4

Yes

 

 

 

 

3 - 11

IP address list

Multiples of 4

Yes

 

 

 

 

12

String (up to 100 characters)

N

Yes

 

 

 

 

13

Unsigned 2 byte integer

2

Yes

 

 

 

 

14 - 15

String (up to 100 characters)

N

Yes

 

 

 

 

16

Unsigned 4 byte integer

4

Yes

 

 

 

 

17

String (up to 100 characters)

N

Yes

 

 

 

 

18

String (up to 100 characters)

N

Yes

 

 

 

 

19 - 20

Flag

1

Yes

 

 

 

 

21

IP address & mask list

Multiples of 8

Yes

 

 

 

 

22

Unsigned 2 byte integer

2

Yes

 

 

 

 

23

Unsigned 1 byte integer

1

Yes

 

 

 

 

24

Unsigned 4 byte integer

4

Yes

 

 

 

 

25

Unsigned 2 byte integer list

Multiples of 2

Yes

 

 

 

 

26

Unsigned 2 byte integer

2

Yes

 

 

 

 

27

Flag

1

Yes

 

 

 

 

200

Page 200
Image 200
Motorola 7.7.4 manual Set dhcp gen-option name name, Set dhcp gen-option option 1, 200