Hello,
Step 1: Enable the telnet function of the ONT.
Step 2: Use the command to remotely log in to the Web page of the ONT
telnet ont frame/slot/port ontid [ ont-vlan | ont-ip ]
Step 3: Configure or modify Wan port
In the navigation tree on the left, choose WAN > WAN Configuration. In the pane on the right, click New. In the dialog box that is displayed, set Mode to Route WAN, as shown in the following Figure.

Then click Apply!
Good luck,Thanks