Knowledge Base

Tenda OLT preconfiguration

Tenda OLT initial steps


In this post you'll find step by step instructions for the initial configuration and the IP connectivity of the Tenda TES70 series GPON OLTs: TES7001, TES7002, TES7004, TES7008 and TES7016. After completing these steps, you'll be ready to connect your OLT to SmartOLT.

1Connect to the OLT

  • Ethernet / Telnet: a network cable to a factory-new OLT, or the network path of an OLT you can already reach.
  • Serial / Console: a console cable to the Console port of the OLT, without any network setup.
Ethernet connection (Telnet)
The factory IP address of a Tenda OLT is 192.168.0.254. If the OLT is already configured, enter its current IP address.
  1. On a factory-new OLT, connect an Ethernet cable to:
    • TES7001, TES7002: any GE port. These models have no separate management port.
    • TES7004, TES7008, TES7016: the NMS port. This is the out-of-band management port and cannot carry customer traffic.
    If the OLT is already reachable over your network, keep the existing cabling.
  2. When you connect directly to the factory IP, configure 192.168.0.1/255.255.255.0 on your PC, or on the MikroTik port connected to the OLT.
  3. Verify connectivity. You should receive replies.

    ping 192.168.0.254

  4. Connect with PuTTY or from a terminal, using Telnet. Telnet sends everything, including the password, as plain text. Use it only on a direct cable or a trusted management network. In PuTTY, select Telnet and enter the OLT IP address.

    telnet 192.168.0.254

  5. Log in. On a factory-new OLT the username is admin and the password is admin. On an OLT that is already configured, use its existing account.
    User Access Verification
    
    Username:admin
    Password:
    admin>
Serial / Console connection
From a PC (PuTTY)
  1. Connect a console cable to the RJ45 port labeled Console. The TES7004, TES7008 and TES7016 can also have a USB-C console port.
  2. If your PC has no serial port, use a USB-to-serial adapter.
  3. Find the COM port of the adapter in Windows Device Manager (Windows+X), under Ports (COM & LPT).
  4. In PuTTY, select Serial, enter the COM port and the speed. Set the other values under Connection > Serial:
    • Speed: 115200
    • Data bits: 8
    • Parity: None
    • Stop bits: 1
    • Flow control: None
  5. Open the session and press Enter. When the OLT asks for a login, use admin / admin on a factory-new OLT, or the existing account on a configured OLT.
Through a MikroTik

Use the MikroTik serial console port with a compatible cable to the OLT console port. The cable must match the pinout of both serial ports; an RJ45 connector alone does not establish compatibility. Open a MikroTik Terminal through WinBox or SSH over the network.

  1. Free the serial port, set the OLT console settings, then open the serial session:
    /system console disable [find where port=serial0]
    /port set serial0 baud-rate=115200 data-bits=8 parity=none stop-bits=1 flow-control=none
    /system serial-terminal serial0
  2. Press Enter to reach the OLT console.

To close the serial session, press Ctrl+A, release the keys, then press Q.

MikroTik serial terminal documentation

Enter privileged mode

If the prompt ends with ">", enter enable. The prompt changes to admin#.

admin> enable
admin#

2Check the firmware and select the OLT model

admin# show version
  Software Version: V3.0.1.6

SmartOLT needs firmware V3. On the TES7001 and TES7002, use V3.0.1.1 or newer. If your OLT has older firmware, upgrade it from its web interface first.

If the OLT runs firmware V1, the upgrade does not keep its configuration and you must configure the OLT again.

Select your OLT model


3Configure a new management IP address

Select the interface of the management IP

From the factory, all the uplink ports carry the management VLAN 4088 untagged. Connect any of them to your router.

admin# configure terminal
admin(config)# interface vlan 4088
admin(config-vlan4088)# manage ip address 10.200.0.2 255.255.255.0
admin(config-vlan4088)# end
admin#

These commands create the management VLAN, tag it on the uplink port and set the IP address. VLAN 4088 keeps its own IP address, so you can still connect to it. Use a different subnet for the new IP address.

