• 产品与解决方案
  • 行业解决方案
  • 服务
  • 支持
  • 合作伙伴
  • 关于我们

H3C P3600系列GPON OLT交换机 快速维护指南-6W101

01-正文

本章节下载 01-正文  (1.10 MB)

01-正文

目  

1 引言

1.1 文档目的

1.2 读者对象

1.3 名词解释

1.3.1 SFU与HGU

1.3.2 GPON命令视图

1.3.3 GPON与EPON

2 GPON配置指导

2.1 GPON技术简介

2.2 GPON网络模型

2.3 配置前的准备工作

2.3.1 光功率配置准备工作

2.3.2 VLAN配置准备工作

2.3.3 光模块配置准备工作

2.3.4 uni接口配置准备工作

2.3.5 获取SN码

2.4 注意事项

2.4.1 GPON OLT配置注意事项

2.4.2 配置指导和命令参考查询

2.4.3 光模块下挂ONU注意事项

2.4.4 OLT连接ONU注意事项

2.5 GPON配置步骤

2.6 硬件使用限制

3 设备升级指南

3.1 OLT升级指南

3.1.1 启动文件简介

3.1.2 软件升级方式简介

3.1.3 升级前的准备

3.1.4 通过命令行进行软件升级

3.1.5 常见问题及处理方式

3.2 ONU升级指南

3.2.1 H3C官方升级工具

3.2.2 EPON OLT

3.2.3 Web页面

3.2.4 设备升级功能

4 校园网典型配置举例(VLAN Trunk模式)

4.1 配置前提

4.2 组网需求

4.3 配置思路

4.4 配置步骤

5 VoIP语音业务配置举例

5.1 组网需求

5.2 配置规划

5.3 配置步骤

6 FAQ

6.1 ONU接上OLT后未成功注册,如何处理?

6.2 ONU设备有哪些常用命令?

6.3 GPON环境下ONU下面可以接交换机吗?

6.4 为什么ping GPON下面的设备,丢包严重?

6.5 常见报错信息及处理方法

6.6 OLT上MAJ告警指示灯亮了应该如何处理?

6.7 如何配置未知组播透传?

6.8 如何实现OLT横向互访?

7 ONU设备配置脚本示例

7.1 注意事项

7.2 常用命令

7.3 常用脚本示例

7.3.1 EGT304-TWB(4口GPON ONU)

7.3.2 EGT358-POTS(8口GPON ONU)

7.3.3 ET904-H(4口XGSPON ONU)

7.3.4 EGT904-H-TW(4口XGSPON/HGU ONU)

7.3.5 EGT924-H-R(24口XGSPON ONU)

7.3.6 EGT924-H-R(24口GPON ONU)

7.3.7 WA6520H-EGPON(1口GPON ONU+AP双合一款型ONU)

7.3.8 WA6320-H-XEPON(1口XGSPON ONU+AP双合一款型ONU)


1 引言

1.1  文档目的

本文档旨在为用户提供一份全面而详细的GPON配置指导、设备升级指南以及故障处理方法,帮助用户快速实现GPON网络的配置部署、设备升级以及日常故障处理。通过本文档,用户可以了解GPON系统的配置流程、升级步骤以及常见故障的排查与处理技巧,从而提升网络运营效率、保障网络安全稳定。

1.2  读者对象

本手册主要适用于如下工程师:

·     网络规划人员

·     现场技术支持与维护人员

·     负责网络配置和维护的网络管理员

1.3  名词解释

1.3.1  SFU与HGU

ONU设备分为SFU和HGU两类。

SFU与HGU的区分点如下。

·     SFU的网关是192.168.0.240,HGU的网关是192.168.1.1。

·     HGU需接通VLAN 46作为IMC的管理VLAN,SFU则不需要。

1.3.2  GPON命令视图

P3617/P3608/P3602使用分层命令结构(称为命令模式)。根据功能划分命令结构,每个命令模式提供CLI命令的子集。可用的CLI命令取决于当前激活的命令模式。

当用户首次登录,处于基本配置模式,命令模式如下所述。

1. 全局视图

该命令模式允许用户更改全局配置。根级别的Configure命令模式也称为Global Configuration(全局配置)命令模式,包含功能模板,L2,组播等配置,全局视图下的配置对全部slot单板,全部olt端口都生效。

访问方法:在OLT配置提示符 P3600#后执行configure命令。

根据不同的功能,进入相应的功能配置模式:

举例:

P3600(CONFIG)#l2

P3600(CONFIG/L2)#vlan

P3600(CONFIG/L2/VLAN)#

2. 线卡配置

线卡访问方法:在OLT配置提示符P3600#后执行slot <slot ID>命令。

举例:   P3600#slot 1

系统提示符为   P3600(Slot-1)#

说明

在上面的命令中,“1”表示线卡槽位号为1。

 

3. 线卡OLT配置

线卡OLT访问方法:

P3600(Slot-1)#后执行interface gpon-olt <module/port>命令可进入该模式。

P3600(Slot-1)#interface gpon-olt 1/1

P3600(Slot-1/if-gpon-olt-1/1)#

退出方法:在当前命令模式下输入exit

说明

在上面的命令中,“1/1”中第一个子卡号固定为1,后一个1表示PON端口,以实际端口号为准。

 

4. 线卡ONU配置

ONU配置模式是OLT配置命令模式的子模式,用于配置ONU参数。

访问方法:在OLT配置提示符P3600(Slot-1/if-gpon-olt--<module/port>)#后执行ont < onu ID>命令可进入该模式。

举例:P3600(Slot-1/if-gpon-olt-1/1)#ont 1

系统提示符为P3600(Slot-1/if-gpon-olt-1/1/1)#

退出方法:在当前命令模式下输入exit

说明

在上面的提示符中,“1/1/1”示OLT子卡号1、端口号1和ONU ID号1,这些数字以实际端口和ONU ID为准。

 

1.3.3  GPON与EPON

GPON与EPON的区别如表1-1所示。

表1-1 GPON与EPON区别表

特性

GPON

EPON

通道数量

GPON支持创建多条通道。一条通道包含多组VLAN,这条通道(VLAN组)联通多条VLAN。此通道技术称为Virtual Port

EPON仅支持创建1条通道

流量处理

GPON不支持横向流量传输。需要通过网关转发到达类似横向转发的效果

EPON可在内部实现横向流量传输。无需通过网关实现流量转发

传输距离

GPON传输距离更远

 


2 GPON配置指导

2.1  GPON技术简介

GPON(Gigabit PON 千兆无光源网络)是PON技术的一种,主要基于ITU-T G 984系列标准。相比于其他网络技术,GPON具有以下优势:

·     满足高带宽需求,最高可以为ONU提供下行10Gbps,上行10Gbps的带宽。

·     长距离接入,可支持20km的距离传输。

·     支持宽带上网、IPTV、VoIP等业务同时接入。

·     无源ODN(Optical Distribution Network,光分配网络)中无需维护有源设备,光纤和无源分光器不受电磁干扰和雷电影响,故障点少。

·     点到多点(P2MP)的网络结构支持弹性扩容。

2.2  GPON网络模型

图2-1所示,GPON可以在同一网络拓扑中同时承载Internet、VoIP以及IPTV三种业务类型,实现“三网合一”,GPON的典型网络模型包括如下几个部分:

·     OLT(Optical Line Terminal,光线路终端):GPON系统的核心设备,一般放置在中心机房,用于统一管理ONU,并将接入业务汇聚和传递到IP网。

·     ONU(Optical Network Unit,光网络单元):GPON系统的用户端设备,用于连接用户PC、机顶盒、交换机等,通常放置在用户家中、楼道或道路两侧,负责响应OLT发出的管理命令,并将用户数据转发到OLT。

·     ODN(Optical Distribution Network,光分配网络):由光纤和一到多个POS(Passive Optical Splitter,无源光纤分支器)等无源光器件组成,在OLT和ONU间提供光信号传输通道。其中,POS用于将上行数据汇聚到一根光纤上,并将下行数据分发到各个ONU。通过分光设备,OLT设备使用一个物理接口就可以为多台ONU提供上行数据接入,理论上,GPON网络的最大分光比可以达到1:128,即OLT设备使用一个物理接口就可以为128台ONU提供上行数据接入。

图2-1 GPON典型网络模型示意图

 

2.3  配置前的准备工作

配置GPON网络前需熟悉本章内容。配置前的准备工作包括以下内容。

·     光功率配置准备工作

·     VLAN配置准备工作

·     光模块配置准备工作

·     uni接口配置准备工作

·     获取SN码

2.3.1  光功率配置准备工作

H3C ONU设备工作的建议光功率区间如所示。超出建议光功率区间ONU设备易出现丢包现象。

表2-1 ONU设备建议光工作区间表

ONU工作状态

光功率区间

注册

-15dbm~-20dbm

运行

-15dbm~-20dbm

 

说明

光功率计不随设备发货,请用户自备光功率计。

 

可使用光衰减器调整光功率的大小。

光衰减器是一种对光功率进行衰减的器件,主要用于光纤系统的信号衰减。它可按用户的要求将光信号能量进行预期地衰减,常用于吸收或反射掉光功率余量。

在采购光衰减器时,为了确保能满足不同场景下的需求,建议同时购买两种类型的接口:公母头和母母头。其中,公母头(也称为阴阳式)主要用于连接ONU(光网络单元)和光纤;而母母头(也被称为法兰式)则通常用于光纤与光纤之间的连接。

此外,由于光衰减的情况各不相同,为了确保在各种场景下都能有合适的光衰减器可用,建议购买不同衰减量的光衰减器,包括2db、3db、5db、7db和10db等型号。这样,无论是需要微调光信号强度还是大幅度衰减光信号,都能找到合适的设备。

2.3.2  VLAN配置准备工作

1. 规划VLAN

在进行网络设计和部署时,VLAN规划的确认至关重要。鉴于GPON技术的特殊配置要求,一旦配置完成,后续的修改将是一个复杂且耗时的过程。更具体地说,若需要对已配置好的GPON网络进行调整,不仅需要相当长的时间来完成,而且在实际操作过程中,可能需要中断网络服务。这是因为在修改配置时,通常需要将ONU的配置逐一删除,然后再逐个重新添加。

2. 划分VLAN

划分VLAN时需要关注以下事项。

·     HGU设备必须使用VLAN 46作为管理VLAN。为确保设备的正常管理,VLAN 46应当保持空闲状态,不承载其他数据流量。

·     每个VLAN下挂接的ONU数量应当受到限制,以避免因过多ONU同时发送ARP等协议报文而对设备造成性能影响。

