数据规划
宽带业务VLAN 外层QinQVLAN:1050 内层用户VLAN:1999 上行端口 0/18/0 DBA模板
2配制步骤
步骤1: 创建VLAN、加入上行端口、设置端口native-vlan
MA5680T(config)#vlan 1050 smart //用于承载宽带业务
MA5680T(config)#vlan attrib 1050 q-in-q //改VLAN属性为q-in-q
MA5680T(config)#port vlan 1050 0/18 0 //透传业务vlan到上行口
步骤2: 配置DBA 模板
不用建,HG810设备改用之前建好的HG850A的DBA模板.DBA ID:11
步骤3: 配置线路模板
MA5680T(config)#ont-lineprofile gpon profile-id 12 profile-name HG810
MA5680T(config-gpon-lineprofile-11)#mapping-mode vlan //设置映射模式
MA5680T(config-gpon-lineprofile-11)#qos-mode gem-car //设置QoS模式
MA5680T(config-gpon-lineprofile-11)#tcont 1 dba-profile-id 11 //绑定tcont和dba模板
MA5680T(config-gpon-lineprofile-11)#gem add 0 eth tcont 1 gem-car 6 //添加GEM port
MA5680T(config-gpon-lineprofile-11)#gem mapping 0 0 vlan 1999 //设置业务映射关系
MA5680T(config-gpon-lineprofile-11)#commit //必须commit,否则配置不生效
MA5680T(config-gpon-lineprofile-11)#quit
步骤4: 配置业务模板
MA5680T(config)#ont-srvprofile gpon profile-id 12 profile-name HG810
MA5680T(config-gpon-srvprofile-11)#ont-port eth 1
MA5680T(config-gpon-srvprofile-11)#port vlan eth 1 1999 //划分ONT端口vlan
MA5680T(config-gpon-srvprofile-11)#commit //必须commit,否则配置不生效
MA5680T(config-gpon-srvprofile-11)#quit
步骤5 :增加ONT
例:MA5680T(config)#interface gpon 0/1 //进入GPON的下行端口
MA5680T(config-if-gpon-0/1)#port 0 ont-auto-find enable //开启0端口的自动发现
MA5680T(config-if-gpon-0/1)#display ont autofind 0 //通过该命令查看自动发现的ONT的SN
Number F/ S/ P SN Password ------------------------------------------------------------------------ 1 0/ 1/ 0 48575443B1209F42
MA5680T(config-if-gpon-0/1)#ont add 0 9 sn-auth 48575443B1209F42 omci ont-lineprofile-id 12 ont-srvprofile-id 12 desc CS,HG810,1050,1999
// 用两个模板邦定HG810(CS,HG810,1050,1999)这是描述
MA5680T(config-if-gpon-0/1)#ont port native-vlan 0 9 eth 1 vlan 1999
MA5680T(config-if-gpon-0/1)#display ont state 0 all //查看ONT的状态
MA5680T(config-if-gpon-0/1)#quit
步骤6 : 添加vlan的业务虚端口
MA5680T(config)#service-port vlan 1050 gpon 0/1/0 ont 9 gemport 0 multi-service user-vlan 1999 rx-cttr 6 tx-cttr 6 //宽带业务虚连接
步骤7: 保存数据
例:MA5680T(config)#save
步骤9: 验证
现场用PC插到HG810 eth1口 可以上网 证明数据没问题
小结:
注册后数据配置如下
interface gpon 0/0
ont add 0 ? sn-auth 12345678990214 omci ont-lineprofile-id 7 ont-srvprofile-id 7
ont port native-vlan 0 ? eth 1 vlan 300
quit
service-port vlan 300 gpon 0/0/0 ont ? gemport 0 multi-service user-vlan 300
save
开局小结
dba-profile add profile-id 11 profile-name 11 type4 max 10000000
vlan 200 smart
port vlan 200 0/19 0
ont-lineprofile gpon profile-id 11 profile-name 11
mapping-mode vlan
qos-mode gem-car
tcont 1 dba-profile-id 11
gem add 0 eth tcont 1 gem-car 6
gem mapping 0 0 vlan 200
commit
quit
ont-srvprofile gpon profile-id 11 profile-name 11
ont-port eth 1
port vlan eth 1 200
commit
quit
interface gpon 0/1
port 0 ont-auto-find enable
native-vlan all vlan 200
-------------------------------------------------
r011直接识别第三方onu
r013可以用命令打开第三方onu
diagnose
su
dbwin enable
dbwin print 0xde 1 1
dbwin send 0xde 0x22 2 2
dbwin print 0xde 1 0
dbwin disable
需要用到华为光猫SU密码计算器.exe,或者打400问华为算号
-------------------------------------------------------------------------
端到端模式
dba-profile add profile-id 10 profile-name "500M" type4 max 512000
ont-srvprofile gpon profile-id 10 profile-name "gpon_srv"
ont-port pots adaptive eth adaptive
commit
quit
ont-lineprofile gpon profile-id 10 profile-name "gpon_line"
qos-mode gem-car
tcont 1 dba-profile-id 10
commit
quit
ont add 0 sn-auth 4857544303C9EF36 omci ont-lineprofile-id 10 ont-srvprofile-id 10
service-port vlan 200 port 0/1/0 ont 0 eth 1 multi-service user-vlan untagged tag-transform default \\SFU普通猫
service-port vlan 200 port 0/1/0 ont 0 multi-service user-vlan 41 tag-transform translate \\HGU网关猫
离散模板模式
dba-profile add profile-id 10 profile-name "500M" type4 max 512000
ont-srvprofile gpon profile-id 101
ont-port pots adaptive eth adaptive
port vlan eth 1 translation 41 user-vlan 41
port vlan eth 2 translation 45 user-vlan 45
port vlan eth 3 translation 46 user-vlan 46
commit
ont-lineprofile gpon profile-id 101
tr069-management ip-index 0
tcont 3 dba-profile-id 10
gem add 2 eth tcont 3
gem add 3 eth tcont 3
gem add 4 eth tcont 3
gem mapping 2 2 vlan 41
gem mapping 3 3 vlan 45
gem mapping 4 4 vlan 46
commit
quit
ont add 0 sn-auth 4648545405D6822E omci ont-lineprofile-id 101 ont-srvprofile-id 101
service-port vlan 41 gpon 0/1/0 ont 0 gemport 2 multi-service user-vlan 41
service-port vlan 45 gpon 0/1/0 ont 0 gemport 3 multi-service user-vlan 45
service-port vlan 46 gpon 0/1/0 ont 0 gemport 4 multi-service user-vlan 46