您好,欢迎来到华佗健康网。
搜索
您的当前位置:首页HG8240数据配置(OLT部分)

HG8240数据配置(OLT部分)

来源:华佗健康网


HG8240开局OLT上数据配置

1.创建业务vlan并透传到上行口,宽带业务vlan属性为q-in-q

Huawei(config)#vlan 4004 smart

Huawei(config)#vlan 3902 smart

Huawei(config)#vlan attrib 3902 q-in-q

Huawei(config)#port vlan 4004 0/17 0

Huawei(config)#port vlan 3902 0/17 0

2.说明:系统支持5种类型的DBA模板,分别为:type1(固定带宽)、type2(保证带宽)、type3(保证带宽+最大带宽)、type4(最大带宽)、type5(固定带宽+保证带宽+最大带宽)。

可以使用display dba-profile命令查询DBA模板信息。

Huawei(config)#dba-profile add profile-id 10 profile-name \"HSI-10M\" type4 max 10240 // 宽带采用最大带宽10M

Huawei(config)#dba-profile add profile-id 12 profile-name \"VOIP\" type4 max 4096 // 语音采用保证+最大带宽

1

3.建线路模板:

说明:配置ONT线路模板编号为10,tcont1绑定DBA模板10。Tcont2绑定DBA模板12。T-CONT可以依据DBA模板中的不同配置,提供灵活的动态带宽分配方案;配置GEM Port与ONT侧业务的映射模式为VLAN方式(系统缺省),并将用户侧VLAN 3031、4004的业务流映射到索引为1-2的GEM Port,分别用于宽带上网、语音。

Huawei(config)# ont-lineprofile gpon profile-id 10 profile-name \"HG8240\"

huawei(config-gpon-lineprofile-10)# tcont 1 dba-profile-id 10 // tcont1绑定DBA模板10

huawei(config-gpon-lineprofile-10)#tcont 2 dba-profile-id 12 // Tcont2绑定DBA模板12

huawei(config-gpon-lineprofile-10)#gem add 1 eth tcont 1 //建立gemport 通道,调用相对应的tcont

huawei(config-gpon-lineprofile-10)#gem add 2 eth tcont 2

huawei(config-gpon-lineprofile-10)#gem mapping 1 0 vlan 3031 //映射宽带业务的cvlan3031,

huawei(config-gpon-lineprofile-10)#gem mapping 2 0 vlan 4004 //映射语音业务的vlan4004

2

注意::此处映射的vlan是从下行ONU上来的,而不是OLT上行口的vlan

huawei(config-gpon-lineprofile-10)#commit

注意: 模板数据配置完成后,退出模板模式前,必须使用commit命令使配置生

4.创建ONT业务模板

说明:ONT业务模板中的端口能力集必须与ONT实际的能力集保持一致。HG8240以太网端口数目为4,POTS端口为2。

建议:业务模板号采用和Cvlan同一个数字的,可以在规划时统一创建,便于开局和维护。

huawei(config-gpon-lineprofile-10)#ont-srvprofile gpon profile-id 3031 profile-name \"srv-profile_3031\" // 建立3031业务模板

huawei(config-gpon-srvprofile-3031)#ont-port pots 2 eth 4 //配置2个POTS口和4个以太口

huawei(config-gpon-srvprofile-3031)#port vlan eth 1 3031

huawei(config-gpon-srvprofile-3031)#port vlan eth 2 3031

3

huawei(config-gpon-srvprofile-3031)#port vlan eth 3 3031

huawei(config-gpon-srvprofile-3031)#port vlan eth 4 3031

//指定端口VLAN,此处把4个口都设置3031,便于用户使用

huawei(config-gpon-srvprofile-3031)# commit

注意: 模板数据配置完成后,退出模板模式前,必须使用commit命令使配置生

5.增加ONU:

ONT所在的GPON端口号为0,ONT编号为0,ONT认证的SN为485743E928E103,管理协议为OMCI,绑定ONT线路模板10,绑定ONT业务模板3031。

5.1查看上报ONU,有两种方式:

huawei(config)# display ont autofind all //查看ONU信息

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

序列号 框/槽/端口 SN 密码

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

