华为 FTTH 组网相关的名词说明,ONU, OLT 注册配通相关的配置示例。
名词说明
DBA 模块:创建的 dba 模板时,给 tcont 引用的,dba 模板的作用是对整个 ONU 上行进行限速。一个 PON 口上行带宽为 1G,实际能用到的只有 900M,所以要对 ONU 的上行进行合理分配。
Tcont:tcont 是连接 dba 和 gemport 的通道,也就是说 gemport 是通过和 tcont 联系,才把 dba 的作用引用过来的。
Gemport:gemport 是 OLT 线程工作的最小单元,前面的 dba,tcont 都是最终给 gemport 用。
线路模板 ont-lineprofile:ONU 注册时要选择相应的线路模板,里面包含 tcont,gem 等信息。
总结:DBA 模板,线路模板,可以创建多个;一个线路模板中:tcont 有八个(0-7),gem 可以创建 128 个(0-127);一个 gem 中可有映射 8 个:gem mapping 1 0;一直到 gem mapping 1 7;但是一个线路模板中最多只能创建 128 条 gem mapping,超出会报错。
数据规划
以花都狮岭数据规划为例:
OLT:网管 VLAN 22;
IP:172.17.21.132;网关:172.17.21.129;语音 VLAN 100;语音 IP:172.16.0.11
ONU:所属 OLT 的 PON 口 0/18/3
- ONU ID:1
- ONU 网管 IP:172.17.21.134;网关:172.17.21.129;
- 语音 VLAN 100;语音 IP:172.16.0.21
数据配置
创建 DBA 模板
1 2
| dba-profile add profile-id 102 profile-name DBA_2M type3 assure 2048 max 10240 // 保证(assure)2M,最大10M
|
查看 DBA 模板信息:
关于 type 参数说明:
| Type |
说明 |
| type1 |
Fixed bandwidth // 固定带宽 |
| type2 |
Assured bandwidth // 保证带宽 |
| type3 |
Assured bandwidth, Maximum bandwidth // 保证带宽 + 最大峰值带宽 |
| type4 |
Maximum bandwidth // 最大带宽 |
| type5 |
Fixed bandwidth, Assured bandwidth, Maximum bandwidth // 固定带宽 + 保证带宽 + 最大带宽 |
1 2 3
| dba-profile add profile-id 105 profile-name DBA_5M type3 assure 5210 max 20480 dba-profile add profile-id 120 profile-name DBA_20M type3 assure 20480 max 102400 dba-profile add profile-id 150 profile-name DBA_50M type3 assure 51200 max 512000
|
创建线路模板
创建线路模板 101:供 ONU ID 1 到 5 用;由于一个线路模板中 gem mapping 最多只能创建 128 条;故一个线路模板不要被过多的 ONU 调用。
1
| ont-lineprofile gpon profile-id 101 profile-name MA5610_1_5
|
查看线路信息:
1
| display ont-lineprofile gpon all
|
查看具体线路信息:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
| BJ-BaiGongShi-JingQu-MA5608T(config)#display ont-lineprofile gpon profile-id 122 ----------------------------------------------------------------------------- Profile-ID :122 Profile-name :PWGB_10G Access-type :GPON ----------------------------------------------------------------------------- FEC upstream switch :Disable OMCC encrypt switch :Off Qos mode :GEM-CAR Mapping mode :VLAN TR069 management :Disable TR069 IP index :0 ----------------------------------------------------------------------------- <T-CONT 0> DBA Profile-ID:1 <T-CONT 1> DBA Profile-ID:90 <Gem Index 1> -------------------------------------------------------------------- |Serv-Type:ETH |Encrypt:off |Cascade:off |GEM-CAR:6 | |Upstream-priority-queue:- |Downstream-priority-queue:- | -------------------------------------------------------------------- Mapping VLAN Priority Port Port Bundle Flow Transparent index type ID ID CAR -------------------------------------------------------------------- 0 30 - - - - - - 1 10 - - - - - - -------------------------------------------------------------------- ----------------------------------------------------------------------------- Notes: Run the display traffic table ip command to query traffic table configuration ----------------------------------------------------------------------------- Binding times :0 -----------------------------------------------------------------------------
|
继续配置:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
| // 线路模板的编号为101,模板名称 MA5610_1_5
tcont 1 dba-profile-id 120 // tcont 1 绑定 120 的 DBA 模板 tcont 2 dba-profile-id 105 // tcont 2 绑定 105 的 DBA 模板 tcont 3 dba-profile-id 102 // tcont 3 绑定 102 的 DBA 模板
gem add 1 eth tcont 1 // gem 1 绑定 tcont 1 gem add 2 eth tcont 1 // gem 2 绑定 tcont 1 gem add 126 eth tcont 2 // gem 126 绑定 tcont 2 gem add 127 eth tcont 3 // gem 127 绑定 tcont 3 gem mapping 126 0 vlan 100 // gem 126 与 vlan 100 映射 gem mapping 127 0 vlan 22 // gem 的 127 与 vlan 22 映射
commit // 提交,保存线路模板
quit
|
创建线路模板 102:供 ONU ID 6 到 10 用
1 2 3 4 5 6 7 8 9 10 11 12 13
| ont-lineprofile gpon profile-id 102 profile-name MA5610_6_10
tcont 1 dba-profile-id 120 tcont 2 dba-profile-id 105 tcont 3 dba-profile-id 102 gem add 1 eth tcont 1 gem add 2 eth tcont 1 gem add 126 eth tcont 2 gem add 127 eth tcont 3 gem mapping 126 0 vlan 100 gem mapping 127 0 vlan 22 commit quit
|
创建线路模板 103:供 ONU ID 11 到 15 用
1 2 3 4 5 6 7 8 9 10 11 12 13
| ont-lineprofile gpon profile-id 103 profile-name MA5610_11_15 tcont 1 dba-profile-id 120 tcont 2 dba-profile-id 105 tcont 3 dba-profile-id 102
gem add 1 eth tcont 1 gem add 2 eth tcont 1 gem add 126 eth tcont 2 gem add 127 eth tcont 3 gem mapping 126 0 vlan 100 gem mapping 127 0 vlan 22 commit quit
|
创建线路模板 104:供 ONU ID 16 到 20 用
1 2 3 4 5 6 7 8 9 10 11 12
| ont-lineprofile gpon profile-id 104 profile-name MA5610_16_20 tcont 1 dba-profile-id 120 tcont 2 dba-profile-id 105 tcont 3 dba-profile-id 102 gem add 1 eth tcont 1 gem add 2 eth tcont 1 gem add 126 eth tcont 2 gem add 127 eth tcont 3 gem mapping 126 0 vlan 100 gem mapping 127 0 vlan 22 commit quit
|
注册 ONU
进入 0/18 槽口的 PON 板:
添加并注册 ONU:
1
| ont add 3 1 sn-auth 48575443FFE2329A snmp ont-lineprofile-id 101
|
给 ONU 注册,第三个 PON 口,ONU 编号 1,SN 号:48575443FFE2329A
下发 IP 配置:
1
| ont ipconfig 3 1 static ip-address 172.17.21.134 mask 255.255.255.128 gateway 172.17.21.129 vlan 22
|
给刚刚注册的 ONU,下发管理 IP 地址,网关掩码,ONU 上会自动生成一条缺省路由。
OLT 上透传 ONU 上来的 VLAN
1 2 3 4 5
| service-port vlan 22 gpon 0/18/3 ont 1 gemport 127 multi-service user-vlan 22 // 给ONU透传网管VLAN22
service-port vlan 100 gpon 0/18/3 ont 1 gemport 126 multi-service user-vlan 100 // ONU透传语音VLAN100
|
ONU 上语音数据配置
telnet 172.17.21.134 登入到 ONU 上配置数据:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| board confirm 0 // 单板确认
fax-modem parameters rfc2198-start-mode disable Rfc21985SmartStartup // 关闭2198自启动功能
vlan 100 smart // 创建语音VLAN 100
port vlan 100 0/0 1 // 透传VLAN 100
interface vlanif 100 ip address 172.16.0.23 255.255.254.0 // 配置语音地址
quit
|