ZTE - Script de provisionamento 

Page / - last modified by Jean Franco on 2024/06/09 12:47 

Script de provisionamento 
last modified by Jean Franco
on 2024/06/09 12:47

Table of Contents

Script de provisionamento:
interface gpon-olt_#pon_id#
onu #onu_numero# type ZTE-F660 sn #onu_mac#
onu #onu_numero# profile line padrao01
exit
interface gpon-onu_#pon_id#:#onu_numero#
service-port 1 vport 1 user-vlan #vlan# vlan #vlan#
exit
pon-onu-mng gpon-onu_#pon_id#:#onu_numero#
service INTERNET gemport 1 vlan #vlan#
wan-ip 1 mode pppoe username #pppoe_login# password #pppoe_senha# vlan-profile INT-#vlan# host 1
pppoe 1 nat enable user #pppoe_login# password #pppoe_senha#;security-mgmt 1 state enable mode forward ingress-type wan protocol web
Provisionando ONU em Bridge - 1 porta:
interface gpon-olt_#pon_id#; onu #onu_numero# type ZTE-F600 sn #onu_mac#; onu #onu_numero# profile  PROFILE-ONU; exit; interface gpon-onu_#pon_id#:#onu_numero#; service-port 1 vport 1 user-vlan #vlan# vlan #vlan#;exit; pon-onu-mng gpon-onu_#pon_id#:#onu_numero#; service INTERNET-SERVICE gemport 1 vlan #vlan#; vlan port eth_0/1 mode tag vlan #vlan#; 
Provisionando ONU em Bridge - 4 portas:
interface gpon-olt_#pon_id#; onu #onu_numero# type ZTE-F600 sn #onu_mac#; onu #onu_numero# profile  PROFILE-ONU; exit; interface gpon-onu_#pon_id#:#onu_numero#; service-port 1 vport 1 user-vlan #vlan# vlan #vlan#;exit; pon-onu-mng gpon-onu_#pon_id#:#onu_numero#; service INTERNET-SERVICE gemport 1 vlan #vlan#; vlan port eth_0/1 mode tag vlan #vlan#; vlan port eth_0/2 mode tag vlan #vlan#;  vlan port eth_0/3 mode tag vlan #vlan#;  vlan port eth_0/4 mode tag vlan #vlan#;
Provisionando em modo roteador com PPPoE:
interface gpon-olt_#pon_id#; onu #onu_numero# type ZTE-F600 sn #onu_mac#; onu #onu_numero# profile  PROFILE-ONU; exit; interface gpon-onu_#pon_id#:#onu_numero#; service-port 1 vport 1 user-vlan #vlan# vlan #vlan#; exit;  pon-onu-mng gpon-onu_#pon_id#:#onu_numero#; service INTERNET-SERVICE gemport 1 iphost 1 vlan #vlan#; wan-ip 1 mode pppoe username #pppoe_login# password #pppoe_senha# vlan-profile PROFILE-PPPOE host 1; pppoe 1 nat enable user #pppoe_login# password #pppoe_senha#; security-mgmt 1 state enable mode forward ingress-type iphost 1 protocol web;