长沙曼连网络科技有限公司

M-LINK

热卖推荐 

光传输 · 光接入核心产品

主营 OLT 设备/华为OLT/中兴OLT/烽火OLT、GPON 设备、SDH 传输设备、光模块等通信设备,提供全光网接入解决方案。

  • 华为OLT MA5800-X2
  • 华为OLT板卡 GPHF
  • 华为OLT板卡 CSHF
  • 中兴OLT C600
  • 中兴OLT板卡 GFCH
  • 烽火OLT AN5516
华为 MA5680T GPON添加ONU配置
来源: | 作者:manlian | 发布时间: 649天前 | 2447 次浏览 | 🔊 点击朗读正文 ❚❚ | 分享到:

GPON:

1、配置管理地址

配置上行vlan和接口

MA5680T(config)#vlan 1000 smart          //管理vlan

MA5680T(config)#vlan 1001 smart          //业务业务

MA5680T(config)#port vlan 1000 0/19 0    //增加上行口

MA5680T(config)#port vlan 1001 0/19 0    //增加上行口

MA5680T(config)#interface giu 0/19       //进入上行口


MA5680T(config)#interface vlanif 1000

MA5680T(config-if-vlanif1000)#ip address 192.168.100.10 255.255.255.0

(其他设置)

同时需要配置对应的onu的管理地址下发功能。

2、配置DBA模板
MA5680T(config)#dba-profile add profile-id 13 profile-name HG8245 type2 assure 10240  //定义一个DBA模板号,并指定DBA模板名称
3、配置线路模板
步骤3: 配置线路模板
MA5680T(config)#ont-lineprofile gpon profile-id 13 profile-name HG8245   //定义一个ONT线路模板,并指定名称

MA5680T(config-gpon-lineprofile-13)#tcont 1 dba-profile-id 13    //定义一个tcont并与dba模板邦定,缺省情况下,tcont 0和dba模板1绑定,

不需配置。这里指定tcont1和dba模板13邦定

MA5680T(config-gpon-lineprofile-13)#gem add 1 eth tcont 1   //定义一个GEM port 1并邦定tcont 1

MA5680T(config-gpon-lineprofile-13)#gem mapping 1 1 vlan 1001  //设置GEM Port与ONT侧业务映射关系gem mapping gem-index mapping-index

vlan vlan-id

MA5680T(config-gpon-lineprofile-13)#gem mapping 1 2 vlan 1002  //可以邦定多个vlan

下面可以邦定多个。
MA5680T(config-gpon-lineprofile-13)#tcont 4 dba-profile-id 13  
MA5680T(config-gpon-lineprofile-13)#gem add 4 eth tcont 4
MA5680T(config-gpon-lineprofile-13)#gem mapping 4 4 vlan 1000

MA5680T(config-gpon-lineprofile-13)#commit      //必须commit,否则配置不生效
MA5680T(config-gpon-lineprofile-13)#quit

4、配置业务模板
步骤4: 配置业务模板
MA5680T(config)#ont-srvprofile gpon profile-id 13 profile-name HG8245  //定义一个业务模板

MA5680T(config-gpon-srvprofile-13)#ont-port eth 4 pots 2  //配置ont端口能力集,指定ont有多少业务端口


MA5680T(config-gpon-srvprofile-13)#port vlan eth 1 1001   //
配置ont端口的业务vlan

MA5680T(config-gpon-srvprofile-13)#commit       //必须commit,否则配置不生效

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


5
、配置对应的ont参数

MA5680T(config)#interface gpon 0/7  //进入GPON的下行端口

MA5680T(config-if-gpon-0/7)#port 0 ont-auto-find enable //开启0端口的自动发现猫的序列号功能

MA5680T(config-if-gpon-0/7)#display ont autofind 0 //通过该命令查看自动发现的ONT的SN

MA5680T(config-if-gpon-0/7)#ont add 0 0 sn-auth 32303131AE405A41 omci ont-lineprofile-id 13 ont-srvprofile-id 13 //在此与上面配置的

线路模板和业务模板相关联。

MA5680T(config-if-gpon-0/7)#display ont info 0 all //查看ONT的状态

MA5680T(config-if-gpon-0/7)#quit


6
、设置ONT端口的缺省vlan

MA5680T(config)#interface gpon 0/7

MA5680T(config-if-gpon-0/7)#ont port native-vlan 0 0 eth 1 vlan 1001  //指定7槽0口对应的onu id 为0的onu的eth 1口的缺省vlan为1001

 

7、添加vlan的业务虚端口

MA5680T(config)#service-port  vlan 1001 gpon 0/7/0 ont 0 gemport 1 multi-service user-vlan 1001 rx-cttr 6 tx-cttr 6    //使用默认流