penomoran pada bagian config ini apakah harus mengikuti gemport pada profile?
interface gpon-onu_1/1/1:1
service-port 1 vport 1 user-vlan 10 vlan 10
service-port 2 vport 2 user-vlan 20 vlan 20
service-port 3 vport 3 user-vlan 30 vlan 30
!
🔍 Apakah Penomoran vport
pada Interface ONU Harus Mengikuti GEMPORT di Profile?
Jawabannya ya, biasanya vport
harus sesuai dengan GEMPORT dalam profile, karena vport
adalah representasi dari GEMPORT pada sisi OLT. Namun, nomor service-port
bisa berbeda dan tidak harus mengikuti GEMPORT.
📌 Logika Penomoran vport
, gemport
, dan service-port
Elemen | Di OLT | Di Interface ONU (gpon-onu_1/1/1:1 ) |
---|---|---|
GEMPORT | Ditentukan dalam line profile | Tidak terlihat langsung di interface ONU |
vport | Dipetakan ke GEMPORT | Harus cocok dengan GEMPORT di profile |
service-port | ID unik untuk OLT (tidak harus berurutan) | Terhubung ke vport , bisa beda dari GEMPORT |
🛠 Contoh Penomoran yang Benar
Misalkan kita punya line profile seperti ini:
pon
onu-profile gpon line LINE-PF
tcont 1 name TCONT_INET profile 1G
tcont 2 name TCONT_BRIDGE profile 1G
tcont 3 name TCONT_REMOTE profile 1G
gemport 1 name GEMPORT_INET tcont 1
gemport 2 name GEMPORT_BRIDGE tcont 2
gemport 3 name GEMPORT_REMOTE tcont 3
!
Ketika mengonfigurasi ONU, kita harus memastikan bahwa vport
cocok dengan GEMPORT di profile:
interface gpon-onu_1/1/1:1
service-port 1 vport 1 user-vlan 10 vlan 10 # vport 1 = GEMPORT 1 (INET)
service-port 2 vport 2 user-vlan 20 vlan 20 # vport 2 = GEMPORT 2 (BRIDGE)
service-port 3 vport 3 user-vlan 30 vlan 30 # vport 3 = GEMPORT 3 (REMOTE)
✅ Benar karena vport
1, 2, 3 sesuai dengan GEMPORT 1, 2, 3 dalam profile.
⚠️ service-port
1, 2, 3 bisa menggunakan ID unik, tidak harus mengikuti GEMPORT.
🚫 Contoh Penomoran yang Salah
Jika kita menukar vport
dengan nomor yang tidak sesuai dengan GEMPORT di profile, konfigurasi bisa gagal:
interface gpon-onu_1/1/1:1
service-port 1 vport 3 user-vlan 10 vlan 10 ❌ (SALAH, seharusnya vport 1)
service-port 2 vport 1 user-vlan 20 vlan 20 ❌ (SALAH, seharusnya vport 2)
service-port 3 vport 2 user-vlan 30 vlan 30 ❌ (SALAH, seharusnya vport 3)
🚨 Salah karena vport
tidak cocok dengan GEMPORT dalam profile.
🚨 Meskipun service-port
bisa berbeda, vport
tetap harus cocok dengan GEMPORT.
🎯 Kesimpulan
Elemen | Harus Urut dengan GEMPORT? | Bisa Berbeda? |
---|---|---|
GEMPORT | ✅ Harus sesuai dengan yang ada di onu-profile |
❌ Tidak bisa sembarang |
vport | ✅ Harus mengikuti GEMPORT di onu-profile |
❌ Tidak bisa sembarang |
service-port | ❌ Tidak harus sama dengan GEMPORT | ✅ Bisa pakai ID unik |
Jadi, vport harus sesuai dengan GEMPORT yang dikonfigurasi dalam profile, sementara service-port bisa memiliki ID unik yang berbeda.
Kalau ada pertanyaan lebih lanjut atau ingin coba skenario lain, kasih tahu aja! 🚀