The client use DHCP Relay and he is requiring a CIRCUIT- ID for DHCP Option 82. Syntax of CID for DHCP Option 82 is the following :
Circuit ID= <Equipment_ID>#n1#n2#n3:n4.n5.n6
<Equipment_ID>= xxIP_hex where xx=03 and IP is the IP address of the OLT
n1 - constant value „01”
n2 - id of slot GPON board, this numer should consist of two digits: eg. „03”
n3 - id of port in GPON board. This numer should consist of two digits: eg. „03”. Value must start from 1, if ports are numerated start 0, n3=port_id+1
n4 - ONT id. This numer should consist of three digits: eg. „003”. Value must start from 1, if ports are numerated start 0, n4=port_id+1
n5 - constant value „01”
n6 - id of UNI port of ONT.
For configuring DHCP in L2 IPv4, you have to follow the next steps (example):
1. Configure a service vlan :
# vlan 100 smart
Add the upstream port to vlan
# port vlan 100 0/19 0
Add the service- port to vlan
# service-port vlan 100 eth 0/16/0 multi-service user-vlan untagged tag-transform default
4. Enable dhcp-option82:
5. Apply raio-mode and raio-format:
# raio-mode user-defined dhcp-option82
# raio-format dhcp-option82 cid xpon anid anip
"hex" "#" "01" "#" slot02 "#"
port02 ":" ontid+1 "." "01" "."
For DHCP L2 configuration, no other commands to configure on OLT.
You have also to make some configuration on DHCP server, like rental period, update cycle and address allocation pool. For this, please consult the DHCP server manual.