4

1 0/ 1/0 485743E928E103 0100001111

2 0/ 2/2 485743E95B4103 0100001112

表示该ONU从第一块板子第1个PON口上报。

huawei(config)# Interface gpon 0/1

huawei(config-if-gpon-0/1)#port 0 ont-auto-find enable //首次使用时,打开自动发现功能

huawei(config-if-gpon-0/1)# display ont autofind 0

huawei(config)# display ont autofind all //查看ONU信息

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

序列号 框/槽/端口 SN 密码

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

1 0/ 1/0 485743E928E103 0100001111

5.2确认上报上来的ONU

huawei(config-if-gpon-0/1)# ont add 0 0 sn-auth 485743E928E103 omci

5

ont-lineprofile-id 10 ont-srvprofile-id 3031 desc \"furuida\" //

说明:ONT所在的GPON端口号为0,ONT编号为0,ONT认证的SN为485743E928E103,管理协议为OMCI,绑定ONT线路模板10,绑定ONT业务模板3031。

huawei(config-if-gpon-0/1)# ont add 0 0 password-auth 0100001111 always-on omci ont-lineprofile-id

10

ont-srvprofile-id

3031

desc

\"furuida\"( 密码认证) 后期网管自动工单使用

5.3配置ETH端口1的native VLAN ID为100,此处我们把4个口都配上,以防用户使用错口,此处ont port native-vlan 0 0对应的是ONU确认时的PON口的顺序

huawei(config-if-gpon-0/1)#ont port native-vlan 0 0 eth 1 vlan 3031 huawei(config-if-gpon-0/1)#ont port native-vlan 0 0 eth 2 vlan 3031

huawei(config-if-gpon-0/1)#ont port native-vlan 0 0 eth 3 vlan 3031 huawei(config-if-gpon-0/1)#ont port native-vlan 0 0 eth 4 vlan 3031

另:不是第一次使用此PON口时可以通过display board 0/1看已经用到第几个ONU了

NY-DongHuan-HW5680T(config)#display board 0/1

6

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

F/S/P ONT-ID SN Control Run Config Match DBA

flag state state state type

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

0/ 1/0 0 48574378F1E003 active up normal match SR

0/ 1/0 1 485743683CD203 active up normal match SR

0/ 1/0 2 4857436844A303 active up normal match SR

0/ 1/0 3 485743683E3D03 active up normal match SR

0/1/0 4 485743683C4703 active up normal match SR

0/ 1/0 5 4857436794CB03 active up normal match SR

7

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

In port 0, the total of ONTs are: 6

这样我们就可以顺序向下面使用huawei(config-if-gpon-0/1)# ont add 0 6………去确认新发现的ONU

6. 配置业务流 :

huawei(config)#service-port vlan 3902 gpon 0/1/0 ont 0 gemport 1 multi-service user-vlan 3031 tag-transform translate

huawei(config)#service-port vlan 4004 gpon 0/1/0 ont 0 gemport 2 multi-service user-vlan 4004 tag-transform translate

注意:分别配置上网业务、语音业务。SVlan 3902 带Cvlan3031 ,0框1槽0口下ONT编号0,,Cvlan映射在10号线路模板gemport 1里面,一定要对应。业务vlan 4004 映射在10号线路模板gemport 2里面,一定要对应

=======================================

常用命令:

huawei(config)#display board 0 查询整框单板的信息

8

huawei(config)# display board 0/1 指定槽位单板的详细信息,对单板进行某种操作后,需要查看该单板所在的槽位号、名称、状态、扣板信息、端口信息或在线状态等时,使用此命令。

huawei(config)# display mac-address 此命令用于查询系统中的MAC地址表信息。在进行MAC地址增删操作时,使用此命令查看当前MAC地址表中的动态及静态MAC地址信息。

huawei(config)# display ont autofind all 查看自动发现的ONT

huawei(config)#display ont info 0 0 查看ONU信息

huawei(config)# ont modify 0 0 修改ONU相关信息,如sn码,线路模板,业务模板,描述等。

9

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

Copyright © 2019- huatuo0.com 版权所有 湘ICP备2023021991号-1

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务