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
4. Enable dhcp-option82:
# raio-mode user-defined dhcp-option82
# raio-format dhcp-option82 cid xpon anid anip
"hex" "#" "01" "#" slot02 "#"
port02 ":" ontid+1 "." "01" "."