How to remotely configure the ONT’s via CLI form the OLT?
This post is about the process on how to remotely configure the ONTs via CLI form the OLT. Please see more details below.
When a U2000 is not available and no ON-Site configuration is wanted, all the ONT configurations should be done from the OLT.
1. Configuring TR069WAN
1.1 Configuring TR069WAN:
MA5600T(config-if-gpon-0/<slotid>)#ontipconfig <portid> <ontid> ip-index <ipindex> dhcp vlan <vlanid> // You can configure DHCP, or you can configure staticIP MA5600T(config-gpon-lineprofile-<id>)#tr069-managementip-index <ipindex> MA5600T(config-gpon-lineprofile-<id>)#tr069-managementenable MA5600T(config-gpon-lineprofile-<id>)#commit
1.2. ONT TR069 server profile:
ont tr069-server-profile add {profile-id profile-id | profile-name profile-name } * url url [ useruser-name user-password [ auth-realm auth-realm-value ] ]
1.3. ONT bind TR069 server profile:
ont tr069-server-config { portid} { all | ontid } { profile-id profile-id | profile-nameprofile-name }
2.Configuring Internet WAN
2.1. Specify that home-gateway uses the OMCI configuration mode:
MA5600T(config)#gpon onthome-gateway config-method omci
2.2. Configure the DHCP type internet WAN:
2.2. Configure the DHCP type internet WAN MA5600T(config-if-gpon-0/<slotid>)#ontipconfig <portid> <ontid> ip-index <ipindex> dhcp vlan<vlanid> MA5600T(config-if-gpon-0/<slotid>)#ontinternet-config <portid> <ontid> ip-index <ipindex>
2.3. Configure the PPPoEtype internet WAN:
MA5600T(config-if-gpon-0/<slotid>)#ontipconfig <portid> <ontid> ip-index <ipindex> pppoeuser-account username <username> password <password> vlan<vlanid> MA5600T(config-if-gpon-0/<slotid>)#ontinternet-config <portid> <ontid> ip-index <ipindex>
3.IPTVWAN V8R16C00&C10 version is not supported now
4.Specify that WAN is a bridge or router type
4.1. Configure the WAN profile; specify whether the connection type is via bridge or router:
MA5600T(config)# ont wan-profileprofile-id <profileid> MA5600T (config-wan-profile-<profileid>)#connection-type bridge MA5600T (config-wan-profile-<profileid>)#quit
4.2. Specify the WAN port corresponding ip-index binding Wan profile
MA5600T(config-if-gpon-0/<slotid>)#ontwan-config<portid> <ontid> ip-index <ipindex> profile-id<profileid>
5.ONT is route type : WAN portconfiguration routing policy profile(could configure the WAN port and the LAN port binding. The bridgetype WAN port does not support the bound LAN port,Can only be distributed to different LANports according to VLAN
5.1. Configure the LAN port routing for the specified WAN port:
MA5600T (config)# ontpolicy-route-profile profile-id <profileid> MA5600T(config-policy-route-profile-<profileid>)#policy-route <index> port-based eth <portid> wan <wanindex> MA5600T (config-policy-route-profile-<profileid>)#quit
5.2. ONT binding policy routing profile:
MA5600T(config-if-gpon-0/<slotid>)#ontpolicy-route-config <portid> <ontid> profile-id <profileid>