Cisco Cisco SG300-28 28-Port Gigabit Managed Switch Technical References

Page of 1053
DHCP Server Commands
942
78-21485-01 Command Line Interface Reference Guide
53
Parameters 
code
—Specifies the DHCP option code. The supported values are defined 
in the User Guidelines.
boolean {false | true}—Specifies a boolean value. The values are coded by 
integer values of one octet: 0 = false and 1 = true.
integer 
value
—Specifies an integer value. The option size depends on the 
option code.
ascii 
string
—Specifies a network virtual terminal (NVT) ASCII character 
string. ASCII character strings that contain white spaces must be delimited 
by quotation marks. The ASCII value is truncated to the first 160 characters 
entered.
ip 
address
—Specifies an IP address.
ip-list {
ip-address1
 [
ip-address2 
...]}—Specifies up to 8 IP addresses.
hex 
string
—Specifies dotted hexadecimal data. The hexadecimal value is 
truncated to the first 320 characters entered. Each byte in hexadecimal 
character strings is two hexadecimal digits. Each byte can be separated by 
a period, colon, or white space.
hex none—Specifies the zero-length hexadecimal string.
description 
text
—User description
Command Mode
DHCP Pool Host Configuration mode
DHCP Pool Network Configuration mode
User Guidelines
The option command enables defining any option that cannot be defined by other 
special CLI commands. A new definition of an option overrides the previous 
definition of this option.
The boolean keyword may be configured for the following options: 19, 20, 27, 
29-31, 34, 36, and 39.
The integer keyword may be configured for the following options: 2, 13, 22-26, 35, 
37-38, 132-134, and 211. The switch checks the value range and builds the value 
field of the size in accordance with the option definition.
The ascii keyword may be configured for the following options: 14, 17-18, 40, 64, 
130, 209, and 210.