Motorola Netopia® Router CLI Commands 2-77

DHCP Gen-Options, Option Groups, and Option Filtersets Commands

DHCP Gen-Options commands

DHCP Gen-Options commands

ip dhcp gen-option tag option 1..255 [ data-type { ascii hex dotted-decimal } ] [ data data ] ip dhcp gen-option tag data-type { ascii hex dotted-decimal }

ip dhcp gen-optiontag data { data_of_the_correct_format_given_data-type }

ip dhcp gen-option tag priority { low high } show ip dhcp gen-option tag priority { low high } no ip dhcp gen-option tag

ip dhcp gen-option tag option 1..255 [ data-type { ascii hex dotted-decimal } ] [ data data ]

This command allows you to specify a DHCP generic option set specified by tag 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, although, in practical terms, the CLI’s 80-character limit will restrict it to fewer. An option specified by a gen-option will be served only if the client requests it.

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

 

 

 

 

 

Page 89
Image 89
Netopia CLI 874 manual Dhcp Gen-Options commands