
This guide explains how to configure an ECOM OLT and MikroTik router for FTTH service with VLANs 100-104. Each VLAN serves a specific purpose and is mapped to particular PON ports or management interface.
Step 1: VLAN Creation (100-104) on ECOM OLT
VLANs description:
- VLAN 100: MGMT VLAN with management IP
- VLAN 101: Access for PON-1
- VLAN 102: Access for PON-2
- VLAN 103: Access for PON-3
- VLAN 104: Access for PON-4
CLI commands to create VLANs:
configure terminal E04EP-4S+(config)# vlan 100-104 Create vlan successfully: 100-104
Step 2: ECOM OLT Access & Management IP Setup
Connect to your ECOM OLT management port with default IP and credentials:
ssh admin@192.168.1.1
Change management IP to avoid conflict:
configure terminal interface vlanif 100 ip address 10.10.10.2 255.255.255.252 exit ip route 0.0.0.0/0 10.10.10.1 save
Step 3: Port Configuration on ECOM OLT
Assign VLANs as Access or Trunk on ports:
Uplink port (Trunk mode) — carry all VLANs 100 to 104:
interface gigabitEthernet 0/0 vlan mode 1 trunk vlan trunk 1 100-104 exitPON ports (Access mode) — each PON port assigned to a single VLAN:
PON-1 interface epon 0/1 vlan mode 1 access vlan access 1 101 exit
PON-2 vlan mode 2 access vlan access 2 102 exit
PON-3 vlan mode 3 access vlan access 3 103 exit PON-4 vlan mode 4 access vlan access 4 104 exit
Step 4: Line and Service Profiles (Optional):
Create Line Profile with VLAN tagging:
configure terminal line-profile 1 vlan 100-104 qos enable exitCreate Service Profile for bandwidth (Optional):
service-profile 1 bandwidth 10m 2m exit
Step 5: Register ONU Devices (Optional)
Add ONU by serial and bind with profiles:
pon-onu 0/0 add serial SERIAL_NUMBER line-profile 1 service-profile 1 exit
Step 6: MikroTik VLAN and PPPoE Configuration
Create VLAN interfaces 100-104 on MikroTik, assign MGMT IP to VLAN 100:
/interface vlan add name=vlan100 vlan-id=100 interface=ether1 add name=vlan101 vlan-id=101 interface=ether1 add name=vlan102 vlan-id=102 interface=ether1 add name=vlan103 vlan-id=103 interface=ether1 add name=vlan104 vlan-id=104 interface=ether1
MGMT Create For ECOM OLT: /ip address add address=10.10.10.1/30 interface=vlan100 comment="Management VLAN"
PooL Create: /ip pool add name=pppoe_pool ranges=10.10.20.100-10.10.20.200
PPPoE Profile Create: /ppp profile add name=pppoe_profile local-address=10.10.20.1 remote-address=pppoe_pool
PPPoE Secret Create: /ppp secret add name=user1 password=pass1 profile=pppoe_profile
PPPoE Server Create: /interface pppoe-server server add interface=vlan101 service-name=pppoe authentication=pap,chap max-mtu=1480 max-mru=1480 one-session=yes /interface pppoe-server server add interface=vlan102 service-name=pppoe authentication=pap,chap max-mtu=1480 max-mru=1480 one-session=yes /interface pppoe-server server add interface=vlan103 service-name=pppoe authentication=pap,chap max-mtu=1480 max-mru=1480 one-session=yes /interface pppoe-server server add interface=vlan104 service-name=pppoe authentication=pap,chap max-mtu=1480 max-mru=1480 one-session=yes
Step 7: Testing and Verification
- Connect ONU devices to respective PON ports.
- Configure clients to dial PPPoE on VLAN 101-104.
- Verify connectivity and bandwidth.
- Check MikroTik logs for PPPoE authentication:
/log print
See also my article:
How do I Update my MikroTik Router Firmware
CCR 2116-12G-4S+Full Review | Mikrotik Router
MikroTik Introduction | What is Mikrotik Router
Conclusion
By following this step-by-step guide, you can easily configure your ECOM OLT and MikroTik router using VLANs 100–104 for an FTTH network. Each PON port will operate under a separate VLAN, and all VLANs will pass through the uplink trunk port. The MikroTik PPPoE server will assign IP addresses to clients.