EasyManua.ls Logo

Dasan V5808 - Configuring DHCP Option Format

Dasan V5808
814 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
UMN:CLI User Manual
V5808
340
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 (chassis) number for receiving DHCP packets
%SLOT: slot number for receiving DHCP packets
%PORT: port number
%IN_IF_IP: input interface IP address
%VID: VLAN ID tagged on packets
%CPU-MAC: system MAC address
%ONU-ID: ONU ID
%ONU_PORT_NUM: ONUs UNI port number
%ONU_SERIAL_NUM: ONUs serial number
%ONU_DESCRIPTION: ONU description written by administrator
%ONU_PORT_DESCRIPTION: ONU port description written by administrator
If the variable value of attribute is configured with %ONU-PORT_NUM, a GPON MAC
bridge service profile should be used to one single UNI port. If there are more than two
UNI ports for one Bridge service profile, DHCP option 82 can not add/classify the ONU
UNI port number information into DHCP option field.
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.
!

Table of Contents