UMN:CLI
User Manual
V5824G
290
8.5.5.2
Configuring DHCP Option Format
To configure a DHCP option format, use the following command.
Command
Mode
Description
attr
<1-32>
type
<0-255>
length
{<1-64> |
variable
}
value
{
hex
|
index
|
ip
|
string
}
VALUE
DHCP
Option
Sets the type, length, and value of an attribute for a
DHCP option.
attr: They can be made in a DHCP option and are applied
in order of attribute value (1-32).
type: The type of a value
length: The length of a value. It could be a fixed length by
user input or a variable length according to the actual
value length.
1-64: 1 to 64 bytes fixed length (size) of the value field
value: The actual value of an option
attr
<1-32>
type
<0-255>
length-
hidden
{<1-64> |
variable
}
value
{
hex
|
index
|
ip
|
string
}
VALUE
attr
<1-32>
length variable value
{
hex
|
index
|
ip
|
string
}
VALUE
Sets the length and value of an attribute for a DHCP
option.
attr
<1-32>
length
<1-64>
value
{
hex
|
index
|
ip
|
string
}
VALUE
attr
<1-32>
length-hidden
variable value
{
hex
|
index
|
ip
|
string
}
VALUE
Sets the value of an attribute for a DHCP option..
attr
<1-32>
length-hidden
<1-64>
value
{
hex
|
index
|
ip
|
string
}
VALUE
no attr
<1-32>
DHCP
Option
Deletes the given attribute.
The packets can be mapped to the option format string that defined by variable values
with special character (%).
%FRAME: frame number for receiving DHCP packets
%SLOT: slot number for receiving DHCP packets
%PORT: port number
%VID: VLAN ID tagged on packets
%CPU-MAC: system MAC address
The DHCP option format has the following restrictions;
- The length of attribute should be within 64 bytes.
- A hidden-length variable of attribute should be set once in a single attribute.
- The total length of an option format cannot exceed 254 bytes.
8.5.5.3
Deleting DHCP Option Format
To delete a specified DHCP option format, use the following command.
Command
Mode
Description
no ip dhcp option format
NAME
Global
Deletes the given DHCP option format.
!
i