Dhcp set valueoption, Mgmt class, Input format – Efficient Networks 107-0001-000 User Manual

Page 329: Parameters, Example, Response, Dhcp set valueoption -23

Advertising
background image

Efficient Networks

®

Router family

Command Line Interface Guide

Chapter 8: DHCP Commands

Efficient Networks

®

Page 8-23

dhcp set valueoption

Sets values for global options, options specific to a subnetwork, or options specific to
a client lease. For more information, see “

Setting Option Values” on page 4-8.

Mgmt Class

Network (R/W)

Input Format

dhcp set valueoption [<ipaddr>|<net>] <code> <value>....

Parameters

Example

This example command does not specify an client or subnetwork address, and thus
sets a global value for the domainnameserver option:

Response

Command prompt.

<ipaddr>

a

a

Dotted-decimal notation.

Specify the client IP address if the option value applies only to the client
lease.

<Net>

a

Specify the subnetwork IP address if the option value applies only to
the subnetwork lease.

<code>

b

b

number between 1 and 61 or a keyword. Use the command

dhcp list definedoptions

to list the codes

and keywords,

Code specifying the option to be set.

<value>

Value to be assigned to the specified option. It could be a byte, word,
signed long, unsigned long, binary, IP address, or string depending on
the option.

-> dhcp set valueoption domainnameserver 192.168.254.2 192.168.254.3

Advertising