[FIBER] SETUP VSOL OLT - fourslickz/notes GitHub Wiki

enable
configure terminal

! -- VLANs
vlan 1 smart
vlan 100 smart
vlan 200 smart

! -- Uplink Port
interface gigabitethernet 0/0
switchport mode trunk
switchport trunk allowed vlan 1,100,200
exit

! -- Line Profile: Internet + IPTV + Management
ont-lineprofile gpon profile-id 30 profile-name INTERNET_IPTV_LINE
tcont 1 dba-profile-id 1
gem add 1 tcont 1
gem mapping vlan 100
gem add 2 tcont 1
gem mapping vlan 200
gem add 3 tcont 1
gem mapping vlan 1
exit

! -- Service Profile: Port Mapping
ont-srvprofile gpon profile-id 30 profile-name INTERNET_IPTV_SRV
port 1 bind service 1 vlan 100
port 2 bind service 2 vlan 200
exit

! -- PON Port Auto Bind Setting
interface gpon-olt 0/1
ont autofind enable
ont autofind bind auto ont-lineprofile-id 30 ont-srvprofile-id 30
ont autofind max-onu 2
ont autofind description-format "ONT-DUAL-[SN]"
exit

! -- Save Config
write

                [Internet]
                    |
                 [Router]
                /    |    \
          VLAN 1   VLAN 100 VLAN 200
       (Management) (Internet) (IPTV)
          |           |         |
       DHCP        PPPoE      DHCP / Multicast
        ONT         ONT        ONT

VLAN	Fungsi	        Subnet yang direkomendasikan	Catatan
-----------------------------------------------------------------------------------------------------------
1	Management ONT	10.1.1.0/24	                IP static / DHCP untuk ONT
100	Internet User	PPPoE client (no IP needed)	PPPoE Client/Session Based
200	IPTV	        239.x.x.x                       Multicast / DHCP IP	Biasanya DHCP Client ke STB