MA5680T>enable 进入特权模式
MA5680T#config 进入配置模式
MA5680T(config)#display current-configuration simple 查看配置文件
上联板配置:
MA5680T(config)#board add 0/17 H801GICF 添加上联板0/17
MA5680T(config)#vlan 110 to 117 创建所需vlan 110-117
MA5680T(config)#port vlan 110 to 117 0/17 0 允许110 到117 vlan通过0/17 0口逶传
下联配置:
MA5680T(config)#dba-profile add profile-id 10 profile-name baozheng10M type2 assure 10240 创建DBA模板 为保证10M
MA5680T(config)#ont-lineprofile gpon profile-id 10 profile-name baozheng10Mxinlu 创建线路模板,并绑定dba 10
MA5680T(config-gpon-lineprofile-10)#tcont 1 dba-profile-id 10 绑定dba 10
MA5680T(config-gpon-lineprofile-10)#commit 完成
MA5680T(config-gpon-lineprofile-10)#quit 退出
MA5680T(config)#ont-srvprofile gpon profile-id 10 profile-name 4kou_onu 创建服务模板,备注为4口
MA5680T(config-gpon-srvprofile-10)#ont-port pots 2 eth 4 2个电话接口,4个网线接口
MA5680T(config-gpon-srvprofile-10)#multicast-forward untag 转发,去vlan标签
MA5680T(config-gpon-srvprofile-10)#commit 完成
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[global-config] +
+
dba-profile add profile-id 10 profile-name "baozheng10M" type2 assure 10240+
ont-srvprofile gpon profile-id 10 profile-name "4kou_onu" +
ont-port pots 2 eth 4 +
multicast-forward untag +
commit +
quit +
ont-lineprofile gpon profile-id 10 profile-name "baozheng10Mxinlu" +
tr069-management ip-index 0 +
tcont 1 dba-profile-id 10 +
commit +
quit +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
MA5680T(config)#display board 0 查看有哪些板槽可用
MA5680T(config)#board add 0/16 H806GPBD 添加16槽下行GPON板
MA5680T(config)#interface gpon 0/16 进入gpon 0/16槽
MA5680T(config-if-gpon-0/16)#port 0 ont-auto-find enable 开启0口自动发现
MA5680T(config-if-gpon-0/16)#port 1 ont-auto-find enable
MA5680T(config-if-gpon-0/16)#port 2 ont-auto-find enable
MA5680T(config-if-gpon-0/16)#port 3 ont-auto-find enable
MA5680T(config-if-gpon-0/16)#port 4 ont-auto-find enable
MA5680T(config-if-gpon-0/16)#port 5 ont-auto-find enable
MA5680T(config-if-gpon-0/16)#port 6 ont-auto-find enable
MA5680T(config-if-gpon-0/16)#port 7 ont-auto-find enable
MA5680T(config)# display board 0 查看添加的板槽状态(Normal正常)
++++++++++++++++++++++++++++++++
16 H806GPBD Normal +
17 H801GICF Normal +
++++++++++++++++++++++++++++++++
添加ONU光猫
一.自动发现未注册ONT
MA5680T(config)#display ont autofind all
未发现存在可注册ONT
Daweicun_MA5680T(config)# display ont autofind all
失败: 不存在自动发现的ONT
Daweicun_MA5680T(config)#display ont autofind all
Failure: The automatically found ONTs do not exist
发现存在可注册ONT,并记录位置信息和ONT的SN号码
Number : 1
F/S/P : 0/16/0 (机框/板槽/端口)
Ont SN : 4857544365BC8D2E 光猫序列号
Password : 0x00000000000000000000
Loid :
Checkcode :
VendorID : HWTC
Ont Version : 2E2.A
Ont SoftwareVersion : V3R012C00S103
Ont EquipmentID : 010C
Ont autofind time : 2015-03-11 17:48:08+08:00
----------------------------------------------------------------------------
The number of GPON autofind ONT is 1
二.对未注册ONT进行注册添加
MA5680T(config)#interface gpon 0/16 进入板槽接口0/16
MA5680T(config-if-gpon-0/16)#ont add 0 sn-auth 4857544397322012 omci ont-lineprofile-id 10 ont-srvprofile-id 10 desc hbjy_8#1304 根据sn号添加onu
Number of ONTs that can be added: 1, success: 1
PortID :0, ONTID :0 提示第几个ONU
MA5680T(config-if-gpon-0/16)#quit 退出板槽
MA5680T(config)#service-port vlan 110 gpon 0/16/0 ont 0 eth 1 multi-service user-vlan untagged 开启服务
MA5680T(config)#display board 0/16 查看ont在线情况(pon灯由绿色闪烁到绿色常亮为正常,可使用)
save
二.对已经注册ONT进行删除操作
MA5680T(config)#display current-configuration simple | include 22012 根据不完整SN号查找完整的SN号
It will take a long time if the content you search is too much or the string you input is too long, you can press CTRL_C to break
ont add 0 0 sn-auth "4857544397322012" omci ont-lineprofile-id 10
ont-srvprofile-id 10 desc "hbjy_8#1304"
MA5680T(config)#display ont info by-sn 4857544397322012 根据完整的SN号查找ONT的位置信息
-----------------------------------------------------------------------------
F/S/P : 0/16/0
ONT-ID : 0
Control flag : active
Run state : online
MA5680T(config)#undo service-port port 0/16/0 ont 0 删除0/16/0 ont 0的服务
{ |gemport }:
Command:
undo service-port port 0/16/0 ont 0
It will take several minutes, and console may timeout, please use command
idle-timeout to set time limit
Are you sure to release service virtual port(s)? (y/n)[n]:y 确认删除
The number of total service virtual port which need be deleted: 1
The number of total service virtual port which have been deleted:
MA5680T(config)#interface gpon 0/16
MA5680T(config-if-gpon-0/16)#ont delete 0 0 进入板槽,删除0口 0ont
Number of ONTs that can be deleted: 1, success: 1
Quit 退出
Save 保存