Last Updated : Nov 06, 2012 |
Sets the value of a DHCP option or a vendor-specific option. Use no value to clear the vendor-specific value.
Prolog information

Syntax

[no] value raw type value

Parameters

Parameter
Description
Possible Values
Default Value
raw
Non-encapsulated value
type
Type of sub-option
ascii — ASCII
hex string — hexadecimal
ip-address — IP address
word — 16 bit number
integer — 32 bit number
value
The sub-option value

User level

read-write

Context

dhcp pool vendor specific, dhcp pool option

Examples

To specify IP addresses for World Wide Web servers (DHCP option 72):
Gxxx-001(dhcp 5/option 72)# value raw ip-address 135.64.102.1, 135.64.102.2
To enable IP forwarding (DHCP option 19 specifies whether the client should configure its IP layer for packet forwarding):
Gxxx-001(dhcp 5/option 19)# value raw hex 01
To set a non-encapsulated value in ASCII format for vendor-specific option 1:
Gxxx-001(DHCP 5/vendor specific 1)# value raw asciiMCIPADD=10.10.2.140,MCPORT=1719,TFTPSRVR=10.10.5.188
To set a non-encapsulated value in Hex format for vendor-specific option 1:
Gxxx-001(DHCP 5/vendor specific 1)# value raw hex 00:00:11:22:33:44:55:66:77