·     建议一层楼使用一个独立的VLAN,以降低VLAN的运行压力。这种优化策略有助于减少网络拥堵,防止因负载过高而导致ONU大规模掉线。

3. 配置VLAN

需要对网络进行精细化的配置,确保ONU只能访问特定的VLAN,避免不必要的开通。

若授权给ONU的VLAN数量过多,或已授权的VLAN下连接了过多的终端,最终将导致与ONU相连通的终端数量激增。在这种情境下,大量终端同时发送ARP等协议报文,有可能对ONU的CPU造成压力,进而引发ONU的故障,甚至可能诱发大规模的网络问题。因此,请务必对此情况给予充分关注,以防范潜在的安全风险。

表2-2为错误配置示范。

表2-2 错误配置示范

ONU编号

ONU绑定的模板

gpon profile flow

VLAN

Virtual Port

onu上授权的VLAN总数

可能的问题

Onu1,需授权VLAN 1000-1010

Service flow-profile 3

flow id 3 1

1000-1010

vport 1

1000-1010

2000-2010

授权VLAN过多,可造成onu压力过大。

 

Onu2,需授权VLAN 2000-2010

flow id 3 2

2000-2010

vport 2

1000-1010

2000-2010

 

onu1onu2绑定的service是同一个flow-profile 3,即onu1onu2均授权了flow3绑定的VLAN1000-1010,2000-2010。配置信息如下。

Gpon Profile flow

gpon profile flow id 3 1 name flow3 vlanId 1000 1010 pri-bitmap 0xff vport 1

gpon profile flow id 3 2 name flow3 vlanId 2000 2010 pri-bitmap 0xff vport 2

 

ont 1

service flow-profile 3 tcont-bind-profile 3 svc-type n_p

 

ont 2

service flow-profile 3 tcont-bind-profile 3 svc-type n_p

表2-3为正确配置示范。

表2-3 正确配置示范

ONU编号

ONU绑定的模板

gpon profile flow

VLAN

Virtual Port

onu上授权的VLAN总数

Onu1,需授权VLAN 1000-1010

Service flow-profile 3

flow id 3 1

1000-1010

vport 1

1000-1010

Onu2,需授权VLAN 2000-2010

Service flow-profile 4

flow id 4 1

2000-2010

vport 1

2000-2010

 

onu1和onu2分别配service 3和service 4,其中onu1 授权了flow3绑定的VLAN1000-1010,onu2授权了flow4绑定的VLAN2000-2010,以达到onu精准授权VLAN,减少了ONU设备CPU压力。相关配置信息如下。

Gpon Profile flow

gpon profile flow id 3 1 name flow3 vlanId 1000 1010 pri-bitmap 0xff vport 1

gpon profile flow id 4 1 name flow4 vlanId 2000 2010 pri-bitmap 0xff vport 1

 

ont 1

service flow-profile 3 tcont-bind-profile 3

 

ont 2

service flow-profile 4 tcont-bind-profile 4

 

4. 其他注意事项

在ONU设备上,VLAN 1~VLAN 24不被允许使用,这是由于ONU自身的限制,而非OLT的限制。具体来说,ONU的UNI接口(uni1和uni2)分别携带VLAN 1和VLAN 2的标识。这些VLAN标识是ONU内部芯片识别报文来源的关键。CPU通过识别这些VLAN标签,确定报文是从哪个UNI口进入的。

鉴于目前市场上最多端口的ONU设备为ET924-H-POE,拥有24个UNI接口,因此VLAN 1-24不能被用于数据传输。这是因为如果使用了这些VLAN,将会与ONU内部用于识别报文来源的VLAN标签发生冲突,导致网络运行不稳定或出现不可预见的故障。

2.3.3  光模块配置准备工作

2.3.4  uni接口配置准备工作

在onu视图下,uni接口配置可用ont-vlan或者port-vlan二种方法中的其中一种。两种配置方法均可实现同一配置结果,但是两种方法不可混用。以下为方法混用示例。

ont 1

description "ONT-1"

 virtual-port 1 encrypt disable

 service flow-profile 3 tcont-bind-profile 3 svc-type n_p

 port-vlan 1 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

 port-vlan 2 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

 port-vlan 1 rule 1 untag add-vid inner-pri 0 inner-vid 606 inner-tpid mode4 ether-type 0

 port-vlan 2 rule 1 untag add-vid inner-pri 0 inner-vid 606 inner-tpid mode4 ether-type 0

 ont-vlan eth-uni 3 up-mode add-vid down-mode delete-vid up-pri 0 up-vid 606

 ont-vlan eth-uni 4 up-mode add-vid down-mode delete-vid up-pri 0 up-vid 606

方法混用会造成配置时间可能造成ONU业务转发异常、随机流量不通等问题。推荐使用port-vlan的配置方法。

2.3.5  获取SN

说明

ONU设备上一般由两个SN码标识。其中2198开头的SN码实际为保修码;H3CT XXXX XXXX的SN码为注册用SN码。

 

ONU设备的SN码需关注以下注意事项。

·     GPON搭建施工前建议提前记录ONU设备的SN码。因为ONU设备安装在机柜后获取设备的SN码比较困难。

·     ONU设备安装后建议记录ONU设备位置、SN码及设备MAC地址,便于后期维护。

2.4  注意事项

2.4.1  GPON OLT配置注意事项

GPON OLT不支持三层业务,也不支持配置网关,GPON OLT只作为二层透传设备。如果涉及三层业务的配置,比如网关、ARP代理等,请在核心交换机上配置。

2.4.2  配置指导和命令参考查询

配置P3600 GPON时所用命令详见H3C官网《H3C P3600系列GPON OLT交换机 配置指导》和《H3C P3600系列GPON OLT交换机 命令参考》。

2.4.3  光模块下挂ONU注意事项

一个光模块下挂的onu不得超过30个,一般一个光模块下挂16个onu左右为较优配置。

2.4.4  OLT连接ONU注意事项

P3600安装线卡前,请确保已熟读《H3C P3600系列GPON OLT交换机 安装指南》。

光模块规格一定要要与ONU一致,否则会出现ONU注册不上的问题。

H3C支持的XSGPON/GPON光模块如表2-4所示。

表2-4 XSGPON/GPON光模块及支持板卡

光模块类型(10G)

支持的板卡

SFP-XGSPON&GPON-C+-D-SM1577

P3600 XGFSA板卡

P3600 XGFCA板卡

 

H3C支持的GPON光模块如表2-5所示。

表2-5 GPON光模块及支持板卡

光模块类型(1G)

支持的板卡

·     SFP-GPON-B+-D-SM1490

·     SFP-GPON-C+-D-SM1490

·     SFP-GPON-C++-D-SM1490

P3600 GPFB板卡

 

GPON、XG PON和XGS PON的上下行速率不同,具体上下行速率如表2-6所示。

表2-6 PON上下行速率表

PON类型

上行速率

下行速率

GPON

1.244Gbits/s

2.488Gbits/s

XG PON

2.488Gbits/s

9.953Gbits/s

XGS PON

9.953Gbits/s

9.953Gbits/s

 

因此10G OLT与1G OLT的光模块不能混插,否则会导致光的波长混乱,ONU将难以区分OLT是1G还是10G类型,进而引发读取模式错误,造成注册失败。特别是在EGT354-P设备中,此类问题可能表现为反复重启。

OLT的光模块与ONU的光模块亦不可混用。错误地将ONU或EPON的光模块接入GPON网络,这同样可能导致注册失败。因此,在使用前,请仔细核对光模块的类型和适用场景,避免由于误用造成的注册问题。

使用非H3C品牌的光模块也存在注册风险。H3C的OLT仅支持H3C的光模块,如果olt的光模块不是H3C生产的,可能会因为兼容性问题导致注册不上。为确保设备正常运行,请优先使用H3C指定的光模块。

ONU分为1G ONU和10G ONU,ONU分类如表2-7所示。

表2-7 ONU型号及分类

ONU型号

ONU分类

EGT358-P

1G ONU(GPON)

EGT358-POTS

1G ONU(GPON)

ET358-P

1G ONU(GPON)

ET354-POTS

1G ONU(GPON)

EGT354

1G ONU(GPON)

EGT354-P

1G ONU(GPON)

EGT304

1G ONU(GPON)

EGT304-2T

1G ONU(GPON)

EGT301-T

1G ONU(GPON)

EGT304-TWB

1G ONU(GPON)

WA6520H-EGPON

1G ONU(GPON)

EGT924-H-R

10G ONU(XGSPON)

ET924-H-POE

10G ONU(XGSPON)

ET916-A

10G ONU(XGSPON)

ET916-H-A

10G ONU(XGSPON)

ET908-H-P

10G ONU(XGSPON)

ET908-H-PQ

10G ONU(XGSPON)

ET908-H-PD

10G ONU(XGSPON)

ET908-H-8TW

10G ONU(XGSPON)

EGT904-H-TW

10G ONU(XGSPON)

ET904-H

10G ONU(XGSPON)

ET904-H-P

10G ONU(XGSPON)

WA6320-H-XEPON

10G ONU(XGSPON)

 

2.5  GPON配置步骤

GPON配置一般按照以下步骤配置。

·     配置ONU注册

·     配置上联端口和VLAN

·     配置Flow模版

·     配置DBA模版

·     GPON模版应用到ONU

·     配置VLAN转换

GPON基础配置步骤详见表2-8

表2-8 GPON配置步骤

步骤

说明

操作

配置ONU注册

当OLT开启SN认证,需要配置绑定ONU SN和ONU ID。

配置ONU SN和ONU ID绑定

查看ONU注册状态

配置上联端口和VLAN

GPON OLT连接核心的端口

联通配置GPON所需的VLAN

配置Flow模版

Flow模板用于描述上行流属性。

创建dba速率模板

Flow模板绑定dba速率模板。

配置DBA模版

DBA模板用于描述DBA(上行动态带宽分配)属性,包括T-CONT 类型,带宽参数值。ONU注册会自动分配小部分带宽用于协议通信。

GPON模版应用到ONU

GPON模板配置完成后,可供所有ONU使用。需要将所配置的模板下发到ONU,ONU接收模板信息,完成本地设置以后即可生效。

绑定Flow模板

配置uni接口的pvid

配置VLAN转换

GPON系统上的流以GEM Port标识,交换机上需要将GEM Port映射到相应的VLAN

配置VLAN转换

 

2.6  硬件使用限制

表2-9 硬件支持列表

产品系列

产品型号

描述/属性

支持角色

版本

P3608_P3617

MYCA

P3608_P3617控制交换板

