搜索
您的当前位置:首页华为ONU配置案例

华为ONU配置案例

来源:飒榕旅游知识分享网


本地CONSOLE登陆密码:root admin

案例参数:

PON板端口0/1/0 带宽84m() 外层vlan 1012 (上行) 内层vlan 2001 (下行)

ONU Sn:4712345

vlan 1012 smart 创建OLT的VLAN

vlan attrib 1012 q-in-q

port vlan 1012 0/11 0

port vlan 1002 0/12 0

上行VLAN号配置,若已有ONU则不需再加

interface gpon 0/1

port 0 ont-auto-find enable

port 1 ont-auto-find enable

port 2 ont-auto-find enable

port 3 ont-auto-find enable

quit

interface gpon 0/18

port 0 ont-auto-find enable

port 1 ont-auto-find enable

port 2 ont-auto-find enable

port 3 ont-auto-find enable

配置DBA 模板

MA5680T(config)#dba-profile add profile-id 10 type1 fix 86016 带宽换算出来的数值

创建设置线路模版

不同带宽的线路要建多个线路模板

MA5680T(config)#ont-lineprofile gpon profile-id X(与上一行的ID 10 有无关系?)

MA5680T(config-gpon-lineprofile-1)#tcont 1 dba-profile-id 10

MA5680T(config-gpon-lineprofile-1)#gem add 0 eth tcont 1

MA5680T(config-gpon-lineprofile-1)#gem mapping 0 0(参数,不会变) vlan 2001

MA5680T(config-gpon-lineprofile-1)#commit 提交配置,使生效,必需的

MA5680T(config-gpon-lineprofile-1)#quit 退出模板,必需的

相同带宽且内VLAN时,可用同个GEM;若不同内VLAN且带宽相同,则要新建GME2,

创建设置业务模版:

带宽不同一定要新建线路模板,可沿用TCON1,因在不同的DBA

业务模板只与内VLAN有关系,独立的

MA5680T(config)#ont-srvprofile gpon profile-id 1(与DBA无关)

MA5680T(config-gpon-srvprofile-1)#ont-port eth 4 pots 2 说明下连的ONU接口情况

MA5680T(config-gpon-srvprofile-1)#transparent enable (上面说明ONU端口编号以1开始)

MA5680T(config-gpon-srvprofile-1)#port vlan eth 1 2001 ONU的下连端口和VLAN号

MA5680T(config-gpon-srvprofile-1)#commit

MA5680T(config-gpon-srvprofile-1)#quit

另解:1个OLT只需要做2个业务模板就行了,因为目前只用了2个内VLAN号;

在GPON板上注册ONT终端:

MA5680T(config)#display ont autofind all(注册和未注册状态分别怎样?)

MA5680T(config)#interface gpon 0/1(最大ONU数为128)

MA5680T(config-if-gpon-0/1)#ont confirm 0(端口号) ontid 0(序号) sn-auth 4712345 omci ont-lineprofile-id X ont-srvprofile-id 1(这2个0,指的是索引还是参数?)

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

MA5680T(config-if-gpon-0/1)#ont port native-vlan 0 0 eth 1 vlan 2001(与上一行对应)

display board 0/1 查看已注册到的ONU情况

配置OLT上的业务流:

MA5680T(config)#service-port vlan 1012 gpon 0/1/0 ont 0 gemport 0(GEM的业务流ID) multi-service user-vlan 2001 rx-cttr 6 tx-cttr 6

若更换为同型号的ONU只需执行下面的语句:

MA5680T(config-if-gpon-0/1)#ont modify 0 0 sn 1323456789(2个0与前面对应,端口号和序号)

因篇幅问题不能全部显示,请点此查看更多更全内容

Top