A;
For configuring DHCP in L2 IPv4, you have to follow the next steps (example):
1. Configure a service vlan :
# vlan 100 smart
2. Add the upstream port to vlan
# port vlan 100 0/19 0
3. Add the service- port to vlan
3. 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:
# dhcp option82 enable
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" "."
ontportid
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.
