Script Registarion Onu Generator For ZTE C320

Copy-Paste Script to Terminal Console!.
conf t
interface gpon-olt_1/1/1

no onu 1
onu 1 type ALL-ONT sn ZDM41NTEN4NCE
exit
interface gpon-onu_1/1/1:1
name ZD Maintenance
tcont 1 profile default
gemport 1 tcont 1
service-port 1 vport 1 user-vlan 100 vlan 100
service-port 2 vport 1 user-vlan 200 vlan 200
exit

pon-onu-mng gpon-onu_1/1/1:1
service pppoe gemport 1 vlan 100
service hotspot gemport 1 vlan 200
wan-ip 1 mode pppoe username zd password slot-zd007 vlan-profile pppoe host 1
vlan port wifi_0/2 mode tag vlan 200
security-mgmt 212 state enable mode forward protocol web
end
wr