OLT

E1003

PCU1S

P3600系统监控板

-

XGFCA

P3600 16*GPON/XG(S)PON业务板

E1003

XGFSA

P3600 16*XG(S)PON业务板

E1003

GPFB

P3600 16*GPON业务板

E1003

YEDA

P3600 8*25G上联接口板

E1003

CEBA

P3600 2*100G上联接口板

E1003

P3602

MXCB

P3602控制交换板

OLT

E1003

XGFCA

P3600 GPON/XG(S)PON业务板

E1003

XGFSA

P3600 XG(S)PON业务板

E1003

GPFB

P3600 GPON业务板

E1003

ONU

GPON

上行带宽最大1.25G,下行带宽最大2.5G

ONU

-

XGPON

上行带宽最大2.5G,下行带宽最大10G

-

XGSPON

上行带宽最大10G,下行带宽最大10G

-


3 设备升级指南

3.1  OLT升级指南

3.1.1  启动文件简介

启动文件是用于引导设备启动的程序文件。若P3600设备的程序文件是P3600A-E1002.rar,则程序文件是压缩格式。解压后是设备实际使用的版本文件P3600A-E1002.ipe。

3.1.2  软件升级方式简介

表3-1 软件升级方式简介

升级方式

说明

通过命令行进行软件升级

·     需要重启设备来实现设备软件的升级。

·     使用该方式升级设备软件时会导致当前业务中断。

 

3.1.3  升级前的准备

1. 准备升级环境

在升级交换机启动文件前,请完成如下准备工作:

·     配置交换机与文件服务器路由可达。

·     开启文件服务器的TFTP功能。

·     通过配置终端登录到交换机的命令行配置界面中。

·     将交换机的升级启动文件拷贝到文件服务器上,并正确设置TFTP的访问路径。

注意

·     升级交换机的启动文件后,需要重新启动交换机,在重启过程完成前,交换机的各项业务功能将不可用。

·     P3600A-E1002.ipe是3617 3608的版本,p3600B-e1002.ipe是3602的版本,根据olt型号不同需要进行不同的选择。

 

3.1.4  通过命令行进行软件升级

1. P3600使用TFTP协议升级交换机的启动文件

交换机作为TFTP Client,访问TFTP文件服务器的制定路径,完成启动文件的备份及升级操作,以P3602设备为例,具体操作步骤如下。

(1)     备份当前启动文件和配置文件

# 在命令行配置界面的任意视图下,执行save命令保存交换机当前配置信息。

P3600#save config

Are you sure you want to save the configuration ? (yes or no)

y

..save success!

说明

在保存配置之前,务必确保PON板处于正常工作状态(即up状态)。如果PON板未正常上线,保存操作可能会引发未知错误。若遇到此类问题,需执行erase config命令擦除配置,并随后进行重启操作。

 

# 在命令行配置界面的用户视图下,执行show file命令查看交换机当前的文件系统,确认启动文件及配置文件名,以及Flash的剩余空间,保证Flash有足够空间放入新的启动文件。

P3600#show file

/active/tftpboot:

1970-01-01 00:08:25  <DIR>         0  /tftpboot

1970-01-01 00:01:28            14036  /tftpboot/.namemap.dat

2021-05-25 05:41:07            37209  /tftpboot/CPT_Tones.dat

2021-09-27 10:40:11            18259  /tftpboot/CSM1G-logic.bit

1970-01-01 00:00:58  <DIR>         0  /tftpboot/DATA

1970-01-01 00:00:58  <DIR>         0  /tftpboot/HTML

1970-01-01 00:00:58  <DIR>         0  /tftpboot/PRIVATE

1970-01-01 00:00:58  <DIR>         0  /tftpboot/PROGRAM

1970-01-01 00:00:58  <DIR>         0  /tftpboot/SYSTEM

1970-01-01 00:01:25                2  /tftpboot/ZTD.done

1970-01-01 00:01:00               15  /tftpboot/chassisType.txt

1970-01-01 18:26:51         13070720  /tftpboot/csm1g.ipe

2021-11-03 07:25:34           546565  /tftpboot/dump.tar.gz

1970-01-01 00:08:23               40  /tftpboot/env.dat

1970-01-01 00:00:12  <DIR>        40  /tftpboot/getbulk

1970-01-01 00:35:04          6143638  /tftpboot/gpn2.ipe

1970-01-01 00:08:20             3115  /tftpboot/lc0004.cfg

1970-01-02 02:23:41              774  /tftpboot/list_file

1970-01-01 00:05:02  <DIR>        60  /tftpboot/pm

1970-01-01 00:05:02              409  /tftpboot/pm/_pm_1_1.0_0_3_5m.gz

2021-07-14 11:56:13               50  /tftpboot/portsInfo.csv

2021-09-01 07:05:03                0  /tftpboot/reset_file0

1970-01-02 02:23:53             4550  /tftpboot/reset_log

2021-11-23 10:50:21               94  /tftpboot/sys_version_file

2021-06-02 05:12:43           121390  /tftpboot/sysbak.gz

1970-01-01 00:08:25            69108  /tftpboot/sysconfig.gz

1970-01-01 00:08:23                4  /tftpboot/system.info

2021-05-25 05:41:07              396  /tftpboot/system.key

Total Flash Size   :  6823424 Kbytes

Flash Used Size    :  1240872 Kbytes

Flash Unused Size  :  5582552 Kbytes

P3602#show file standby

/standby/tftpboot:

1970-01-01 00:02:43            14036  /stdby/tftpboot/.namemap.dat

2021-08-25 13:10:26            37209  /stdby/tftpboot/CPT_Tones.dat

2021-09-27 03:06:51            18259  /stdby/tftpboot/CSM1G-logic.bit

1970-01-01 00:00:57  <DIR>         0  /stdby/tftpboot/DATA

1970-01-01 00:00:57  <DIR>         0  /stdby/tftpboot/HTML

1970-01-01 00:00:57  <DIR>         0  /stdby/tftpboot/PRIVATE

1970-01-01 00:00:57  <DIR>         0  /stdby/tftpboot/PROGRAM

1970-01-01 00:00:57  <DIR>         0  /stdby/tftpboot/SYSTEM

1970-01-01 00:02:40                2  /stdby/tftpboot/ZTD.done

1970-01-01 00:00:59               15  /stdby/tftpboot/chassisType.txt

2021-11-03 10:39:49           247019  /stdby/tftpboot/dump.tar.gz

2021-08-31 03:27:02               40  /stdby/tftpboot/env.dat

1970-01-01 00:00:11  <DIR>        40  /stdby/tftpboot/getbulk

1970-01-01 18:25:18                0  /stdby/tftpboot/list_file

1970-01-01 18:25:08  <DIR>       100  /stdby/tftpboot/pm

2021-09-24 04:45:06             3435  /stdby/tftpboot/reset_log

2021-09-10 06:54:49               93  /stdby/tftpboot/rfs.rar.gz

2021-11-01 11:47:57              271  /stdby/tftpboot/sys_version_file

2021-08-31 03:27:02                4  /stdby/tftpboot/system.info

2021-08-25 13:10:26              396  /stdby/tftpboot/system.key

2021-09-08 10:14:48  <DIR>         0  /stdby/tftpboot/whc

2021-09-08 10:16:16              578  /stdby/tftpboot/whc.tar.gz

Total Flash Size   :  6823424 Kbytes

Flash Used Size    :  1240872 Kbytes

Flash Unused Size  :  5582552 Kbytes

(2)     升级启动文件

# 在命令行配置界面的用户视图下,执行download命令将启动文件P3600A-E1002.ipe导入到交换机的Flash卡中。

P3600#download ip 10.230.9.1 src P3600A-E1002.ipe dst /tftpboot/ipe/P3600A-E1002.ipe

begin download file from tftp server,please wait...

download 10% ......

download 20% ......

download 30% ......

download 40% ......

download 50% ......

download 60% ......

download 70% ......

download 80% ......

download 90% ......

download /tftpboot/P3600A-E1002.ipe success .

说明

IP地址是指本地电脑的IP地址。确保在本机上启动3cdaemon服务,以便进行文件传输。在指定源文件(src)时,请准确填写需要传输的升级文件名。目标路径(dst)应手动输入为“/tftpboot/ipe/升级文件”,其中“/tftpboot/ipe/”必须用小写字母手动键入,并确保升级文件被放置在“ipe”文件夹内。若文件放置位置不正确,可能导致无法找到升级文件。

 

(3)     在命令行配置界面的用户视图下,升级主控。

# 配置主备同步。

P3602#manual-sync CSM

# 确认主备板同步成功,Status都为Synchronized

P3602#show sync

CSM Sync Configuration        :   Enable

CSM Sync Status                :   Synchronized

CSM Manual Sync Status        :   Synchronized

# 升级主控和备控

P3602#commit-image both version E1002

Commit Active Operation done.

Command Standby Operation done.

Please use command "show image-commit-status" to check commit status!

说明

双主控升级commit-image命令后跟参数both,单主控commit-image命令后跟参数active。

 

P3602#show image-commit-status

Location            Module Status       Commit Status

Slot A              Active              Successful

Slot B              Standby             Successful

说明

升级主控,“show image-commit-status”命令显示“Commit Status”需显示Successful后,才可升级线卡。

 

(4)     在命令行配置界面的用户视图下,升级线卡。

# 查看所有线卡信息

P3608#show slot

Sh-S Module     Ava O Hardware Ver        SW Ver      Serial Number        UP Time

1-3  GPFB       MAT U GN0206030503:A5     E1006       1012022061300013     5 days 00:53:50

1-4  XGFSA      MAT U GN0206030504:A2     E1006       1012022062200004     5 days 00:53:17

1-7  XGFCA      MAT U 9801A48Q:A0         E1006       219801A48Q5233F0000F 5 days 00:53:23

1-A  MYCA(A)    MAT U GN0206030340:A3     E1006       0000000000000000     5 days 00:58:35

1-B  MYCA(S)    MAT U 9801A48L:A0         E1006       219801A48L522AF00001 5 days 00:58:21

1-P2 PDC1A      MAT U 9802A02N:N/A        N/A         219802A02N522AF00002 N/A

1-IO PCU1S      MAT U GN0206030500:A0     ...     1012022041100024     N/A

1    FAN3A      MAT U GN0206021480:A0     N/A         1012021101400005     N/A

1    OPA-P3608  MAT U GN0206021471:A0     N/A         1052022051900002     N/A

# 升级线卡

P3600#upgrade-lc slot 3 verion E1002

Find Package: /ipe/ P3600A-E1002.ipe, try to open the package...

