In this post you'll find step by step instructions for initial OLT configuration and for setting up the IP connectivity of any HUAWEI OLT. After completing these steps, you'll be ready to connect your OLT to SmartOLT.
1Connect with telnet using the factory default IP address
The factory IP address of any Huawei OLT is 10.11.104.2. The default username is root and the password is admin. For R017 and newer firmware the root password is admin123
Connect an ethernet cable to the dedicated (out-of-band) ETH management port of the OLT. This management port is typically labeled ETH and in the OLT software is reffered to as meth0.
In case you want to use a serial cable to connect to the serial console port instead of telnet, the settings are: 9600-8N1.
The Mgmt ETH port is an isolated port, designed for management purposes only. This port cannot be used to transport the normal traffic of the customers.
In case you want to use a serial cable to connect to the serial console port instead of telnet, the settings are: 9600-8N1.
Configure the IP address 10.11.104.1/255.255.255.0 on your PC or on the ethernet port of the Mikrotik where the OLTs' management port is connected. Verify connectivity by pinging 10.11.104.2, you should receive replies. Then open a telnet connection to the OLT.
telnet 10.11.104.2
Trying 10.11.104.2...
Connected to 10.11.104.2.
>>User name:root
>>User password:
MA5608T>
MA5608T> enable
MA5608T#
2Display and confirm the detected OLT boards
MA5608T>MA5608T> enable
MA5608T# config
MA5608T(config)# display board 0
A list with the OLT boards will be displayed.
Confirm the boards that have the Auto_find status:
MA5608T(config)# board confirm 0/0
MA5608T(config)# board confirm 0/1
MA5608T(config)# board confirm 0/2
...
MA5608T(config)# display board 0
Now your OLT boards should be in Normal or Active_normal status.
3Configure a new management IP address on the meth0 or VLAN interface
MA5608T> enable
MA5608T# config
MA5608T(config)# interface meth0
MA5608T(config)# ip address 10.200.0.2 255.255.255.0
MA5608T# config
MA5608T(config)# interface meth0
MA5608T(config)# ip address 10.200.0.2 255.255.255.0
If you connected over the old IP address, reconnect on the new IP address 10.200.0.2.
Add the default gateway and save configuration:
Make sure the default gateway IP address 10.200.0.1 is already configured on your router.
MA5608T> enableMA5608T# config
MA5608T(config)# undo ip route-static 0.0.0.0 0.0.0.0
MA5608T(config)# ip route-static 0.0.0.0 0.0.0.0 10.200.0.1
MA5608T(config)# save
Press Enter again to confirm the save action of both data and configuration.
4Create a dedicated username/password
This user/pass will be used by SmartOLT to connect to your OLT.
MA5608T> enableMA5608T# config
MA5608T(config)# terminal user name
User Name(length<6,15>): smartoltusr
User Password(length<6,15>): (insert a strong password here)
Confirm Password(length<6,15>): (confirm the password)
User profile name(<=15 chars)[root]: (press ENTER)
User's Level:
1. Common User 2. Operator 3. Administrator: 3
Permitted Reenter Number(0--20): 20
User's Appended Info(<=30 chars): (press ENTER or a comment like SmartOltUser)
Adding user successfully
Repeat this operation? (y/n)[n]: n
For safety, change the root password:
MA5608T(config)# terminal user password
User Name(<=15 chars): root
New Password(length<6,15>): (insert a strong password here)
Confirm Password(length<6,15>): (confirm the password)
Information takes effect
Repeat this operation? (y/n)[n]: n
5Enable telnet and SNMP
In some cases, depending on the OLT firmware version, these extra commands are needed:
MA5608T# configMA5608T(config)# sysman service telnet enable
MA5608T(config)# sysman service snmp enable
Finally, make sure no firewall is enabled for the services:
MA5608T(config)# sysman firewall telnet disable
MA5608T(config)# sysman firewall snmp disable
Some Huawei versions (R019 and later) require that the telnet/snmp is bind to all the interfaces:
MA5608T(config)# sysman server source telnet any-interface
MA5608T(config)# sysman server source snmp any-interface
Setup complete
At this stage, your OLT is ready to be interconnected with SmartOLT.
Open your SmartOLT site, go to Settings → OLTs → Add OLT, fill in the fields displayed, click Test connection, and then Save.
# Other general settings (If you use SmartOLT, these are configured automatically, no need to configure them manually):
MA5608T>
MA5608T> enable
MA5608T# config
MA5608T(config)# autosave interval 1442
MA5608T(config)# autosave type all
MA5608T(config)# autosave interval configuration 480
MA5608T(config)# autosave interval on
MA5608T(config)# ntp-service unicast-server 216.239.35.4 version 4
MA5608T(config)# ntp-service unicast-server 162.159.200.123 version 4