GPON开局及业务开通配置脚本.docx

上传人:b****1 文档编号:1011876 上传时间:2023-04-30 格式:DOCX 页数:7 大小:17.79KB
下载 相关 举报
GPON开局及业务开通配置脚本.docx_第1页
第1页 / 共7页
GPON开局及业务开通配置脚本.docx_第2页
第2页 / 共7页
GPON开局及业务开通配置脚本.docx_第3页
第3页 / 共7页
GPON开局及业务开通配置脚本.docx_第4页
第4页 / 共7页
GPON开局及业务开通配置脚本.docx_第5页
第5页 / 共7页
GPON开局及业务开通配置脚本.docx_第6页
第6页 / 共7页
GPON开局及业务开通配置脚本.docx_第7页
第7页 / 共7页
亲,该文档总共7页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

GPON开局及业务开通配置脚本.docx

《GPON开局及业务开通配置脚本.docx》由会员分享,可在线阅读,更多相关《GPON开局及业务开通配置脚本.docx(7页珍藏版)》请在冰点文库上搜索。

GPON开局及业务开通配置脚本.docx

GPON开局及业务开通配置脚本

-----------------------------------第一步:

系统配置--------------------------------------------------------------------------------------

>>Username:

root//输入用户名

>>Userpassword:

admin//输入密码

>>MA5680T>enable//进入普通模式

>>MA5680T#config//进入超级模式

>>MA5680T(config)#switchlanguage-mode//切换成本地语言

>>MA5680T(config)#displayboard0//查看所有单板,如果有“待确认”单板,请用下一命令

>>MA5680T(config)#boardconfirm0//确认所有单板

>>MA5680T(config)#sysname*********************//设备命名

>>MA5680T(config)#terminaluserpassword//修改用户密码

>>MA5680T(config)#terminalusername//创建新用户名/密码

>>(config)#autosaveintervalon//打开自动保存

------------------------------第二步:

配置管理数据-------------------------------------------------------------------------------------

>>MA5680T(config)#vlanxxstandard//创建管理VLAN(一般选standard类型)

>>MA5680T(config)#portvlanxx0/190//在上行口透传管理VLAN(上行端口,5680T上行端口共4个,分别为0/190,0/191,0/200,0/201)

>>MA5680T(config)#vlanxx(xxtoxx)smart//创建业务VLAN(一般选SMART类型)

>>MA5680T(config)#portvlanxx(xxtoxx)0/190//在上行口透传业务VLAN到上行端口

>>MA5680T(config)#interfacevlanifxx//创建VLAN三层虚接口

>>(config-if-vlanif40)#ipaddressxxx.xxx.xxx.xxxxxx.xxx.xxx.xxx//配置管理IP地址

>>(config-if-vlanif40)#descriptionxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx//对上层端口进行描述

>>(config-if-vlanif40)#quit//退出接口,返回上层

>>(config)#iproute-static0.0.0.00.0.0.0xxx.xxx.xxx.xxx//配置缺省路由

-----------------------------------第三步:

配置ONT---------------------------------------------------------------------------------------

步骤一:

配置DBA模板(DBA就是动态分配带宽机制)

>>(config)#dba-profileaddprofile-id18profile-name"100M"type2assure102400//1:

8分光器流量模版

>>(config)#dba-profileaddprofile-id116profile-name"77M"type2assure67968//1:

16分光器流量模版

>>(config)#dba-profileaddprofile-id132profile-name"40M"type2assure36672//1:

32分光器流量模版

步骤二:

配置线路模板(基于优先级映射方式)

>>(config)#ont-lineprofilegponprofile-id100profile-name"1:

8_ONU"

>>(config-gpon-lineprofile-100)#mapping-modepriority//设置映射类型为优先级映射

//以下用于创建通道:

>>(config-gpon-lineprofile-100)#tcont0dba-profile-id100

>>(config-gpon-lineprofile-100)#gemadd0ethtcont0//添加GEMport

>>(config-gpon-lineprofile-100)#gemadd1ethtcont0

>>(config-gpon-lineprofile-100)#gemadd2ethtcont0

>>(config-gpon-lineprofile-100)#gemadd3ethtcont0

>>(config-gpon-lineprofile-100)#gemmapping00priority0//设置优先级映射关系

>>(config-gpon-lineprofile-100)#gemmapping10priority4

>>(config-gpon-lineprofile-100)#gemmapping20priority3

>>(config-gpon-lineprofile-100)#gemmapping30priority6

>>(config-gpon-lineprofile-100)#commit//退出之前保存线路模版配置,否则配置无效。

>>(config-gpon-lineprofile-100)#quit

>>(config)#ont-lineprofilegponprofile-id200profile-name"1:

16_ONU"

>>(config-gpon-lineprofile-200)#mapping-modepriority

>>(config-gpon-lineprofile-200)#tcont0dba-profile-id200

>>(config-gpon-lineprofile-200)#gemadd0ethtcont0

>>(config-gpon-lineprofile-200)#gemadd1ethtcont0

>>(config-gpon-lineprofile-200)#gemadd2ethtcont0

>>(config-gpon-lineprofile-200)#gemadd3ethtcont0

>>(config-gpon-lineprofile-200)#gemmapping00priority0

>>(config-gpon-lineprofile-200)#gemmapping10priority4

