华为GPON配置说明

华为GPON配置说明

华为FTTH组网相关的名词说明,ONU,OLT注册配通相关的配置示例。

名词说明

  1. DBA模块:创建的dba模板时,给tcont引的,dba模板的作用是对整中ONU上行进行限速的。一个PON口上行带宽为1G,实际能用到的只有900M,所以要对ONU的上行进行合理分配。
  2. Tcont:tcont是连接dba和gemport的通道,也就是说gemport是通过和tcont联系,才把dba的作用引用过来的。
  3. Gemport:gemport是OLT线程工作的最小单元,前面的dba,tcont都是最终给gemport用。
  4. 线路模板ont-lineprofile:ONU注册时要选择相应的线路模板,里面包含tcont,gem等信息。
  5. DBA模板,线路模板,可以创建多个;一个线路模板中:tcont有八个(0-7),gem可以创建128个(0-127);一个gem中可有映射8个:gem mapping 1 0;gem mapping 1 1;一直到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
ONUID:1
ONU网管IP:172.17.21.134;网关:172.17.21.129;
语音VLAN 100;语音IP:172.16.0.21

数据配置

  1. 数据配置

    • 创建DBA模板
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
dba-profile add profile-id 102 profile-name DBA_2M type3 assure 2048 max 10240   //保证(assure)2M,最大10M


查看DBA模板信息

display dba-profile all

//以上命令,关于type
type1 Fixed bandwidth //固定带宽
type2 Assured bandwidth //保证带宽
type3 Assured bandwidth, Maximum bandwidth //保证带宽,最大峰值带宽
type4 Maximum bandwidth //最大带宽
type5 Fixed bandwidth, Assured bandwidth, Maximum bandwidth //固定带宽,保证带宽,最大带宽

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-ed 150 profile-anem DBA_50M type3 assure 51200 max 512000

创建线路模板

创建线路模板101:供ONU ID 1到5 用;由于一个线路模板中gem mapping最多只能创建128条;故一个线路模板不要被过多的ONU调用。

ont-lineprofile gpon profile-id 101 profile-name MA561-_1_5

查看线路信息:

display ont-lineprofile gpon all

查看具体线路信息

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
-----------------------------------------------------------------------------

线路模板的编号为101,模板名称MA5610_1_5

tcont 1 dba-profile-id 120
//tcont1绑定120的DBA模板
tcont 2 dba-profile-id 105
//tcont2绑定105的DBA模板
tcont 3 dba-profile-id 102
//tcont3绑定102的DBA模板

gem add 1 eth1 tcont 1
//gem 1 绑定tcont1
gem add 2 eth2 tcont 2
//gem 2 绑定tont1
gem add 126 eth tcont 2
//gem 126 绑定 tcont2
gem add 127 eth tcont 3
//gem 126 绑定 tcont3
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 用
ont-lineprofile gpon profile-id 102 profile-nanme 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 用
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 用
ont-line-profile gpen 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板

intface gpon 0/18

ont add 3 1 sn-auth 48575443FFE2329A snap ont-lineprofile-id 101

给ONU注册,第三个PON口,ONU编号1,SN号:48575443FFE2329A

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

service-port vlan 22 gpon 1/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上配置数据

board confim 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



华为GPON配置说明
https://ywmy.xyz/2019/04/02/华为GPON配置说明/
作者
ian
发布于
2019年4月2日
许可协议