Package open successful!

begin upload image to line card 3,please wait...

upload 10% ......

upload line card image success.

write to flash, please wait...

write flash 10% ......

write flash 20% ......

write flash 30% ......

write flash 40% ......

write flash 50% ......

write flash 60% ......

write flash 70% ......

write flash 80% ......

write flash 90% ......

write flash 100% ......

write flash success.

 

(5)     重启设备

# 升级完主控和线卡后,在命令行配置界面的用户视图下,执行resetnode命令重启交换机。

P3600#resetnode

Warning:Reset node will make the node disconnet and call will interrupt.

Are you sure you want to reset the node (y/n)? y

Reseting the CSM ...

# 交换机重启后,查看是否升级成功。

P3600# show board

Sh-S Module     Ava O Hardware Ver      SW Ver      Serial Number    UP Time

1-5  GPFA       MAT U XGN0206030328:A1  E1002       1012020040300450 0 days 00:01:35

1-A  MXCA(A)    MAT U GN0206030340:B0   E1002       1012020033000015 0 days 00:40:56

1-B  MXCA(S)    MAT U GN0206030340:B0   E1002       1012020033000026 0 days 00:40:58

1-P1 P3600-PWRA MAT U 2424552505:A4     N/A         1012013052800390 N/A

1-P2 P3600-PWRA MAT D 2424552505:A4     N/A         1012013052800353 N/A

1    FAN1A      MAT U GN2424525305:A7   N/A         1042017070600071 N/A

1    BKP1G      MAT U GN0206021232:A2   N/A         1012017101400042 N/A

3.1.5  常见问题及处理方式

1. 主控板串口无响应

检查串口电缆是否完好,串口属性设置是否设置正确(115200bps)。

2. TFTP上传配置文件或主机程序失败

按照以下步骤检查。

(1)     检查配置是否正确,FTP Server是否启动。

(2)     检查Flash的剩余空间是否足够保存被上传的文件。

3. 升级时flash空间不够,如何删除FLASH中的无用文件?

删除主用主控文件。

P3602#no file /tftpboot/ipe/P3600A-E1002.ipe

Are you sure you want to delete this file (y/n)?

y

delete /tftpboot/ipe/P3600A-E1002.ipe success.

删除备用主控文件。

P3602#no file /stdby/tftpboot/ipe/P3600A-E1002.ipe

Are you sure you want to delete this file (y/n)?

y

delete /stdby/tftpboot/ipe/P3600A-E1002.ipe success.

3.2  ONU升级指南

可采用以下ONU升级方式完成ONU设备升级。

·     H3C官方升级工具

·     EPON OLT

·     Web页面

·     设备升级功能

在安装并使用ONU设备前,建议根据实际情况提前确认ONU设备升级方式。

3.2.1  H3C官方升级工具

仅支持IP host的ONU设备可通过H3C官方升级工具完成ONU升级。

说明

·     H3C官方升级工具可联系H3C技术支持获取。

·     使用H3C官方升级工具过程中需保证ONU设备与Host设备间网络稳定。

 

3.2.2  EPON OLT

用户可先将ONU设备下挂至EPON OLT设备下,完成ONU设备升级后切换回GPON模式。仅支持自动切换EPON/GPON模式的ONU设备支持此升级方式。

3.2.3  Web页面

用户可通过ONU设备的Web管理页面完成设备升级。

3.2.4  设备升级功能

可使用P3600设备自带的升级功能完成ONU设备逐台升级。

P3617/P3608/P3602提供CLI命令升级ONU。支持两种模式升级ONU。

需要注意的是,当ONU设备连接在GPFB板卡下时,若升级文件大小超过13MB,则无法通过P3600自带的升级功能进行升级。

P3600设备自带的升级功能操作步骤如下。

(1)     上传ONU升级文件至OLT Flash /tftpboot/目录。

P3600# download ip <ip> src <filename> dst /tftpboot/<filename>

(2)     查看文件是否上传成功。

P3600# show file

(3)     查看ONU Equipment ID和Vendor Product Code。

P3600# brief-show slot x interface gpon-olt 1/y ont z brief

(4)     ONU升级。可视实际情况选择手动升级或自动升级。

·     手动升级

¡     进入ONU升级配置模式

P3600(Slot-5)# ont-upgrade

¡     执行升级

P3600(Slot-5/ont-upgrade)# manual-upgrade 1/2/15 filename <filename> equip-id <”equip-id”>

对于非H3C ONU设备,必须输入Equipment ID。Equipment ID可使用brief-show slot命令查看。

¡     查看升级配置和结果

P3600#brief-show slot 5 interface gpon-olt 1/2 ont-upgrade-config

P3600#brief-show slot 5 interface gpon-olt 1/2 ont-upgrade-status

ONT       Status

1         SUCCESS

·     自动升级

¡     进入升级配置模式配置,配置FTP 服务器,升级文件名,ONU类型

P3600(Slot-5)# ont-upgrade

P3600(Slot-5/ont-upgrade)# auto-upgrade <mod/port/ont> filename <filename> start-time <start-time> equip-id <equipment-id>

如下例配置,表示从1点开始执行升级。

P3600(Slot-5/ont-upgrade)# auto-upgrade 1/1/1-2 filename onu_image start 1 equip-id ONU123

对于非H3C ONU设备,必须输入<equip-id>,“Equipment ID”可使用命令brief-show slot x interface gpon-olt 1/y ont z brief查看。

¡     查看升级配置和结果

P3600#brief-show slot 5 interface gpon-olt 1/1 ont-upgrade-config

P3600#brief-show slot 5 interface gpon-olt 1/1 ont-upgrade-status

ONT       Status

1        SUCCESS

2        SUCCESS

说明

如果在升级过程中遭遇失败,请务必核实您上传的升级文件是否准确无误且未受损。


4 校园网典型配置举例(VLAN Trunk模式)

4.1  配置前提

本典配举例的配置均是在实验室环境下进行的配置和验证,配置前设备的所有参数均采用出厂时的缺省配置。如果您已经对设备进行了配置,为了保证配置效果,请确认现有配置和以下举例中的配置不冲突。

4.2  组网需求

图4-1所示。某校园网使用ONU设备连接校园内所有网络设备,要求:

·     通过GPON OLT远程管理ONU设备。

·     各网络设备各自使用不同的VLAN不同VLAN来隔离上网流量,这些VLAN的报文可以通过GPON网络转发到外部互联网。

图4-1 GPON校园无线网组网图

 

4.3  配置思路

本典型配置GPON OLT使用P3600,ONU设备使用EGT358-P。进行如下配置:

·     将ONU设备绑定到OLT

·     分配ONU设备UNI端口、VLAN给校园网网络设备。具体VLAN分配详见表4-1

表4-1 组网业务规划

ONU类型

UNI端口

业务设备

VLAN

Vport端口映射

EGT358-P(8个uni口)

uni1~uni5

Host设备

31

vport 1

uni6

广播

32

vport 2

uni7

监控

33

vport 3

uni8

AP设备

34(业务VLAN)

vport 4

44(管理VLAN)

vport 5

 

4.4  配置步骤

(1)     OLT绑定ONU设备

# 进入板卡视图

P3600#Slot 3

# 将两台EGT358-P绑定到OLT上4号光模块的ONU接口。本例中使用自动绑定ONU功能。

P3600(Slot-3)# interface gpon-olt 1/4

P3600(Slot-3/if-gpon-olt-1/4)#

P3600(Slot-3/if-gpon-olt-1/4)# auto-register

(2)     OLT配置端口聚合

# 创建名称为1,成员端口为xge1和xge2的trunk1。trunk1为静态链路聚合方式,负载分担模式为srcdstMAC

P3600#configure l2 port trunk 1 1 interface "xge 1,2" srcdstMAC static

# 确认端口状态

P3600(CONFIG/L2/PORT)#show port interface xge 1

(3)     OLT配置VLAN

# 创建VLAN31~VLAN34和VLAN44。

P3600#configure l2 vlan vid 31 name 31

P3600#configure l2 vlan vid 32 name 32

P3600#configure l2 vlan vid 33 name 33

P3600#configure l2 vlan vid 34 name 34

P3600#configure l2 vlan vid 44 name 44

# 配置端口使能

P3600# configure

P3600(CONFIG)# l2

P3600(CONFIG/L2)# port

P3600(CONFIG/L2/PORT)# enable interface xge 1

# 确认端口状态

P3600(CONFIG/L2/PORT)#show port interface xge 1

# 配置VLAN tag

P3600#configure l2 vlan interface trunk 1 vid 31 tag

P3600#configure l2 vlan interface trunk 1 vid 32 tag

P3600#configure l2 vlan interface trunk 1 vid 33 tag

P3600#configure l2 vlan interface trunk 1 vid 34 tag

P3600#configure l2 vlan interface trunk 1 vid 44 tag

(4)     创建Flow模板

# 进入板卡视图

P3600#Slot 1

# 创建5条flow模板映射VLAN和vport端口。

P3600(Slot-1)# gpon profile flow id 2 1 name flow_2 uni-type ethernet-uni uni-bitmap 0xff upmap-type vlanId 31 31 pri-bitmap 0xff vport 1

P3600(Slot-1)# gpon profile flow id 2 2 name flow_2 uni-type ethernet-uni uni-bitmap 0xff upmap-type vlanId 32 32 pri-bitmap 0xff vport 2

P3600(Slot-1)# gpon profile flow id 2 3 name flow_2 uni-type ethernet-uni uni-bitmap 0xff upmap-type vlanId 33 33 pri-bitmap 0xff vport 3

P3600(Slot-1)# gpon profile flow id 2 4 name flow_2 uni-type ethernet-uni uni-bitmap 0xff upmap-type vlanId 34 34 pri-bitmap 0xff vport 4

P3600(Slot-1)# gpon profile flow id 2 5 name flow_2 uni-type ethernet-uni uni-bitmap 0xff upmap-type vlanId 44 44 pri-bitmap 0xff vport 5

# 配置编号为2,名称为newprof,类型为最大带宽的DBA模版。DBA模版的最大带宽为9953280 Kbit/s。

P3600(Slot-1)#gpon profile dba id 2 name newprof_dba_2 type4 max 9953280

# 创建一条tcont svc模板到所有板卡,关联DBA模版。dba-id的选择对应之前配置中的dba id。

P3600(Slot-1)#gpon profile tcont-svc id 2 name newprof_tcontsvc_2 dba-id 2

# 创建与Flow模版对应的tcont-bind模板。

