通信人家园

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索
查看: 7861|回复: 1

[固网终端] 5680t开局配置 [复制链接]

军衔等级:

  新兵

注册:2011-12-7
发表于 2017-2-13 07:03:16 |显示全部楼层
----------------------------------- 第一步:系统配置  --------------------------------------------------------------------------------------
>>User name:root                                                              //输入用户名
>>User password: admin                                                       //输入密码
>>MA5680T> enable                                                           //进入普通模式
>>MA5680T #config                                                           //进入超级模式
>>MA5680T(config) #switch language-mode                                       //切换成本地语言
>>MA5680T (config)#display board 0                                         //查看所有单板,如果有“待确认”单板,请用下一命令
>>MA5680T(config) #board confirm 0                                            //确认所有单板
>>MA5680T(config) #sysname *********************                             //设备命名
>>MA5680T(config)#terminal user password                                                  //修改用户密码
>>MA5680T(config)#terminal user name                                           //创建新用户名/密码
>> (config)# autosave interval on                                                  //打开自动保存
------------------------------第二步:配置管理数据  -------------------------------------------------------------------------------------
>>MA5680T(config)# vlan xx standard                                             //创建管理VLAN (一般选standard类型)
>>MA5680T(config)# port vlan xx 0/19 0                                           //在上行口透传管理VLAN(上行端口,5680T上行端口共4个,分别为0/19 0,0/19 1,0/20 0,0/20 1)
>>MA5680T(config)# vlan xx(xx to xx) smart                                        //创建业务VLAN (一般选SMART类型)
>>MA5680T(config)# port vlan xx(xx to xx) 0/19 0                                   //在上行口透传业务VLAN到上行端口
>>MA5680T(config)# interface vlanif xx                                            //创建VLAN 三层虚接口
>> (config-if-vlanif40)# ip address xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx                     //配置管理 IP 地址
>>(config-if-vlanif40)#description xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx             //对上层端口进行描述
>> (config-if-vlanif40)# quit                                                       //退出接口,返回上层
>> (config)# ip route-static 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxx                             //配置缺省路由
Intface giu 0/20
Auto-neg 0 disable
Speed 0 1000
quit
-----------------------------------第三步:配置ONT---------------------------------------------------------------------------------------
步骤一:配置DBA 模板(DBA就是动态分配带宽机制)
>> (config)# dba-profile add profile-id 18 profile-name "100M" type2 assure 102400        //18分光器 流量模版
>> (config)# dba-profile add profile-id 116 profile-name "77M" type2 assure 67968         //116分光器流量模版
>> (config)# dba-profile add profile-id 132 profile-name "40M" type2 assure 36672         //132分光器流量模版
步骤二:配置线路模板(基于优先级映射方式)
>> (config)#ont-lineprofile gpon profile-id 100 profile-name "1:8_ONU"
>> (config-gpon-lineprofile-100)#mapping-mode priority                               //设置映射类型为优先级映射
//以下用于创建通道:
>> (config-gpon-lineprofile-100)#tcont 0 dba-profile-id 100
>> (config-gpon-lineprofile-100)#gem add 0 eth tcont 0                                //添加GEM port
>> (config-gpon-lineprofile-100)#gem add 1 eth tcont 0
>> (config-gpon-lineprofile-100)#gem add 2 eth tcont 0              
>> (config-gpon-lineprofile-100)#gem add 3 eth tcont 0
>> (config-gpon-lineprofile-100)#gem mapping 0 0 priority 0                            //设置优先级映射关系
>> (config-gpon-lineprofile-100)#gem mapping 1 0 priority 4
>> (config-gpon-lineprofile-100)#gem mapping 2 0 priority 3
>> (config-gpon-lineprofile-100)#gem mapping 3 0 priority 6
>> (config-gpon-lineprofile-100)#commit                                            //退出之前保存线路模版配置,否则配置无效。
>> (config-gpon-lineprofile-100)#quit
>> (config)#ont-lineprofile gpon profile-id 200 profile-name "1:16_ONU"
>> (config-gpon-lineprofile-200)# mapping-mode priority
>> (config-gpon-lineprofile-200)#tcont 0 dba-profile-id 200
>> (config-gpon-lineprofile-200)#gem add 0 eth tcont 0
>> (config-gpon-lineprofile-200)#gem add 1 eth tcont 0
>> (config-gpon-lineprofile-200)#gem add 2 eth tcont 0
>> (config-gpon-lineprofile-200)#gem add 3 eth tcont 0
>> (config-gpon-lineprofile-200)#gem mapping 0 0 priority 0
>> (config-gpon-lineprofile-200)#gem mapping 1 0 priority 4
>> (config-gpon-lineprofile-200)#gem mapping 2 2 priority 3
>> (config-gpon-lineprofile-200)#gem mapping 3 0 priority 6
>> (config-gpon-lineprofile-200)#commit
>> (config-gpon-lineprofile-200)#quit
>> (config)#ont-lineprofile gpon profile-id 300 profile-name "1:32_ONU"
>> (config-gpon-lineprofile-300)#mapping-mode priority
>> (config-gpon-lineprofile-300)#tcont 0 dba-profile-id 300
>> (config-gpon-lineprofile-300)#gem add 0 eth tcont 0
>> (config-gpon-lineprofile-300)#gem add 1 eth tcont 0
>> (config-gpon-lineprofile-300)#gem add 2 eth tcont 0              
>> (config-gpon-lineprofile-300)#gem add 3 eth tcont 0
>> (config-gpon-lineprofile-300)#gem mapping 0 0 priority 0
>> (config-gpon-lineprofile-300)#gem mapping 1 0 priority 4
>> (config-gpon-lineprofile-300)#gem mapping 2 2 priority 3
>> (config-gpon-lineprofile-300)#gem mapping 3 0 priority 6
>> (config-gpon-lineprofile-300)#commit
>> (config-gpon-lineprofile-300)#quit
---------------------第四步注册ONT,并设置其管理IP  ---------------------------------------------------------------------------
>>MA5680T(config)#interface gpon 0/1                                             //进入业务单板
>>MA5680T(config-if-gpon-0/1)#port x ont-auto-find enable                                   //开启端口(0-3或0-7)的自动发现ONT功能
>>MA5680T(config-if-gpon-0/1)#display ont autofind  x                              //查看x端口下自动发现的设备
命令显示:
Command:                              
          display ont autofind 0                     
   ------------------------------------------------------------------------     
   Number    F/ S/ P         SN            Password      
   ------------------------------------------------------------------------   
    1        0/ 7/ 0    32303131B402AC41              
   ------------------------------------------------------------------------  