admin# configure terminal
admin(config)# vlan database
admin(config-vlan-database)# vlan 300
admin(config-vlan-database)# exit
admin(config)# interface gigabitethernet ge2
admin(config-ge2)# switchport trunk allowed vlan 300
admin(config-ge2)# exit
admin(config)# interface vlan 300
admin(config-vlan300)# ip address 10.200.0.2 255.255.255.0
admin(config-vlan300)# end
admin#

Remember, the VLAN must be tagged on the connected router or switch port too.

Connect the NMS port to your router. This port is for management purposes only and cannot carry customer traffic.

admin# configure terminal
admin(config)# interface mgmt
ip address 10.200.0.2 255.255.255.0
end
admin#

These commands create the management VLAN, tag it on the uplink port and set the IP address. We do not recommend in-band management on an OLT that has an NMS port. If a loop on an ONU goes undetected and the upstream device shuts down the uplink port, you lose the connection to the OLT as well.

admin# configure terminal
admin(config)# vlan database
vlan 300
exit
admin(config)# interface gigabitethernet ge1
switchport trunk allowed vlan 300
exit
admin(config)# interface vlan 300
ip address 10.200.0.2 255.255.255.0
end
admin#

Remember, the VLAN must be tagged on the connected router or switch port too.

If you connected over Ethernet using the old IP address, reconnect on the new IP address 10.200.0.2 and enter enable again.

Check which default route the OLT has now:

admin# show ip route
admin#

The line that starts with 0.0.0.0 is the current default route. The next command replaces it with your gateway.

Set the default gateway and save the configuration:

Make sure the default gateway IP address 10.200.0.1 is already configured on your router.

admin# configure terminal
admin(config)# manage ip-gateway static 10.200.0.1
admin(config)# end
admin# write
  Generating configuration file...
  Done
admin#

Check again. The 0.0.0.0 line must show your gateway:

admin# show ip route
Destination     Gateway         Genmask         Flags Metric Ref    Use Interface
0.0.0.0         10.200.0.1      0.0.0.0         UG    0      0        0 vlanif4088
admin#

Check which default route the OLT has now:

admin# show ip route database
admin#

The line with 0.0.0.0/0 is the current default route. If it shows another gateway, delete it:

admin# configure terminal
admin(config)# no ip route 0.0.0.0/0 [old gateway]
admin(config)# end
admin#
Add the default gateway and save the configuration:

Make sure the default gateway IP address 10.200.0.1 is already configured on your router.

admin# configure terminal
admin(config)# ip route 0.0.0.0/0 10.200.0.1
admin(config)# end
admin# write
admin#

Check again. The 0.0.0.0/0 line must show your gateway:

admin# show ip route database
S    *> 0.0.0.0/0 [1/0] via 10.200.0.1
admin#

Ping the gateway from the OLT to confirm the route works. You should receive replies.

admin# ping 10.200.0.1
admin#

4Set the username/password for SmartOLT

This user/pass will be used by SmartOLT to connect to your OLT. You can use the admin user of the OLT. First change its factory password:

admin# configure terminal
admin(config)# username admin password (insert a strong password here)
admin(config)# end
admin# write
admin#

If you want a dedicated user for SmartOLT, add it as follows. The type operational gives it the same provisioning rights as the admin user.

The password has 8 to 32 characters, with at least two of these: letters, digits, symbols. Do not use spaces or "?".

Enter a valid password above, or click Generate, to generate the commands.


Setup complete

At this stage, your OLT is ready to be interconnected with SmartOLT.

Open your SmartOLT site, go to Settings → OLTs → Add OLT, select Tenda and Telnet, 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):

admin# configure terminal
admin(config)# snmp-server
admin(config)# snmp-server community [READ COMMUNITY] view Default ro
admin(config)# snmp-server community [WRITE COMMUNITY] view Default rw
admin(config)# save period 1
admin(config)# clock timezone utc [OFFSET]
admin(config)# time set [YEAR] [MONTH] [DAY] [HH:MM:SS]