C114门户论坛百科APPEN| 举报 切换到宽版

亚星游戏官网

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索
查看: 18558|回复: 4

[FTTx/PON] MA5680T+ONT光猫配置脚本 [复制链接]

军衔等级:

亚星游戏官网-yaxin222  上等兵

注册:2010-2-252
发表于 2014-7-24 10:01:42 |显示全部楼层
MA5680T+ONT 设备数据配置
1、enable    (进入特权模式)
   config    (进入配置模式)
2、vlan 2100 Smart  (创建业务vlan 30)

    port vlan 2100/20 0  (将VLAN透传到上行口)

3、   display  dba-profile   all  (查询DBA模板)
      display    ont-lineprofile gpon   (查询名称为FTTH-XL的线路模板的ID号)
      display  ont-srvprofile  gpon all  (查询名称FTTH-YW的线路模板ID号)
      display  ont  autofind  all   (查询自动发现ONT设备)
4、interface gpon   0/1  (进入1槽位PON板)
   port 0 ont-auto-find enable    (开启PON口自动发现功能)
   port 1 ont-auto-find enable
   port 2 ont-auto-find enable
   port 3 ont-auto-find enable
   port 4 ont-auto-find enable  
   port 5 ont-auto-find enable
   port 6 ont-auto-find enable
   port 7 ont-auto-find enable
5、ont add 1 0 sn-auth 48675473B96F420F omci ont-lineprofile-id 6 ont-srvprofile-id 6 desc DeZhouXiaoQuKuanDai(添加ONT设备,线路模板号和业务模板号根据查询结果进行更改)
   QUIT  (退出到config配置模式)
6、service-port vlan 2300 gpon  0/1/0 ont  1 eth 1 multi-service user-vlan untagged  rx-cttr 6 tx-cttr 6  (添加业务service-port)
   service-port vlan 2300 gpon  0/1/0 ont  1 eth 2 multi-service user-vlan untagged  rx-cttr 6 tx-cttr 6
   service-port vlan 2300 gpon  0/1/0 ont  1 eth 3 multi-service user-vlan untagged  rx-cttr 6 tx-cttr 6
   service-port vlan 2300 gpon  0/1/0 ont  1 eth 4 multi-service user-vlan untagged  rx-cttr 6 tx-cttr 6
7、SAVE



判断故障所用的查询命令

1、display   ont-lineprofile gpon all  (查询OLT设备上面所有线路模板)
2、display  ont-srvprofile gpon all   (查询OLT设备上面所有业务模板)
3、display ont info by-sn 48575443B96F220F   (根据SN号查询设备的PON口位置)
4、display  ont  autofind  all   (查询自动发现ONU设备)
5、display service-port port  0/1/1 ont 0   (根据PON口位置查询业务 service-port port 配置)
   display service-port  all  (查询OLT设备所有service-port业务配置)
6、display  vlan  2300   (查询VLAN配置信息)
7、display board  0  (查询OLT设备各个单板的状态)
8、interface gpon 0/1  (进入PON板)
   display  ont info 1 all (查询1口下面所有ONU设备的在线状态)
   
   display  ont info  1 0  (查询PON口下面具体某个ONU的详细信息)   
   display  ont optical-info  1 0  (查询ONT设备的光功率参数值)
   ont reset  1 0 (复位ONT设备)







举报本楼

本帖有 4 个回帖,您需要登录后才能浏览 登录 | 注册
您需要登录后才可以回帖 登录 | 注册 |

手机版|C114 ( 沪ICP备12002291号-1 )|联系大家 |网站地图  

GMT+8, 2024-9-24 18:24 , Processed in 0.132411 second(s), 15 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部
XML 地图 | Sitemap 地图