>>MA5680T(config-if-gpon-0/1)#ont add x(端口号) xONT编号) sn-auth xxxxxxxxxxxxxxxx (设备序列号)snmp ont-lineprofile-id 200 desc xxxx
//ONT编号按照光分器不同而取值范围不同,分别为0-70-150-31,顺序无所谓,不发生重复即可。
  
>>MA5680T(config-if-gpon-0/1)#ont ipconfig x(端口号) xONT编号) static ip-address xxx.xxx.xxx.xxx maskxxx.xxx.xxx.xxx gateway xxx.xxx.xxx.xxx vlan x priority 3                                                   
//设置BONU(如:MA5626G)的管理IPX.X.X.X,该命令下发后将会在ont上创建一个vlan并且添加了vlan interfacepriority设置根据线路模板中优先级映射的关系选择为3,也可自行调整优先级。
>>MA5680T(config-if-gpon-0/1)#quit                                             
--------------------第五步:添加vlan的业务需端口  ---------------------------------------------------------------------------------
>>MA5680T(config)#service-port vlan x gpon x/x/x(机框/槽位/端口) ont x gemport 2 multi-service user-vlan 2 rx-cttr 6 tx-cttr 6     //使用了默认流量模板6
>>MA5680T(config)#service-port vlan x gpon x/x/x(机框/槽位/端口) ont x gemport 0 multi-service user-vlan x  rx-cttr 6 tx-cttr 6
   //流量模板可通过命令“display traffic table ip from-index 0”查看系统中所有流量配置模板,默认index 6为不限速。
