Template Management
Kelola template script provisioning untuk berbagai tipe ONU
Cara Membuat Template
- Klik tombol "Buat Template Baru"
- Pilih Tipe ONU (ZTE F601, Fiberhome, dll)
- Pilih Mode (Bridge atau PPPoE)
- Opsional: Isi SN Prefix untuk auto-detect (misal: ZTEG untuk ZTE)
- Paste script template Anda dengan placeholder:
{{SLOT}},{{PON}},{{SERIAL}},{{VLAN}},{{PPPOE_USER}},{{PPPOE_PASS}}
| Nama | Tipe ONU | Mode | SN Prefix | Status | Aksi |
|---|---|---|---|---|---|
| ZTE | ZTE-F609 | PPPOE | - |
|
Contoh Template Script
ZTE F601 - PPPoE
configure terminal
interface gpon-olt_{{SLOT}}
onu {{PON}} type ZTE-F601 sn {{SERIAL}}
exit
interface gpon-onu_{{SLOT}}:{{PON}}
name {{NAME}}
description {{DESCRIPTION}}
tcont 1 profile 1G
gemport 1 tcont 1
exit
pon-onu-mng gpon-onu_{{SLOT}}:{{PON}}
service 1 gemport 1 vlan {{VLAN}}
wan-ip 1 mode pppoe username {{PPPOE_USER}} password {{PPPOE_PASS}} vlan-profile {{VLAN}}
exit
end
write
Fiberhome - PPPoE
configure terminal
interface gpon {{SLOT}}
onu {{PON}} type HG6243C sn {{SERIAL}}
exit
onu profile gpon {{SLOT}}:{{PON}}
name {{NAME}}
tcont 1 dba-profile-id 1
gemport 1 tcont 1
wan 1 type pppoe username {{PPPOE_USER}} password {{PPPOE_PASS}} vlan {{VLAN}}
exit
end
save
ZTE F601 - Bridge
configure terminal
interface gpon-olt_{{SLOT}}
onu {{PON}} type ZTE-F601 sn {{SERIAL}}
exit
interface gpon-onu_{{SLOT}}:{{PON}}
name {{NAME}}
tcont 1 profile 1G
gemport 1 tcont 1
switchport mode hybrid vport 1
switchport vlan {{VLAN}} tag vport 1
exit
pon-onu-mng gpon-onu_{{SLOT}}:{{PON}}
service 1 gemport 1 vlan {{VLAN}}
vlan port eth_0/1 mode tag vlan {{VLAN}}
exit
end
write