>>(config-gpon-lineprofile-200)#gemmapping22priority3

>>(config-gpon-lineprofile-200)#gemmapping30priority6

>>(config-gpon-lineprofile-200)#commit

>>(config-gpon-lineprofile-200)#quit

>>(config)#ont-lineprofilegponprofile-id300profile-name"1:

32_ONU"

>>(config-gpon-lineprofile-300)#mapping-modepriority

>>(config-gpon-lineprofile-300)#tcont0dba-profile-id300

>>(config-gpon-lineprofile-300)#gemadd0ethtcont0

>>(config-gpon-lineprofile-300)#gemadd1ethtcont0

>>(config-gpon-lineprofile-300)#gemadd2ethtcont0

>>(config-gpon-lineprofile-300)#gemadd3ethtcont0

>>(config-gpon-lineprofile-300)#gemmapping00priority0

>>(config-gpon-lineprofile-300)#gemmapping10priority4

>>(config-gpon-lineprofile-300)#gemmapping22priority3

>>(config-gpon-lineprofile-300)#gemmapping30priority6

>>(config-gpon-lineprofile-300)#commit

>>(config-gpon-lineprofile-300)#quit

---------------------第四步:

注册ONT,并设置其管理IP---------------------------------------------------------------------------

>>MA5680T(config)#interfacegpon0/1//进入业务单板

>>MA5680T(config-if-gpon-0/1)#portxont-auto-findenable//开启端口(0-3或0-7)的自动发现ONT功能

>>MA5680T(config-if-gpon-0/1)#displayontautofindx//查看x端口下自动发现的设备

命令显示:

Command:

displayontautofind0

------------------------------------------------------------------------

NumberF/S/PSNPassword

------------------------------------------------------------------------

10/7/032303131B402AC41

------------------------------------------------------------------------

>>MA5680T(config-if-gpon-0/1)#ontaddx(端口号)x(ONT编号)sn-authxxxxxxxxxxxxxxxx(设备序列号)snmpont-lineprofile-id200descxxxx

//ONT编号按照光分器不同而取值范围不同,分别为0-7、0-15、0-31,顺序无所谓,不发生重复即可。

>>MA5680T(config-if-gpon-0/1)#ontipconfigx(端口号)x(ONT编号)staticip-addressxxx.xxx.xxx.xxxmaskxxx.xxx.xxx.xxxgatewayxxx.xxx.xxx.xxxvlanxpriority3

//设置B类ONU(如:

MA5626G等)的管理IP为X.X.X.X,该命令下发后将会在ont上创建一个vlan并且添加了vlaninterface,priority设置根据线路模板中优先级映射的关系选择为3,也可自行调整优先级。

>>MA5680T(config-if-gpon-0/1)#quit

--------------------第五步:

添加vlan的业务需端口---------------------------------------------------------------------------------

>>MA5680T(config)#service-portvlanxgponx/x/x(机框/槽位/端口)ontxgemport2multi-serviceuser-vlan2rx-cttr6tx-cttr6//使用了默认流量模板6

>>MA5680T(config)#service-port vlan x gpon x/x/x(机框/槽位/端口) ont x gemport 0 multi-service user-vlan x  rx-cttr6tx-cttr6

//流量模板可通过命令“displaytraffictableipfrom-index0”查看系统中所有流量配置模板,默认index6为不限速。

--------------------第六步:

登陆B类ONU(如MA5626G)进行配置-------------------------------------------------------------------------------

>>MA5680T(config)#telnetX.X.X.X//远程登陆到ONU

>>MA5626G(config)#vlanxxxx//创建业务xxxx

>>MA5626G(config)#portvlanxxxx0/01//透传vlan的上行端口(PON口为0/01)

>>MA5626G(config)#service-portvlanxxxxeth0/1/xmulti-serviceuser-vlanuntaggedrx-cttr6tx-cttr6//添加vlan的业务端口,取值范围为1-8、1-16、1-24,按照设备端口数范围而定.eth为业务端口类型为以太口。

--------------------------------------------------------------------------------------------------------------------------------------------------------

>>(config)#save最后一定记得保存

注意事项:

1.小区常用B类(如MA5626G)ONU设备,而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影响业务开通和网络运行。

目前景德镇地区的补丁有:

SPC100、SPH117、HP1016。

常用查询命令介绍:

displayontautofindall//全局模式下查看所有端口ONU设备自动发现

switchlanguage-mode//全局模式下切换系统语言模式,可在中英文状态之间进行切换

displaycurrent-configuration//全局模式下查看全局配置文件,添加参数可分模块显示

displayservice-port参数//全局模式下查看service-port列表

displaypatchall//全局模式下查看系统现有所有补丁文件

save//全局模式下保存系统配置文件

displayontautofindx//业务单板模式下查看本单板下端口ONU设备自动发现

displayontinfoxall//业务单板模式下查看已注册ONU设备状态

ontdeletexx//业务单板模式下注销(删除)x端口下第x个ONU设备

ontmodify参数//业务单板模式下对已注册ONU设备进行相关参数编辑和调整

ontdeactivatexx//业务单板模式下对已注册ONU进行去激活操作(排查流氓ONU时常用)

ontactivatexx//业务单板模式下对已注册ONU进行激活操作(排查流氓ONU时常用)

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 人文社科 > 法律资料

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2