Dear
by default ,OLT configure ONT wan interface through XML(through TR069 server ,U2000 or NCE to configure it ),if requirement from OLT to configure the ONT wan interface ,need change the configure method to OMCI , to set these parameters need below steps , it may difficult for customer , and do not ensure third party ONT configure success as this method .do not suggest configure ONT wan from OLT , if can login the ONT webpage to configure it or from TR069 server /U2000/NCE to configure it will be more easy .
through OMCI configure the ONT WAN interface as route mode and Internet type reference below :
1. change the ont configuration mode to OMCI:
MA5800-X17(config)#gpon ont home-gateway config-method omci
2. create WAN interface ,for example create WAN interface index id as 3.
MA5800-X17(config-if-gpon-0/4)#ont ipconfig 1 0 ip-index 3 static ip-address 192.168.42.9 mask 255.255.255.0 gateway 192.168.42.250 pri-dns 8.8.8.8 slave-dns 8.8.4.4 vlan 110 priority 0
3. set the wan interface to Internet type :
MA5800-X17(config-if-gpon-0/4)#ont internet-config 1 0 ip-index 3
4. create route policy ,bind eth port and SSID to wan interface ip-index 3
MA5800-X17(config)#ont policy-route-profile profile-id 0
MA5800-X17(config-policy-route-profile-0)#policy-route 0 port-based eth 1 wlan 1 wan 3
5. bind the route policy to the ONT :
MA5800-X17(config-if-gpon-0/4)#ont policy-route-config 1 0 profile-id 0
6. set the LAN port to L3 mode , by default it is L2 interface cannot bind to WAN interface :
MA5800-X17(config-if-gpon-0/4)#ont port route 1 0 eth 1 enable
7. create WAN profile ,set WAN type as route and enable NAT ;
MA5800-X17(config)#ont wan-profile profile-id 0
MA5800-X17(config-wan-profile-0)#connection-type route
MA5800-X17(config-wan-profile-0)#nat enable
8. bind the ONT to WAN profile :
MA5800-X17(config-if-gpon-0/4)#ont wan-config 1 0 ip-index 3 profile-id 0