P3600(Slot-1)# gpon profile tcont-bind id 2 v-port 1 name tcontbind_1 vportsvc-id 1 tcont-id 1 tcontsvc-id 2

P3600(Slot-1)# gpon profile tcont-bind id 2 v-port 2 name tcontbind_1 vportsvc-id 1 tcont-id 1 tcontsvc-id 2

P3600(Slot-1)# gpon profile tcont-bind id 2 v-port 3 name tcontbind_1 vportsvc-id 1 tcont-id 1 tcontsvc-id 2

P3600(Slot-1)# gpon profile tcont-bind id 2 v-port 4 name tcontbind_1 vportsvc-id 1 tcont-id 1 tcontsvc-id 2

P3600(Slot-1)# gpon profile tcont-bind id 2 v-port 5 name tcontbind_1 vportsvc-id 1 tcont-id 1 tcontsvc-id 2

说明

·     创建Flow模板和tcont-bind模板前可以先查看模板配置是否只有默认配置,如果设备存在相同id的模板,新建模板会下发失败。需要删除旧模板并重新创建新模板。

·     可使用no gpon profile flow命令删除旧模版。关于no gpon profile flow命令的更多信息,可参考《H3C P3600系列GPON OLT交换机 命令参考》。

·     在删除GPON Profile模板之前,请确保先移除所有已应用Service Flow模板配置的ONU上的相关Service配置,随后再修改或删除对应的Flow。若未遵循此步骤,将无法成功进行更改。

 

(5)     配置vlan-translate模版

# 进入OLT全局配置模式。

P3600(Slot-1)# home

# 配置vlan-translate模版。

P3600#configure l2 vlan translate slot 1 port 8 ont 1 virtual-port 1 svid 31 new-svid 31

P3600#configure l2 vlan translate slot 1 port 8 ont 1 virtual-port 2 svid 32 new-svid 32

P3600#configure l2 vlan translate slot 1 port 8 ont 1 virtual-port 3 svid 33 new-svid 33

P3600#configure l2 vlan translate slot 1 port 8 ont 1 virtual-port 4 svid 34 new-svid 34

P3600#configure l2 vlan translate slot 1 port 8 ont 1 virtual-port 5 svid 44 new-svid 44

(6)     ONT配置

# 进入OLT线卡PON口1视图。

P3600(Slot-1)# interface gpon-olt 1/1

# 进入ont接口视图

P3600(Slot-1/if-gpon-olt-1/1)#ont 1

# 创建5个virtual port接口。

P3600(Slot-1/if-gpon-olt-1/1/1)#  virtual-port 1 encrypt disable

P3600(Slot-1/if-gpon-olt-1/1/1)#  virtual-port 2 encrypt disable

P3600(Slot-1/if-gpon-olt-1/1/1)#  virtual-port 3 encrypt disable

P3600(Slot-1/if-gpon-olt-1/1/1)#  virtual-port 4 encrypt disable

P3600(Slot-1/if-gpon-olt-1/1/1)#  virtual-port 5 encrypt disable

# 配置service模板绑定flow-profile和tcont-bind-profile。

P3600(Slot-1/if-gpon-olt-1/1/1)#  service flow-profile 2 tcont-bind-profile 2 svc_type n_p

# 配置uni接口模版。本示例使用port-vlan模式配置。

P3600(Slot-1/if-gpon-olt-1/1/1)#port-vlan 1 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

P3600(Slot-1/if-gpon-olt-1/1/1)#port-vlan 1 rule 1 untag add-vid inner-pri 0 inner-vid 31

P3600(Slot-1/if-gpon-olt-1/1/1)#port-vlan 2 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

P3600(Slot-1/if-gpon-olt-1/1/1)#port-vlan 2 rule 1 untag add-vid inner-pri 0 inner-vid 31

P3600(Slot-1/if-gpon-olt-1/1/1)#port-vlan 3 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

P3600(Slot-1/if-gpon-olt-1/1/1)#port-vlan 3 rule 1 untag add-vid inner-pri 0 inner-vid 31

P3600(Slot-1/if-gpon-olt-1/1/1)#port-vlan 4 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

P3600(Slot-1/if-gpon-olt-1/1/1)#port-vlan 4 rule 1 untag add-vid inner-pri 0 inner-vid 31

P3600(Slot-1/if-gpon-olt-1/1/1)#port-vlan 5 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

P3600(Slot-1/if-gpon-olt-1/1/1)#port-vlan 5 rule 1 untag add-vid inner-pri 0 inner-vid 31

P3600(Slot-1/if-gpon-olt-1/1/1)#port-vlan 6 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

P3600(Slot-1/if-gpon-olt-1/1/1)#port-vlan 6 rule 1 untag add-vid inner-pri 0 inner-vid 32

P3600(Slot-1/if-gpon-olt-1/1/1)#port-vlan 7 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

P3600(Slot-1/if-gpon-olt-1/1/1)#port-vlan 7 rule 1 untag add-vid inner-pri 0 inner-vid 33

P3600(Slot-1/if-gpon-olt-1/1/1)#port-vlan 8 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

P3600(Slot-1/if-gpon-olt-1/1/1)#port-vlan 8 rule 1 untag add-vid inner-pri 0 inner-vid 44

P3600(Slot-1/if-gpon-olt-1/1/1)#port-vlan 8 rule 2 single-tag transparent


5 VoIP语音业务配置举例

5.1  组网需求

ONU支持语音业务,需要配置ONU管理IP,ONU再应用业务模板和语音模板。因为OLT只做二层业务透传,所以网关需要配置在核心上,关于核心的配置不再赘述,下面对OLT相关语音业务配置进行举例。

5.2  配置规划

表5-1 VoIP业务配置

配置项

规划

语音VLAN

VLAN 102

语音VLAN虚接口地址(在核心)

192.168.2.1/24

对接SIP服务器VLAN

VLAN 102

SIP代理服务器IP地址

192.168.2.2

电话号码

3001

OLT与SIP服务器对接端口

XGE 1

PON端口

OLT 1/1

ONU接口

Onu 1/1/1

语音端口

1

ONU的管理IP地址

语音业务的IP地址

192.168.2.3/24

Flow模板名称

newprof_flow_4

Flow模板GEM port ID

1

Flow模板匹配UNI口

所有UNI口

Flow模板匹配VLAN

VLAN 102

Flow模板匹配VLAN优先级

所有优先级

Tcont模板名称

newprof_tcontbind_4

Tcont模板Tcont ID

4

Tcont模板DBA

1244160

Tcont模板UNI口限速

不限速

svc_type业务模式

n_1

 

5.3  配置步骤

# 公用接口如无新增配置,则继承之前配置,此处不再赘述。

# 实现ONU的语音业务分为2步,配置管理IP,下发语音配置。

# 下面配置以SFU款型ONU为例,如果是HGU款型,需要在ONU上配置。

OLT配置管理IP步骤

(1)     创建IP-Host模板

# 进入板卡视图。

P3600#Slot 1

# 创建IP-Host模版。

P3600(Slot-1)# gpon profile flow id 4 name newprof_flow_4 uni-type ip-host uni-bitmap 0x3 upmap-type vlanId 102 102 pri-bitmap 0xff vport 1

P3600(Slot-1)# gpon profile tcont-bind id 4 v-port 1 name newprof_tcontbind_1 tcont-id 1

(2)     创建语音模板

P3600(Slot-1)# gpon profile voip-media id 1 name new_voipmedia_1 faxmode passthru

P3600(Slot-1)# gpon profile voip-sip-agent id 1 name yuyin proxy-server 192.168.2.2 registrar-server 192.168.2.2 outbound-server 192.168.2.2

P3600(Slot-1)# gpon profile voip-sip-user id 1 name yuyin voicemail-server 192.168.2.2

P3600(Slot-1)# gpon profile voip-svc id 1 name new_voipsvc_1

P3600(Slot-1)# gpon profile voip-svc id 1 name yuyin

(3)     ONT接口下配置管理IP

# 进入本线卡槽位1视图。

P3600(Slot-1)#interface gpon-olt 1/1

# 注册ont 1。

P3600(Slot-1/if-gpon-olt-1/1)#ont 1

# virtual-port 1端口解锁。

P3600(Slot-1/if-gpon-olt-1/1/1)# virtual-port 1 port unlock

# 绑定ONT的业务模版。

P3600(Slot-1/if-gpon-olt-1/1/1)# service flow-profile 4 tcont-bind-profile 1

# 配置ONT IP-Host地址信息。IP地址为192.168.2.3,子网掩码为255.255.255.0,网关地址为192.168.2.1。

P3600(Slot-1/if-gpon-olt-1/1/1)# ip-host 192.168.2.3 255.255.255.0 192.168.2.1 static 1

(4)     管理IP接口配置VLAN模式

P3600(Slot-1/if-gpon-olt-1/1/1)# port-vlan 128 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

P3600(Slot-1/if-gpon-olt-1/1/1)# port-vlan 128 rule 1 untag add-vid inner-pri 15 inner-vid 120 inner-tpid mode4 ether-type 0

(5)     ONT接口下创建语音号码,应用语音模板

P3600(Slot-1/if-gpon-olt-1/3/1)# voip-service svc 1

P3600(Slot-1/if-gpon-olt-1/3/1)# voip-service sip 1 agent-id 1 media-id 1 phone-num 3001 username 1 password 123 user-id 1

(6)     配置如下数据VLAN 102和语音VLAN 102

P3600(CONFIG/L2/VLAN)# translate slot 1 port 3 ont 1 virtual-port 1 svid 102 new-svid 102

(7)     查看ONU VLAN转换配置

P3600# brief-show vlan-translate slot 1

VLAN Translation Entry:

slot  port  ont   vport svid   cvid new-svid  new-cvid  cos   new-cos ether-type

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

1     3      1      1      102    4095   102       4095       copy  8        


6 FAQ

6.1  ONU接上OLT后未成功注册,如何处理?

请以下列顺序排查。

(1)     ONU设备光功率是否在建议光功率工作区间。更多建议光功率工作区间信息,请参考2.3.1  光功率配置准备工作

当光功率过强,超过-10的阈值时,ONU可能出现注册异常,重启后能够恢复注册。这可能是由于ONU的光保护机制被触发,当光信号过强时,ONU会自动停止接收光信号以保护自身。即使光线变弱,ONU仍可能拒绝接收光信号,直至进行重启操作。

若无光功率计且确认光信号接收正常,可尝试将未注册ONU与已注册ONU(建议型号相同)之间的光纤进行互换,构建OLT-光模块-光纤-ONU的组网结构。此操作仅替换ONU,以排除OLT至光纤部分潜在的问题。若替换后ONU能成功注册,则可判定问题出在原无法注册的光路上,可能原因包括该光路光纤损坏、OLT端光模块故障或OLT未开启自动注册功能。

