MDU配置举例脚本

MDU配置举例脚本


2024年4月2日发(作者:)

GPON业务配置脚本 文档密级:内部公开

说明:一个gemport匹配一个CVLAN,MDU的宽带CVLAN均是101-124,按端口分配;而且

语音VLAN和网管VLAN均占用一个gemport,所以一台MDU需要在OLT上建立26个gemport,

在同一个PON口下,gemport ID是唯一的。

GEMPORT从129开始计算,第一个给网管VLAN,第二个给语音VLAN,后24个给宽带VLAN,

所以按不同MDU gemport计算可按公式,129+n*26+(0到25),n可以做为ONTID。

场景设置 :

MA5680T下带MA5620G,ONTID为0;

网管VLAN为100,语音VLAN为1000,宽带SVLAN为1421,CVLAN为101-124;

MA5680T网管IP地址:192.168.1.1,MA5620G网管IP地址为192.168.1.2;

MA5620G语音IP地址:192.168.2.3,PBX语音网关IP地址:192.168.2.1,SIP端口号均

为5060;

网管gemport id=129,语音gemport id=130,宽带gemport id=131-154

宽带用户带宽为上行8M,下行16M;

MA5680T:

建立ONT模板:

MA5680T(config)#ont-profile add gpon profile-id 17

{ |profile-name }:

Command:

ont-profile add profile-id 17

Press 'Q' or 'q' to quit input

> Number of uplink PON ports<1-2> [1]:1

> IP config mode<0-Nonsupport, 1-Support, 2-DHCP only, 3-Static only> [1]:3

> The type of MAC bridge<1-Single,2-Multi> [1]:1

> Number of GEM ports<1-32> [32]: 32

> Is UNI configuration concerned<1-not concern, 2-concern> [1]:1

> Mapping mode<1-VLANID, 2-802_1pPRI, 3-VLANID_802_1pPRI, 9-IPTOS,

10-VLANID_IPTOS> [1]:1

> Number of T-CONTs<1-8> [1]:8

> The type of flow control<1-PQ, 2-GEMPORT-CAR, 3-FLOW-CAR> [1]:3

MA5680T(config)# ont resume resource resume //进行强制匹配

MA5680T(config)#interface gpon 0/1

MA5680T(config-if-gpon-0/1)#port

{ portid<0,3> }:0

{ range|laser-switch|ont-password-renew|ont-auto-find|fec }:ont-a

uto-find

{ switch }:enable

Command:

port 0 ont-auto-find enable

//打开0/1/0 PON口端口自动发现功能

MA5680T(config-if-gpon-0/1)#

2019-8-20

华为机密,未经许可不得扩散 第1页, 共7页

GPON业务配置脚本 文档密级:内部公开

! EVENT WARNING 2009-02-06 18:35:35

ALARM NAME :The Auto-find ONU's password is invalid

PARAMETERS :FrameID: 0, SlotID: 1, PortID: 0, SN: 32303131B6072A41,

Password(ASCII): FFFFFFFFFFFFFFFFFFFF

MA5680T(config-if-gpon-0/1)#

! EVENT WARNING 2009-02-06 18:35:35 ALARM NAME :ONU in Auto-find state alarm

PARAMETERS :FrameID: 0, SlotID: 1, PortID: 0, SN: 32303131B6072A41,

Password: -

如光路没问题,PON口ID为0的端口下带的MDU上电后会自动上报一个SN码,通过此码进

行注册。

MA5680T(config-if-gpon-0/1)# ont confirm

{ portid<0,3> }:0

{ all|ontid|password-auth|sn-auth }:sn-auth

{ sn<13,16> }:32303131B6072A41 (上面上报的SN码)

{ password-auth|profile-id|profile-name }:profile-id

{ profile-id<1,128> }:17

{ |description|manage-mode }:

Command:

ont confirm 1 sn-auth 32303131B606ED41 profile-id 17

//针对SN码为32303131B6072A41的MDU,通过ONT能力集模板17来注册MDU

正常注册后的MDU可以通过命令来查看是否正常

MA5680T(config-if-gpon-0/1)#display ont info 0 all //查看0/1/0下所有ONT注册

情况

Command:

display ont info 0 all

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

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

Flag State State State State

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

0/1/0 0 XXXXXXXXXXX active up normal match disable

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

In port 0, the total of ONTs are: 1

配置Tcont模板:

MA5680T(config)# dba-profile

{ add|delete|modify }:add

{ profile-id|profile-name|type1|type2|type3|type4|type5 }:p

rofile-id

{ profile-id<10,512> }:10

{ type1|profile-name|type2|type3|type4|type5 }:type2

{ assure }:assure

{ assure-bandwidth<512,1235456> }:24576

2019-8-20

华为机密,未经许可不得扩散 第2页, 共7页


发布者:admin,转转请注明出处:http://www.yc00.com/web/1712035145a1994337.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信