Knowledge Base

FiberHome AN5000 series OLT preconfiguration

FiberHome AN5000 series OLT initial steps


In this post you will find step by step instructions for the initial configuration and the IP connectivity of the FiberHome AN5516-01, AN5516-04, AN5516-04B, AN5516-06, AN5116-02, AN5116-06 and AN5116-06B OLTs. After you complete these steps, you can connect your OLT to SmartOLT.

1Connect to the OLT

  • Serial / Console: a console cable to the CONSOLE port. Use it for a factory-new OLT, or when the OLT has no reachable management IP address.
  • Ethernet / Telnet: only for an OLT that is already configured: it has a reachable IP address and an existing account.
Serial / Console connection
From a PC (PuTTY)
  1. Connect a console cable with the correct pinout to the port labeled CONSOLE on the core switch card. On the AN5516-04, the port is labeled CONSOLE/ESC.
  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: 9600
    • 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 the credentials supplied by your vendor. The factory defaults are user GEPON and password GEPON.
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=9600 data-bits=8 parity=none stop-bits=1 flow-control=none
    /system serial-terminal serial0
  2. Press Ctrl+A, release the keys, then press R to detect the baud rate automatically. 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

Ethernet connection (Telnet)

Use this only when the OLT is already configured. If the OLT has no reachable management IP address, use the serial console.

Enter the IP address that is currently configured on the OLT.
  1. Use the network path the OLT is already reachable on: the out-of-band management port if the IP address is configured there, or your existing in-band network. Do not change the cabling of an OLT that is already reachable.
  2. If you connect your PC directly to the OLT, configure on it a free IP address from the same subnet as the OLT IP address.
  3. Verify connectivity. You should receive replies.

    ping [OLT IP address]

  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 [OLT IP address]

  5. Log in with the existing account of the OLT.
Enter privileged mode

If the prompt ends with ">" instead of "#", enter enable. The default enable password is GEPON, unless it was changed. The prompt changes to Admin#.

Login: GEPON
Password: *****

User> enable
Password: *****
Admin#
Use the command directories

The AN5000 has no configuration mode. You run each command at the Admin# prompt or in a command directory. To open a directory, enter cd and the directory name. The prompt then shows the directory, for example Admin\service#. To go back to Admin#, enter cd ... The next steps show each cd command that you need.

Admin# cd service
Admin\service# cd ..
Admin#

2Display and authorize the detected OLT cards

A factory-new OLT detects its cards but does not authorize them. Run showcard to list the detected cards. The output below is an example.

Admin# showcard
--------------------AN5516-04B-----------------------
CARD   EXIST   CONFIG   DETECT    DETAIL
  1     YES      ---     GCOB    NO_MATCH
  2     YES      ---     EC8B    NO_MATCH
  9     YES     HSUC     HSUC     MATCH/M
 10     YES     HSUC     HSUC     MATCH/S
 21     YES      ---      FAN    NO_MATCH
 24     YES      ---    POWER    NO_MATCH
 25     ---      ---      ---         ---
------------------------------------------

Choose one authorization method: authorize all detected cards, or authorize one card.

Authorize all the detected cards with one command:

Admin# set card_all_auth
Admin#

To authorize one card only, enter the slot number from the CARD column, then the card type from the DETECT column in lowercase letters. For the example above:

Admin# set card_auth slot 1 type gcob
Success to set 1 slot as type gcob
Admin# set card_auth slot 2 type ec8b
Success to set 2 slot as type ec8b

Display the cards again. Now your OLT cards should be in MATCH status. MATCH/M is the active core switch card and MATCH/S is the standby core switch card.

Admin# showcard
--------------------AN5516-04B-----------------------
CARD   EXIST   CONFIG   DETECT    DETAIL
  1     YES     GCOB     GCOB       MATCH
  2     YES     EC8B     EC8B       MATCH
  9     YES     HSUC     HSUC     MATCH/M
 10     YES     HSUC     HSUC     MATCH/S
 21     YES      FAN      FAN       MATCH
 24     YES    POWER    POWER       MATCH
 25     ---      ---      ---         ---
------------------------------------------

3Configure a management IP address on the management port or VLAN interface

Use the serial console if changing the IP address or gateway would interrupt your management connection.

Select the interface of the management IP

Enter the router IP address in the management subnet. It must differ from the OLT IP address. For the in-band VLAN interface, you can leave it empty.

Connect the OLT and the router with a LAN cable on the dedicated (out-of-band) management port. It is labeled FE on the core switch card (AN5116-06B, AN5516-06), ETH on the switch uplink card (AN5516-04), or EMS when it is on the subrack. The management port is an isolated port for management purposes only and cannot carry customer traffic. The OLT software calls its IP address debugip.

Admin# set debugip 10.200.0.2 mask 255.255.255.0
Admin# show debugip
debugip 10.200.0.2
mask 255.255.255.0
Admin#

Changing the management IP may disconnect Telnet. Reconnect to the new IP address, then run enable again.


Add the default gateway:

Use the router address on the management subnet as the next hop.

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

Admin# cd protocol
Admin\protocol# set static-route destination-ip 0.0.0.0 mask 0.0.0.0 nexthop 10.200.0.1
Admin\protocol# cd ..
Admin#

If the OLT rejects this command in the protocol directory, add the default gateway in the service directory:

Admin# cd service
Admin\service# add static route destination 0.0.0.0 gateway 10.200.0.1 mask 0.0.0.0
Admin\service# cd ..
Admin#

The OLT can also reject the default route in the service directory, with an error like the one below:

ERROR ulDestIp = 00 ulGateWay = c0a80102 ulIpMask = 00
Command executes failed.

If the OLT rejects the default route in both directories, add one static route for each remote network that must reach the OLT. If the OLT accepted one of the two commands above, skip this part.

Admin# cd service
Admin\service# add static route destination [remote network] gateway 10.200.0.1 mask [netmask of the remote network]
Admin\service# cd ..
Admin#

4Create a dedicated username/password

SmartOLT uses this user and password to connect to your OLT. The first command creates the user with its login password. The second command gives the user the admin role and sets its enable password. Both commands use the same password.

The password has 3 to 30 characters, without spaces and without "?". Letters and digits are the safest choice.

Admin# cd aaa
Admin\aaa# user add smartoltusr login-password (enter a strong password)
Successfully added user smartoltusr as a NORMAL_USER ,
To change user role use "user role" command .
Admin\aaa# user role smartoltusr ADMIN enable-password (enter a strong password)
Successfully change user smartoltusr to ADMIN mode.
Admin\aaa# user list
Admin\aaa# cd ..
Admin#

In the output of user list, the role of smartoltusr must be ADMIN_USER.


5Save the configuration

Save the configuration, so the OLT keeps it after a restart. Run save at the Admin# prompt.

Admin# save
Trying save configuration to flash, please wait ......
save config success
Admin#

Setup complete

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

Open your SmartOLT site and go to Settings → OLTs → Add OLT. Select Fiberhome and your AN5000 model, for example AN5516-04. Enter the management IP, protocol, ports and credentials. Click Save to add and initialize the OLT, or Test connection to add it and check CLI and SNMP access.

Allow SmartOLT to reach the OLT on TCP 23 for Telnet and UDP 161 for SNMP. This guide uses Telnet. With port forwarding, enter the external ports in Add OLT. See Add an OLT in the SmartOLT manual.

SmartOLT uses SNMPv2c with read-only and read-write communities. Keep the generated values in Add OLT. Test connection configures these communities through the CLI.