MA5680t gpon 开局
vlan 创建
vlan 1012 smart
vlan 72 smart
vlan 4023 smart
vlan attrib 4023 qinq
模版建立
dba-profile add profile-id 10 profile-name "PPPOE" type3 assure 10240 max 20480
ont-srvprofile gpon profile-id 66 profile-name "guhua"
ont-port pots adaptive eth adaptive
commit
ont-lineprofile gpon profile-id 66 profile-name "guhua"
tcont 1 dba-profile-id 0
commit
quit
注册光猫
interface gpon 0/2
ont add 6 0 sn-auth "485754431126194C" omci ont-lineprofile-id 66 ont-srvprofile-id 66 desc "ONT_NO_DESCRIPTION" // 注册光猫
service-port 289 vlan 1012 port 0/2/6 ont 0 eth 1 multi-service user-vlan untagged tag-transform default //单层宽带
service-port 290 vlan 72 port 0/2/6 ont 0 eth 2 multi-service user-vlan untagged tag-transform default //单层点播
service-port 308 vlan 4023 port 0/2/6 ont 0 multi-service user-vlan 901 tag-transform default //qinq 外侧4023 内侧 4023