说明

仅当ONU成功注册至OLT后,方可利用OLT的专用命令来查询光功率。若ONU注册失败,则需通过访问ONU的Web界面来检查光信号接收情况。

 

下图表示ONU Web界面上收光为0的情况,-40dbm表示光信号接收为0。

图6-1 ONU设备光模块信息查询示意图

 

(2)     EPON\GPON模式是否错误切换。

可使用ONU Web页面查看ONU模式。

图6-2 ONU设备PON模式查询示意图

 

确保ONU设备处于最新软件版本前提下,可使用重启或长按<reset>按钮方式使ONU设备自适应当前ONU模式。

说明

EGT924-H-R会根据插入的光模块不同而改变ONU模式。

 

(3)     ONU设备的软件注册位置与实际注册位置是否一致。

ONU设备的注册过程中可能出现软件注册位置与实际物理位置不匹配的情况,进而引发注册失败。具体而言,如果ONU的SN号(如H3CT00001ABC)原先在OLT的某个特定端口(如Slot-1/if-gpon-olt-1/3)上完成了注册,但随后该onu被物理迁移到olt的另一端口(如Slot-1/if-gpon-olt-1/1)时,其注册信息可能仍保留在原先的olt端口下。由于onu的注册信息未随物理位置的变动而更新,将导致新的注册尝试失败。为了解决这个问题,需要手动干预,删除onu在olt上原有的注册信息,以确保其能够在新的物理位置上正确注册。

如下图所示,待注册的ONU的SN号为H3CT85E5CE00。但在检查该OLT下的ONU状态时,发现该ONU显示为离线(offline)。为了确保后续注册流程能够顺利进行,建议先对ONU1/3/2进行去激活操作。

如果已配置自动绑定功能,那么ONU理论上应该已在其实际连接的ONU端口上完成注册。如需验证此状态,请使用brief-show ont sn命令进行查看。

图6-3 brief-show ont命令查询设备状态示意图

 

若未配置自动绑定功能,在未经认证的ONU列表中,应能显示一个SN为H3CT85E5CE00的ONU状态为在线(online)。若未出现此在线状态的ONU,则表明该ONU未被OLT识别,此时应检查物理线路连接是否存在问题。若ONU显示为在线状态,但无法正常上线,可能是因为ONU物理连接在1/6端口,而OLT上却强制将其注册在1/3端口,导致ONU的软件注册位置与实际注册位置不一致,从而引发注册失败的问题。

图6-4 ONU状态显示信息示意图

 

(4)     光模块连接是否正常。

可能有以下光模块异常连接情况,请根据实际情况排查。

¡     10G OLT光模块与1G OLT光模块混插。10G OLT与1G OLT的光模块不能混用,混用将导致输出的光波长发生混乱。当ONU无法准确判断OLT是1G还是10G时,会因读取模式错误而注册失败。对于EGT354-P设备,这种现象可能表现为设备反复重启。因此,务必确保光模块的正确匹配与使用,避免混插导致的故障。

¡     OLT光模块与ONU光模块混用。请确保在使用光模块时,严格遵循兼容性原则,避免将OLT的光模块与ONU的光模块混用,以及将ONU或EPON专用的光模块接入GPON网络中。不同的光模块类型和使用场景都有其特定的标准与要求,因此,在使用前请务必仔细查询和确认光模块的类型、规格以及适用场景,避免因混淆或错误使用而导致注册不上等问题。

¡     使用其他品牌的光模块。H3C建议客户使用本公司提供的光模块以确保网络设备的兼容性和稳定性。使用其他公司的光模块可能存在兼容性问题,从而导致注册失败等异常情况。H3C的OLT设备仅对H3C的光模块提供支持与保障,如果OLT使用的光模块非H3C出品,可能会因不匹配或不兼容而造成注册不成功。因此,为了确保网络运行的顺畅和稳定,请优先选择并使用H3C的光模块。

(5)     onu是否下接环路了。请按照以下方法确认是否出现环路。

¡     使用loop-detect enable命令和loop-detect show命令直接查看是否出现环路

¡     使用brief-show alarm命令查看告警信息。

(6)     crc错包可能导致ONU注册失败,这通常反映了线路存在问题或是光模块不匹配。为了诊断问题,建议检查crc错包计数是否持续增长。可使用brief-show命令来查看crc错包的统计信息,以便更准确地定位和解决问题。

(7)     ONU距离GPON OLT过远可能导致注册失败。在ONU距离OLT大约15km的情况下,需要调整PON的最大距离(pon max distance)设置至30公里(调整的max distance应等于ONU到OLT的实际距离加15公里),因为GPON默认的注册物理距离限制在ONU距离OLT大约15公里以内。若OLT与ONU之间的距离超过这一物理限制,需使用相关命令相应增加pon max distance的设置值,以确保正常注册。

(8)     ONU设备的SN是否与其他已绑定的ONU设备冲突。可使用brief-show ont sn命令查询是否有其他ONU设备绑了同一SN码。果发现序列号冲突的情况,建议联系H3C技术支持。

(9)     ONU芯片是否损坏。首先,尝试将ONU接入其他端口,观察其是否能正常上线;若不行,则进行ONU与OLT的直接连接测试,以确定是否为ONU设备自身的问题。如果这些措施仍然无效,可尝试长按reset键进行修复。然而,请注意,ONU的光芯片一旦烧坏,通常是无法恢复的。

如使用以上步骤均无法解决ONU注册问题,建立联系H3C提供远程支持。

6.2  ONU设备有哪些常用命令?

有以下常用命令。

·     显示基本的系统信息。

P3600# show system

·     设置P3617/P3608/P3602主机名称。

P3600# system name P3600-1

P3600-1#

·     设置P3617/P3608/P3602 CLI超时时间。

P3600# access idle-timeout <60…100000>

·     设置P3617/P3608/P3602 CLI系统时间,时区和夏令时。

P3600# time <yyyy/mm/dd/HH/MM/SS>

P3600# timezone <gmt-12,...gmt-0,...,gmt+13>

P3600# dst option <enable|disable>

P3600# dst date start <YYYY/MM/DD/hh/mm/ss> end <YYYY/MM/DD/hh/mm/ss>

说明

系统重启后,系统时钟不需要重新配置,内部电源可以维持时钟运行一段时间。

 

·     保存配置。

P3600#save config

·     查看VLAN部分配置。

P3600# brief-show VLAN

·     查看VLAN-translate配置。

P3600# brief-show VLAN-translate

·     查看某一ONU的VLAN转换。

P3600# brief-show VLAN-translate slot 3 port 1 ont  1

·     查看mac地址。

P3600# Brief-show mac-address

·     查看当前olt在此VLAN有没有学到mac地址,可以用来查验olt配置是否正常。

P3600# brief-show mac-address vid 201 

·     查看特定onu的mac地址。

P3600# brief-show slot 1 interface gpon-olt 1/13 ont 2 mac-address  

·     查看所有的端口状态。

P3600# brief-show port

·     通过该命令查找所有全部输入过的命令,重启不消失。

P3600# show cli-log

·     查看当前告警。

P3600# brief-show alarm

·     查看历史告警。

P3600# brief-show alarm-history

·     将收集系统诊断信息,在tftpboot目录下生成文件P3600-diag.tar.gz。

P3600# show diagnostic-information-to-file

·     清除主控卡统计信息。

P3600# clear counter-csm counter [interface <xge|is|trunk> <port-id>]

·     清除线卡统计信息 nni / gemport / ont 的统计信息。

P3600# clear counter-lc <slot id> [gpon-olt <port> [nni] [ont-gem <ontid>][ont-counts <ontid>]]

·     查看所有ONU在线情况。

P3600# brief-show ont

·     查看板卡x的全部onu的型号,版本,注册在的端口,状态,sn号,最后上线下线时间等,很有用的命令。

P3600# brief-show slot x ont-info detail

·     通过SN码搜索ONU。

P3600# brief-show ont sn XXXXXXXXX

·     查看单板ONU在线情况。

P3600# brief-show slot 3 ont-info

·     查看指定槽位slot的GPON 模板配置。

P3600# brief-show slot 3 gpon profile

·     查看ONU具体型号信息。

P3600# brief-show slot 1 interface gpon-olt 1/1 ont 1 brief

说明

请慎重使用此条命令,在使用前务必通过brief-show ont命令确认ONU是否已正常上线。否则,随意执行该命令可能导致OLT设备重启,造成不必要的网络中断和潜在风险。

 

·     查看ONU版本

P3600# brief-show slot 1 interface gpon-olt 1/1 ont 1 summary

·     onu重启

P3600(Slot-1/if-gpon-olt-1/1/1)# reset

·     查看ONU接口配置

P3600# brief-show slot 3 interface gpon-olt 1/5 ont  4

·     查看slot3 port5的配置

P3600# brief-show slot 3 interface gpon 1/5   

·     查看ONU发光和收光(需要onu上线ready后才能查到,否则是查不到的)

P3600# brief-show  slot 3 int  g 1/1 ont 1 optical-info

Power Feed Voltage(V)         :3.28

Received Optical Power(dBm)   :-14.7500   (收光)

Optical Launch Power(dBm)     :6.1440    (发光)

Laser Bias Current(mA)        :34.672

Temperature(Centigrade)       :35.64

·     OLT上的pon口光模块信息

P3600#brief-show slot 1 int gpon-olt 1/1 optical-info

·     查询OLTPON口发光:

P3600# brief-show slot 3 interface gpon-olt 1/11 optical-info

Transceiver Type              : SFP

Power Feed Voltage(V)         : 3.35

Optical Launch Power(dBm)     : 5.3279 (发光)

·     查询OLT从某一个onu那边接收的收光

P3600# show interface gpon-olt 1/1 optical-info ont 1 received-power

Received Optical Power(dbm)  

Ont1                          : -19.7469

·     显示系统日志

P3600# syslog show log   

·     查看olt口的计数和丢包

P3600# brief-show slot x interface gpon-olt 1/y counters  

·     查看线路质量

P3600# brief-show slot 3 ont-line-quality  pon-port 8 ont 1  

·     查看onuuni端口状态,如果是up的,则为enable,如果是down的则为disable

P3600# brief-show slot x interface gpon-olt 1/y ont z eth-uni all

P3600# ETH_UNI ID                  :1/1/2/4

P3600# Operation State            :disabled

更多P3600命令信息请参考《H3C P3600系列GPON OLT交换机 命令参考》。

