您好,欢迎访问深圳市苏山伟达通讯设备有限公司官方网站!

致力于智慧城市、XPON光网络通信工程

提供从产品到通信规划设计方案的服务
服务热线:

0755-89605209

首页 > 新闻资讯 > 技术解答 >

华为OLT配置方法

【发布时间:2018-03-08 15:24:07】

Add Hostname/Device Name:

huawei(config)#system sys-info description Huawei-OLT

Add Management IP:

Huawei-OLT(config)#interface meth0
Huawei-OLT(config-if-meth0)#ip address 1.1.1.2 255.255.255.0

Vlan Declare & assign OLT IP:

Huawei-OLT(config)#vlan 10 smart
Huawei-OLT(config)#interface vlanif10
Huawei-OLT(config-if-vlanif10)#ip address 192.168.x.x 255.255.255.0
Huawei-OLT(config-if-vlanif10)#quit

Vlan Published & Description in uplink interface:

Huawei-OLT(config)#port vlan 10 0/2 0

Huawei-OLT(config)#port desc 0/2/0 description “Uplink-with…….”

Board/Card Add:

Huawei-OLT(config)#board add 0/0 H805GFBD
Huawei-OLT(config)#board add 0/1 H801MSWC

OLT port Auto find Enable:

Huawei-OLT(config)#interface gpon 0/0
Huawei-OLT(config-if-gpon-0/0)#port 0 ont-auto-find enable
Huawei-OLT(config-if-gpon-0/0)#port 1 ont-auto-find enable
Huawei-OLT(config-if-gpon-0/0)#port 2 ont-auto-find enable
Huawei-OLT(config-if-gpon-0/0)#port 3 ont-auto-find enable
Huawei-OLT(config-if-gpon-0/0)#port 4 ont-auto-find enable
Huawei-OLT(config-if-gpon-0/0)#port 5 ont-auto-find enable
Huawei-OLT(config-if-gpon-0/0)#port 6 ont-auto-find enable
Huawei-OLT(config-if-gpon-0/0)#port 7 ont-auto-find enable
Huawei-OLT(config-if-gpon-0/0)#quit
Huawei-OLT(config)#

Huawei-OLT(config)#interface gpon 0/1
Huawei-OLT(config-if-gpon-0/0)#port 0 ont-auto-find enable
Huawei-OLT(config-if-gpon-0/0)#port 1 ont-auto-find enable
Huawei-OLT(config-if-gpon-0/0)#port 2 ont-auto-find enable
Huawei-OLT(config-if-gpon-0/0)#port 3 ont-auto-find enable
Huawei-OLT(config-if-gpon-0/0)#port 4 ont-auto-find enable
Huawei-OLT(config-if-gpon-0/0)#port 5 ont-auto-find enable
Huawei-OLT(config-if-gpon-0/0)#port 6 ont-auto-find enable
Huawei-OLT(config-if-gpon-0/0)#port 7 ont-auto-find enable
Huawei-OLT(config-if-gpon-0/0)#quit
Huawei-OLT(config)#

Add a Static Route (optional):
Huawei-OLT(config)#ip route-static 0.0.0.0 0.0.0.0 192.168.x.x

Others Configure Huawei OLT:

Huawei-OLT(config)#timezone GMT+ 06:00

Huawei-OLT(config)#time date-format DD/MM/YYYY
Huawei-OLT(config)#snmp-agent sys-info contact shahed
Huawei-OLT(config)#snmp-agent sys-info location Dhaka,Bangladesh

Huawei-OLT.jpg

 

Telnet User Create:

Please follow bellow  link also for Configure Huawei OLT.

 

如果为新开小区,首先要知道:(开的端口,QINQVLAN,上网业务VLAN,IAD管理IP)可联系数据支撑要。 
                           (语音VLAN,语音IP,物理号码)可看工单信息。                             (设备的MAC)工程对提供或现场查看。  
1、CZ_HT_MA5606T(config)#vlan 1231 smart (创建VLAN)  
2、CZ_HT_MA5606T(config)#vlan attrib 1231 q-in-q(设置VLAN为QINQVLAN)  
3、CZ_HT_MA5606T(config)# port vlan 1231  0/1 0   (设置VLAN在上联口透传)  
4、CZ_HT_MA5606T(config)#  vlan  42 smart   (生成语音VLAN)  
5、CZ_HT_MA5606T(config)#  port vlan 42 0/1 1    (语音VLAN在上联口透传)  
6、CZ_HT_MA5606T(config)#  interface epon 0/3    (进入相应的EPON板)  
7、CZ_HT_MA5606T(config-if-epon-0/2)#ont add  2(端口) 27(ONT序号) mac-auth 0018-82C6-938C(设备MAC) profile-id 12(不变)desc "LiuPo_anzhifang1#1D"(描述)  
8、CZ_HT_MA5606T(config-if-epon-0/2)# ont ipconfig 2(端口)27(ONT序号)ip-address 220.180.76.116(管理IP) mask 255.255.255.0  gateway 220.180.76.1(网关) manage-vlan 13(管理VLAN)  
9、CZ_HT_MA5606T(config-if-epon-0/2)# quit  
10、CZ_HT_MA5606T(config)#  display  board 0/2(查看PON板下各端口设备上线情况)

 

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

Board Name          : H801EPBA                      

 Board Status        : Normal                          

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

Port                       Port type       

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

0                         EPON               

1                         EPON               

2                         EPON               

3                         EPON            

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

F/S/P  ONT-ID    MAC       Control     Run      Config     Match    Loopback                               

                                         Flag        State    State      State    State       

----------------------------------------------------------------------------- 
  0/ 2/0   0 0018-82C6-938C  active      up (已上线)      normal     match    disable