--------------------第六步登陆BONU(如MA5626G进行配置  -------------------------------------------------------------------------------
>>MA5680T(config)#telnet X.X.X.X                                                                     //远程登陆到ONU
>>MA5626G(config)#vlan xxxx                                                                           //创建业务xxxx
>>MA5626G(config)#port vlan xxxx 0/0 1                                                                //透传vlan的上行端口(PON口为0/0 1     
>>MA5626G(config)#service-port vlan xxxx eth 0/1/x multi-service user-vlan untagged rx-cttr 6 tx-cttr 6             //添加vlan的业务端口,取值范围为1-81-161-24,按照设备端口数范围而定.eth为业务端口类型为以太口。
--------------------------------------------------------------------------------------------------------------------------------------------------------
>> (config)#save                            最后一定记得保存
注意事项:
1.                 小区常用B类(如MA5626GONU设备,而A类(如HG813)设备无法下发管理VLAN和地址,A类配置脚本详见附件文本。
2.                 流量模板可重新进行定义和配置,引用时只需引用index编号即可。
3.                 SNMP配置脚本详见附件文本。
4.                 关于系统自动保存的机制,建议在进行大批量数据配置时事先关闭,或修改自动保存的时间参数,否则会造成配置数据时系统自动进行保存并在屏幕输出相关信息影响数据配置。
5.                 OLT设备用户权限与一般数通设备配置不同,详见附件华为官方配置指导书。
6.                 OLT中可配置两种映射模式,即优先级映射和VLAN映射,但鉴于VLAN映射会使得配置文件逐步增大,因此建议使用优先级映射方式。
7.                 删除设备请按照注册设备步骤倒序进行,即查看service-port列表中设备对应的service-port编号,删除该设备对应的service-port,进入业务单板模式下执行ONT注销(删除命令)。
8.                 新开局OLT设备需联系华为人员装载补丁文件,否则会有相关BUG影响业务开通和网络运行。目前景德镇地区的补丁有:SPC100SPH117HP1016
常用查询命令介绍:
display ont autofind all                                                    //全局模式下查看所有端口ONU设备自动发现
switch language-mode                                                    //全局模式下切换系统语言模式,可在中英文状态之间进行切换
display current-configuration                                              //全局模式下查看全局配置文件,添加参数可分模块显示
display service-port 参数                                                //全局模式下查看 service-port列表
display patch all                                                        //全局模式下查看系统现有所有补丁文件
save                                                                  //全局模式下保存系统配置文件
display ont autofind x                                                    //业务单板模式下查看本单板下端口ONU设备自动发现
display ont info x all                                                      //业务单板模式下查看已注册ONU设备状态
ont delete x x                                                           //业务单板模式下注销(删除)x端口下第xONU设备
ont modify 参数                                                        //业务单板模式下对已注册ONU设备进行相关参数编辑和调整
ont deactivate x x                                                        //业务单板模式下对已注册ONU进行去激活操作(排查流氓ONU时常用)
ont activate x x                                                          //业务单板模式下对已注册ONU进行激活操作(排查流氓ONU时常用)

举报本楼

军衔等级:

  新兵

注册:2017-5-11
发表于 2017-6-15 08:59:17 |显示全部楼层
很有用 谢谢分享

举报本楼

您需要登录后才可以回帖 登录 | 注册 |

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

GMT+8, 2024-3-29 16:06 , Processed in 0.402564 second(s), 15 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部