6.3  GPON环境下ONU下面可以接交换机吗?

不建议仅仅为了扩展端口而采取以下措施:登录到ONU上开启端口隔离功能。虽然这样做可以扩展端口数量,但存在严重的风险。一旦ONU因掉电而重启,端口隔离设置将失效,这可能导致下挂的交换机出现问题,进而造成GPON网络中单个OLT端口下的所有ONU离线,甚至导致OLT端口堵塞。这种情况将引发重大的网络故障,因此不推荐这种做法。如果有其他目的需要扩展端口,建议寻找更为稳妥可靠的解决方案。

6.4  为什么ping GPON下面的设备,丢包严重?

可能是以下原因导致ONU设备出现严重丢包现象。

·     光功率不在建议工作范围区间。更多建议光功率工作区间信息可参考2.3.1  光功率配置准备工作。可采用添加光衰的方式调整光功率至建议区间。

·     线路质量问题。可通过在OLT下直连ONU设备做通信测试。如仍出现丢包现象,表示当前线路可能存在质量问题。

·     XGE上年接口光功率过低。即OLT设备的上联接口可能故障。可通过上联交换机查询OLT光功率。H3C交换机可使用display transceiver diagnosis命令查询。

·     报文卡顿。可能是报文的TTL值设置为了1,当TTL值为1时,报文会被强制上传至CPU进行处理。这种情况常见于组播报文或服务器发送的特定报文。为了查明原因,建议进行抓包分析。若仅是少量报文上传至CPU,通常不会造成太大影响;但若有大量报文都被迫上传至CPU,这将导致CPU处理负担过重,可能引发ONU设备出现卡顿、丢包甚至掉线等问题。

6.5  常见报错信息及处理方法

常见报错信息及处理方法如表6-1所示。

表6-1 常见报错信息及处理建议汇总表

报错信息

示例

处理建议

Error: modify gpon ont service profile fail.

Generic command set execution error.

P3602(Slot-l/if-gpon-olt-1/2/2)#service flow-profile 25 tcont-bind-profile 25 svc-type 1_mp

Error: modify gpon ont service profile fail.

Generic command set execution error.

请首先验证ONU是否已成功上线并处于“ready”状态。若状态正常,随后执行注销(no命令)整个ONU的操作,之后重新进行注册

generic command create execution error.

% Bad command

P3617(Slot-4/if-gpon-olt-1/11/1)# port-vlan 1 rule 1 untag add-vid inner-pri 0 inner-vid 104 inner-t Id mode4 ether-tvpe 0

generic command create execution error.

% Bad command

请首先验证ONU是否已成功上线并处于“ready”状态。若状态正常,随后执行注销(no命令)整个ONU的操作,之后重新进行注册

Error: modify gpon ont vitual-port encrypt fail.

Generic command get execution error.

P3617 (slot-4/if-gpon-olt-1/11/1)# virtual-port 1 encrypt disable

Error: modify gpon ont vitual-port encrypt fail.

Generic command get execution error.

请首先验证ONU是否已成功上线并处于“ready”状态。若状态正常,随后执行注销(no命令)整个ONU的操作,之后重新进行注册

% unrecognized command

P3600(slot-3/if-gpon-olt-1/2)# service flow-profile 2 tcont-bind-profile 2 svc-type n_p

% unrecognized command

尚未在ONT下配置Service模版,需先进入ONT的视图界面,进而完成相应的Service配置

Error:create GPON ont eth-uni cfg fail.

P3602(Slot-l/if-gpon-olt-1/2/2)# ont-VLAN eth-uni 3 up-mode add-vid down-mode delete-vid up-pri 0 up-vid 243

Error: create GPON ont eth-uni cfg fail.

请首先验证ONU是否已成功上线并处于“ready”状态。若状态正常,随后执行注销(no命令)整个ONU的操作,之后重新进行注册

Error:uni type misconfiguration.

P3602(Slot-l/if-gpon-olt-1/2/2)#  service flow-profile 1 tcont-bind-profile 1

Error:uni type misconfiguration.

UNI端口配置不匹配。请检查设备实际端口与Flow配置是否一致

Info : please no service firstly.

P3602(Slot-l/if-gpon-olt-1/2/2)# service flow-profile 1 tcont-bind-profile 1

Info : please no service firstly.

执行当前命令前需先执行no service命令

Info: Flow profile and tcont-bind profile mismatch.

P3602(Slot-l/if-gpon-olt-1/2/2)# service flow-profile 7 tcont-bind-profile 7

Info: flow profile and tcont-bind profile mismatch.

Flow配置与tcont-bind配置不匹配。建议检查Flow模版和tcont-bind中创建的vport数量是否一致

Info: pls create the virtual port[INT] fisrtly.

P3602(Slot-l/if-gpon-olt-1/2/2)# service flow-profile 7 tcont-bind-profile 5

Info: pls create the virtual port[2] fisrtly.

ont视图下没有创建与Flow模版及tcont-bind模版数量一致的vport。

建议检查配置是否一致

Error: Parameter out of range. Vport range is 1-12

P3617(s1ot-3/if-GPON-o1t-1/3/1)# virtual-port 13 encrypt disabled

Error: Parameter out of range. Vport range is 1-12

vport编号超限。请配置编号1~12的vport

Error: No modification allowed, the profile[INT] is used now.

P3617(s1ot-3)#no GPON profile flow 5 2

Error: No modification allowed, the profile[5] is used now.

ONU视图下指定Flow模版已被绑定。

 

6.6  OLT上MAJ告警指示灯亮了应该如何处理?

一般可忽略该红灯提示,因为GPON OLT设备在上联口(即连接核心网络的端口)未接线的情况下,会触发maj告警并亮起红灯。这种告警并不会对实际业务运行造成影响,无需过多关注。

6.7  如何配置未知组播透传?

P3617/P3608/P3602支持SFU的未知组播透传,将未知组播下发给ONU进行单个ONU的全部uni口未知组播透传。

·     开启未知组播透传

P3600(slot-1/if-gpon-ont-1/1/1)# unknown-mc-trans port-id 0 method transparent

·     关闭未知组播透传

P3600(slot-1/if-gpon-ont-1/1/1)#  no unknown-mc-trans port-id 0 method transparent

·     检查未知组播透传配置

P3600(slot-1/if-gpon-ont-1/1/1)# brief-show slot 1 interface gpon-olt 1/1 ont 1 unknown-mc-trans

UNI Port  Operator Id     Method         

---------+---------------+----------------

0         H3C             transparent    

6.8  如何实现OLT横向互访?

如果用户有同一PON口下不同ONU下挂终端之间流量互访的需求,则基于二个终端在同一个广播域的前提下,OLT关闭用户隔离,然后网关开启local-proxy-arp enable即可。

#

interface Vlan-interface101

local-proxy-arp enable 

#

P3617/P3608/P3602支持用户隔离配置,用户隔离为基于VLAN配置命令。

·     开启端口隔离:同一PON口或不同PON口下用户不能相互通信。

·     关闭端口隔离:同一PON口或不同PON口下用户可以相互通信

·     端口隔离默认开启。

进入VLAN配置模式配置开启端口隔离。

P3600(CONFIG/L2/VLAN)#user-isolation enable vlan-id 101

进入VLAN配置模式关闭端口隔离,开启P2P。

P3600(CONFIG/L2/VLAN)#user-isolation disable vlan-id 101

检查用户隔离配置。

P3600(CONFIG/L2/VLAN)#show 101

  vlan ingress check         :enable

  S-Vlan TPID                :0x8100

  C-Vlan TPID                :0x8100

  vlan id                    :101

  vlan name                  :101

  vlan egress port           :XGE 1

  vlan untag port            :

  vlan mode                  :Bridge

  vlan user-isolation        :disable

说明

开启二层隔离会增加环路发生的风险。

 


7 ONU设备配置脚本示例

本配置脚本示例旨在本为用户提供一套实用且易于操作的指导,明确阐述配置脚本在GPON配置过程中的重要作用。通过本示例,用户不仅能够迅速了解配置脚本的基本结构和使用方法,更能从中获得详尽的参数配置信息和实用技巧,以便更好地应用到GPON配置任务中。同时,本示例还具有在快速部署、避免常见错误以及实现定制基础等方面的优势,帮助用户更加高效地完成GPON配置工作,提高整体工作效率和准确性。

7.1  注意事项

使用脚本配置前请关注以下注意事项。

使用配置脚本前请确保已阅读并熟悉《H3C P3600系列GPON OLT交换机 命令参考》。

·     配置前建议先使用brief-show slot命令查看是否配置过Flow模版。

·     Flow模版命名推荐采用“onu型号_vlanID”的命名规范,以便更加清晰地标识和区分不同的Flow模板,提高管理和维护的效率。

·     配置脚本时请关注配置的视图是否正确。

·     本配置指导中红色字符均可视实际配置情况调整。

·     示例脚本默认uni端口pvid VLAN 601,具体配置需要根据设备实际情况配置。

·     配置完成后,请及时使用save config命令保存配置。

7.2  常用命令

ONU常用命令如所表7-1示。

表7-1 ONU常用命令表

功能

命令

查看olt所有配置

brief-show config run

查看slot x配置

brief-show slot x

查看slot信息

show slot

保存配置

save config

返回主视图

home

查看onu在线情况

brief-show ont

查看slot x的onu版本

brief-show slot x ont-info detail

取消某一命令

no xxxx

 

7.3  常用脚本示例

7.3.1  EGT304-TWB(4口GPON ONU)

EGT304-TWB的配置脚本也适用于以下设备。

·     EGT354

·     EGT354-P

·     EGT304-2T

说明

·     配置Flow模版时,每一下连有该款型ONU的slot都要配置。

·     配置VLAN translate时,每一此款型的ONU设备都要配置。

·     配置onu绑定Flow模板和配置uni端口时,每一此款型的ONU设备都要配置。

 

1. 配置Flow模版

slot 1

gpon profile flow id 2 1 name EGT304TWB_601 uni-type ethernet-uni uni-bitmap 0xf upmap-type vlanId 601 601 pri-bitmap 0xff vport 1

gpon profile tcont-bind id 2 v-port 1 tcontsvc-id 1

home

2. 配置VLAN translate

configure l2 vlan translate slot 1 port 1 ont 1 virtual-port 1 svid 601 new-svid 601

home

3. 配置onu绑定Flow模板和配置uni端口

7.3.2  EGT358-POTS(8口GPON ONU)

EGT358-POTS的配置脚本也适用于EGT358-P。

说明

·     配置Flow模版时,每一下连有该款型ONU的slot都要配置。

