Hi friend.
When the LAN port of the ONT works in Layer 3 mode, the ports are isolated and cannot communicate with each other.
When the LAN port of an ONT works in Layer 2 mode, the ports communicate with each other by default. Except for a few customized ONTs, ports are isolated and cannot communicate with each other.
I hope I can help you.