·     配置VLAN translate时,每一此款型的ONU设备都要配置。

·     配置onu绑定Flow模板和配置uni端口时,每一此款型的ONU设备都要配置。

 

1. 配置Flow模板

slot 1

gpon profile flow id 2 1 name EGT358POTS_601 uni-type ethernet-uni uni-bitmap 0xff upmap-type vlanId 601 601 pri-bitmap 0xff vport 1

gpon profile tcont-bind id 2 v-port 1 tcontsvc-id 1

home

2. 配置VLAN translate

configure l2 vlan translate slot 1 port 1 ont 1 virtual-port 1 svid 601 new-svid 601

home

3. 配置onu绑定Flow模板和配置uni端口

slot 1

interface gpon-olt 1/1

ont 1

virtual-port 1 encrypt disable

service flow-profile 2 tcont-bind-profile 2 svc-type n_p

port-vlan 1 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 2 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 3 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 4 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 5 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 6 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 7 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 8 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 1 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 2 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 3 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 4 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 5 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 6 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 7 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 8 rule 1 untag add-vid inner-pri 0 inner-vid 601

home

7.3.3  ET904-H(4口XGSPON ONU)

说明

·     配置Flow模版时,每一下连有该款型ONU的slot都要配置。

·     配置VLAN translate时,每一此款型的ONU设备都要配置。

·     配置onu绑定Flow模板和配置uni端口时,每一此款型的ONU设备都要配置。

 

1. 配置Flow模板

slot 1

gpon profile dba id 2 name ET904H type4 max 9953280

gpon profile tcont-svc id 2 name ET904H dba-id 2

gpon profile flow id 2 1 name ET904H_601 uni-type ethernet-uni uni-bitmap 0xf upmap-type vlanId 601 601 pri-bitmap 0xff vport 1

gpon profile tcont-bind id 2 v-port 1 tcontsvc-id 2

home

2. 配置VLAN translate

configure l2 vlan translate slot 1 port 1 ont 1 virtual-port 1 svid 601 new-svid 601

home

3. 配置onu绑定Flow模板和配置uni端口

slot 1

interface gpon-olt 1/1

ont 1

virtual-port 1 encrypt disable

service flow-profile 2 tcont-bind-profile 2 svc-type n_p

port-vlan 1 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 2 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 3 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 4 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 1 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 2 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 3 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 4 rule 1 untag add-vid inner-pri 0 inner-vid 601

home

7.3.4  EGT904-H-TW(4口XGSPON/HGU ONU)

说明

·     配置Flow模版时,每一下连有该款型ONU的slot都要配置。

·     配置VLAN translate时,每一此款型的ONU设备都要配置。

·     配置onu绑定Flow模板时,每一此款型的ONU设备都要配置。

 

1. 配置Flow模板

slot 1

gpon profile dba id 2 name EGT904HTW type4 max 9953280

gpon profile tcont-svc id 2 name EGT904HTW dba-id 2

gpon profile flow id 2 1 name EGT904HTW_601 uni-type veip uni-bitmap 0xf upmap-type vlanId 601 601 pri-bitmap 0xff vport 1

gpon profile flow id 2 2 name EGT904HTW_46 uni-type veip uni-bitmap 0xf upmap-type vlanId 46 46 pri-bitmap 0xff vport 2

gpon profile tcont-bind id 2 v-port 1 tcontsvc-id 2

gpon profile tcont-bind id 2 v-port 2 tcontsvc-id 2

home

2. 配置VLAN translate

configure l2 vlan translate slot 1 port 1 ont 1 virtual-port 1 svid 601 new-svid 601

configure l2 vlan translate slot 1 port 1 ont 1 virtual-port 2 svid 46 new-svid 46

home

3. 配置onu绑定Flow模板

slot 1

interface gpon-olt 1/1

ont 1

virtual-port 1 encrypt disable

virtual-port 2 encrypt disable

service flow-profile 2 tcont-bind-profile 2 svc-type n_p

home

7.3.5  EGT924-H-R(24口XGSPON ONU)

EGT924-H-R的配置脚本也适用于以下设备。

·     ET924-H-POE

说明

·     配置Flow模版时,每一下连有该款型ONU的slot都要配置。

·     配置VLAN translate时,每一此款型的ONU设备都要配置。

·     配置onu绑定Flow模板和配置uni端口时,每一此款型的ONU设备都要配置。

 

1. 配置Flow模板

slot 1

gpon profile dba id 2 name EGT924HR type4 max 9953280

gpon profile tcont-svc id 2 name EGT924HR dba-id 2

gpon profile flow id 2 1 name EGT924HR_601 uni-type ethernet-uni uni-bitmap 0xffffff upmap-type vlanId 601 601 pri-bitmap 0xff vport 1

gpon profile tcont-bind id 2 v-port 1 tcontsvc-id 2

home

2. 配置VLAN translate

configure l2 vlan translate slot 1 port 1 ont 1 virtual-port 1 svid 601 new-svid 601

home

3. 配置onu绑定Flow模板和配置uni端口

slot 1

interface gpon-olt 1/1

ont 1

virtual-port 1 encrypt disable

service flow-profile 2 tcont-bind-profile 2 svc-type n_p

port-vlan 1 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 2 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 3 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 4 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 5 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 6 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 7 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 8 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 9 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 10 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 11 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 12 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 13 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 14 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 15 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 16 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 17 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 18 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 19 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 20 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 21 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 22 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 23 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 24 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 1 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 2 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 3 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 4 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 5 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 6 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 7 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 8 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 10 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 11 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 12 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 13 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 14 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 15 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 16 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 17 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 18 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 19 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 20 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 21 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 22 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 23 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 24 rule 1 untag add-vid inner-pri 0 inner-vid 601

home

7.3.6  EGT924-H-R(24口GPON ONU)

接入1G onu光模块会降速为1G onu。

说明

·     配置Flow模版时,每一下连有该款型ONU的slot都要配置。

·     配置VLAN translate时,每一此款型的ONU设备都要配置。

·     配置onu绑定Flow模板和配置uni端口时,每一此款型的ONU设备都要配置。

 

1. 配置Flow模板

slot 1

gpon profile flow id 2 1 name EGT924HR_601 uni-type ethernet-uni uni-bitmap 0xffffff upmap-type vlanId 601 601 pri-bitmap 0xff vport 1

gpon profile tcont-bind id 2 v-port 1 tcontsvc-id 1

Home

2. 配置VLAN translate

configure l2 vlan translate slot 1 port 1 ont 1 virtual-port 1 svid 601 new-svid 601

home

3. 配置onu绑定flow模板和配置uni端口

slot 1

interface gpon-olt 1/1

ont 1

virtual-port 1 encrypt disable

service flow-profile 2 tcont-bind-profile 2 svc-type n_p

port-vlan 1 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 2 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 3 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 4 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 5 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 6 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 7 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 8 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 9 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 10 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 11 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 12 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 13 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 14 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 15 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 16 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 17 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 18 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 19 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 20 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 21 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 22 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 23 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 24 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 1 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 2 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 3 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 4 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 5 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 6 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 7 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 8 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 10 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 11 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 12 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 13 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 14 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 15 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 16 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 17 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 18 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 19 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 20 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 21 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 22 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 23 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 24 rule 1 untag add-vid inner-pri 0 inner-vid 601

home

7.3.7  WA6520H-EGPON(1口GPON ONU+AP双合一款型ONU)

说明

·     配置Flow模版时,每一下连有该款型ONU的slot都要配置。

·     配置VLAN translate时,每一此款型的ONU设备都要配置。

·     配置onu绑定Flow模板和配置uni端口时,每一此款型的ONU设备都要配置。

 

1. 配置Flow模板

slot 1

gpon profile flow id 2 1 name WA6520HEGPON_601 uni-type ethernet-uni uni-bitmap 0x01 upmap-type vlanId 601 601 pri-bitmap 0xff vport 1

gpon profile flow id 2 1 name WA6520HEGPON_602 uni-type ethernet-uni uni-bitmap 0x01 upmap-type vlanId 602 602 pri-bitmap 0xff vport 2

gpon profile tcont-bind id 2 v-port 1 tcontsvc-id 1

Home

2. 配置VLAN translate

configure l2 vlan translate slot 1 port 1 ont 1 virtual-port 1 svid 601 new-svid 601

configure l2 vlan translate slot 1 port 1 ont 1 virtual-port 2 svid 602 new-svid 602

home

3. 配置onu绑定Flow模板和配置uni端口

slot 1

interface gpon-olt 1/1

ont 1

virtual-port 1 encrypt disable

virtual-port 2 encrypt disable

service flow-profile 2 tcont-bind-profile 2 svc-type n_p

port-vlan 1 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 1 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 1 rule 2 single-tag transparent

home

7.3.8  WA6320-H-XEPON(1口XGSPON ONU+AP双合一款型ONU)

说明

·     配置Flow模版时,每一下连有该款型ONU的slot都要配置。

·     配置VLAN translate时,每一此款型的ONU设备都要配置。

·     配置onu绑定Flow模板和配置uni端口时,每一此款型的ONU设备都要配置。

 

1. 配置Flow模板

slot 1

gpon profile dba id 2 name WA6320HXEPON type4 max 9953280

gpon profile tcont-svc id 2 name WA6320HXEPON dba-id 2

gpon profile flow id 2 1 name WA6320HXEPON_601 uni-type ethernet-uni uni-bitmap 0x01 upmap-type vlanId 601 601 pri-bitmap 0xff vport 1

gpon profile flow id 2 1 name WA6520HEGPON_602 uni-type ethernet-uni uni-bitmap 0x01 upmap-type vlanId 602 602 pri-bitmap 0xff vport 2

gpon profile tcont-bind id 2 v-port 1 tcontsvc-id 1

home

2. 配置VLAN translate

configure l2 vlan translate slot 1 port 1 ont 1 virtual-port 1 svid 601 new-svid 601

configure l2 vlan translate slot 1 port 1 ont 1 virtual-port 2 svid 602 new-svid 602

home

3. 配置onu绑定Flow模板和配置uni端口

slot 1

interface gpon-olt 1/1

ont 1

virtual-port 1 encrypt disable

virtual-port 2 encrypt disable

service flow-profile 2 tcont-bind-profile 2 svc-type n_p

port-vlan 1 downstream inverse-upstream intpid 0x8100 outtpid 0x8100

port-vlan 1 rule 1 untag add-vid inner-pri 0 inner-vid 601

port-vlan 1 rule 2 single-tag transparent

home

 

不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!

新华三官网
联系我们