华为ma5680tOLT开局配置.docx
《华为ma5680tOLT开局配置.docx》由会员分享,可在线阅读,更多相关《华为ma5680tOLT开局配置.docx(11页珍藏版)》请在冰豆网上搜索。
华为ma5680tOLT开局配置
华为ma5680t-OLT开局配置
第一步:
添加一个用户
MA5680T>enable//打开特权EXEC
MA5680T#config//进入终端配置模式
MA5680T(config)#sysnameSJZ-HW-OLT-1//设备命名(一般为开局配置)
MA5680T(config)#terminalusername//添加操作用户huawei
UserName(length<6,15>):
huawei//设置用户名
UserPassword(length<6,15>):
huawei123//要求输入密码
ConfirmPassword(length<6,15>):
huawei123//要求再次确认一遍密码
Userprofilename(<=15chars)[root]:
root//输入用户管理级别
User'sLevel:
1.CommonUser2.Operator3.Administrator:
3//选择用户权限
PermittedReenterNumber(0--4):
4//设置此用户名可重复登录次数,一般选择4
User'sAppendedInfo(<=30chars):
HuaweiAdm//添加描述,可不设置。
Addingusersucceeds
Repeatthisoperation?
(y/n)[n]:
(是否重复操作,N)
第二步:
创建DBA(DynamicallyBandwidthAssignment动态带宽分配)模版
类型(type)分为5种,分别是type1,type2,type3,type4,type5.其中:
//type1为固定带宽模式;
//type2为保证带宽模式;
//type3为保证带宽的同时设置最大带宽值;
//type4为仅设定最大带宽模式;
//type5为3种模式的综合,即设置最大带宽,在保证带宽的同时采用固定带宽模式。
下面创建两个DBA模版
dba-profileaddprofile-id10type4max307200(保证300M带宽)
dba-profileaddprofile-id512type2assure10240(保证10M带宽)
第三步:
创建链路模版,OUN模版
MA5680T(config)#ont-lineprofilegponprofile-id10//建链路模版,并且绑定DBA模版10
tcont0dba-profile-id512绑定t-cont与DBA模版
tcont1dba-profile-id10TCONT1绑定DBA为10模版
tcont2dba-profile-id10
tcont3dba-profile-id10
tcont4dba-profile-id10
gemadd0ethtcont0建立GEMport,绑定相应的TCONT通道
gemadd1ethtcont1//gemport1绑定TCONT1
gemadd2ethtcont1//gemport2绑定TCONT1
gemadd3ethtcont1
gemadd4ethtcont1
gemmapping00vlan888建立GEMPort端口映射,这里使用索引号与vlan映射。
gemmapping10vlan101//gemport1的第0个索引号与vlan101映射
gemmapping20vlan102//gemport2的第0个索引号与vlan102映射
gemmapping30vlan103
gemmapping40vlan104
commit(提交,保存)
第四步:
创建业务模版
ont-srvprofilegponprofile-id10
ont-portpots2eth4ONT的能力,支持4个eth和2个pots口(pots:
模拟电话业务)
commit
//ont-srvprofilegponprofile-id20(个人理解是多余的,在这里可以不用配)
//ont-portpots2eth4ONT的能力,支持4个eth和2个pots口
//commit
第五步:
创建oun业务
interfacegpon0/1
port0ont-auto-findenable
port1ont-auto-findenable
port2ont-auto-findenable
port3ont-auto-findenable
port4ont-auto-findenable
port5ont-auto-findenable
port6ont-auto-findenable
port7ont-auto-findenable
查看自动发现的oun,取其SN码(MA5680T(config-if-gpon-0/1)#displayontautofind0 )
ontadd00sn-auth0000000000000000snmpont-lineprofile-id10
ontipconfig00(前面的0表示gpon0/1/0,后面的0表示ont的id:
0)staticip-address172.17.0.1mask255.255.0.0vlan888priority0gateway172.17.0.253pri-dns172.17.0.254slave-dns172.17.0.253
第六步:
创建业务虚端口
huawei(config)#service-portvlan1001epon0/1/0ont0(0是对应光猫的编号)
gemport1(1是对应vlan101102885的编号)multi-serviceuser-vlan101\\配置网
service-port0vlan888gpon0/1/0ont8gemport0multi-serviceuser-vlan888
tag-transformtranslate
service-port1vlan1001gpon0/1/0ont8gemport1multi-serviceuser-vlan101
tag-transformtranslate-and-addinner-vlan101inner-priority0
service-port2vlan888gpon0/1/0ont0gemport0multi-serviceuser-vlan888
tag-transformtranslate
service-port3vlan888gpon0/1/0ont1gemport0multi-serviceuser-vlan888
tag-transformtranslate
service-port4vlan888gpon0/1/0ont2gemport0multi-serviceuser-vlan888
tag-transformtranslate
service-port5vlan888gpon0/1/0ont3gemport0multi-serviceuser-vlan888
tag-transformtranslate
service-port6vlan888gpon0/1/0ont4gemport0multi-serviceuser-vlan888
tag-transformtranslate
service-port7vlan888gpon0/1/0ont5gemport0multi-serviceuser-vlan888
tag-transformtranslate
service-port8vlan888gpon0/1/0ont6gemport0multi-serviceuser-vlan888
tag-transformtranslate
service-port9vlan888gpon0/1/0ont7gemport0multi-serviceuser-vlan888
tag-transformtranslate
service-port10vlan888gpon0/1/1ont0gemport0multi-serviceuser-vlan888
tag-transformtranslate
service-port11vlan888gpon0/1/1ont1gemport0multi-serviceuser-vlan888
tag-transformtranslate
service-port12vlan888gpon0/1/1ont2gemport0multi-serviceuser-vlan888
tag-transformtranslate
service-port13vlan888gpon0/1/1ont3gemport0multi-serviceuser-vlan888
tag-transformtranslate
service-port14vlan888gpon0/1/1ont4gemport0multi-serviceuser-vlan888
tag-transformtranslate
service-port15vlan888gpon0/1/1ont5gemport0multi-serviceuser-vlan888
tag-transformtranslate
service-port16vlan888gpon0/1/1ont6gemport0multi-serviceuser-vlan888
tag-transformtranslate
service-port17vlan888gpon0/1/1ont7gemport0multi-serviceuser-vlan888
tag-transformtranslate
service-port18vlan1001gpon0/1/0ont1gemport1multi-serviceuser-vlan
101tag-transformtranslate-and-addinner-vlan102inner-priority0
service-port19vlan1001gpon0/1/0ont2gemport1multi-serviceuser-vlan
101tag-transformtranslate-and-addinner-vlan103inner-priority0
service-port20vlan1001gpon0/1/0ont3gemport1multi-serviceuser-vlan
101tag-transformtranslate-and-addinner-vlan104inner-priority0
service-port21vlan1001gpon0/1/0ont4gemport1multi-serviceuser-vlan
101tag-transformtranslate-and-addinner-vlan105inner-priority0
service-port22vlan1001gpon0/1/0ont5gemport1multi-serviceuser-vlan
101tag-transformtranslate-and-addinner-vlan106inner-priority0
service-port23vlan1001gpon0/1/0ont6gemport1multi-serviceuser-vlan
101tag-transformtranslate-and-addinner-vlan107inner-priority0
service-port24vlan1001gpon0/1/0ont7gemport1multi-serviceuser-vlan
101tag-transformtranslate-and-addinner-vlan108inner-priority0
service-port25vlan1001gpon0/1/1ont0gemport1multi-serviceuser-vlan
101tag-transformtranslate-and-addinner-vlan109inner-priority0
service-port26vlan1001gpon0/1/1ont1gemport1multi-serviceuser-vlan
101tag-transformtranslate-and-addinner-vlan110inner-priority0
service-port27vlan1001gpon0/1/1ont2gemport1multi-serviceuser-vlan
101tag-transformtranslate-and-addinner-vlan111inner-priority0
service-port28vlan1001gpon0/1/1ont3gemport1multi-serviceuser-vlan
101tag-transformtranslate-and-addinner-vlan112inner-priority0
service-port29vlan1001gpon0/1/1ont4gemport1multi-serviceuser-vlan
101tag-transformtranslate-and-addinner-vlan113inner-priority0
service-port30vlan1001gpon0/1/1ont5gemport1multi-serviceuser-vlan
101tag-transformtranslate-and-addinner-vlan114inner-priority0
service-port31vlan1001gpon0/1/1ont6gemport1multi-serviceuser-vlan
101tag-transformtranslate-and-addinner-vlan115inner-priority0
service-port32vlan1001gpon0/1/1ont7gemport1multi-serviceuser-vlan
101tag-transformtranslate-and-addinner-vlan116inner-priority0
service-port33vlan888gpon0/1/1ont8gemport0multi-serviceuser-vlan888
tag-transformtranslate
service-port34vlan1001gpon0/1/1ont8gemport1multi-serviceuser-vlan
101tag-transformtranslate-and-addinner-vlan117inner-priority0
service-port35vlan1015gpon0/1/0ont0gemport3multi-serviceuser-vlan
103tag-transformtranslate
service-port36vlan1015gpon0/1/0ont1gemport3multi-serviceuser-vlan
103tag-transformtranslate
service-port37vlan1015gpon0/1/0ont2gemport3multi-serviceuser-vlan
103tag-transformtranslate
service-port38vlan1015gpon0/1/0ont3gemport3multi-serviceuser-vlan
103tag-transformtranslate
service-port39vlan1015gpon0/1/0ont4gemport3multi-serviceuser-vlan
103tag-transformtranslate
service-port40vlan1015gpon0/1/0ont5gemport3multi-serviceuser-vlan
103tag-transformtranslate
service-port41vlan1015gpon0/1/0ont6gemport3multi-serviceuser-vlan
103tag-transformtranslate
service-port42vlan1015gpon0/1/0ont7gemport3multi-serviceuser-vlan
103tag-transformtranslate
service-port43vlan1015gpon0/1/0ont8gemport3multi-serviceuser-vlan
103tag-transformtranslate
service-port44vlan1015gpon0/1/1ont0gemport3multi-serviceuser-vlan
103tag-transformtranslate
service-port45vlan1015gpon0/1/1ont1gemport3multi-serviceuser-vlan
103tag-transformtranslate
service-port46vlan1015gpon0/1/1ont2gemport3multi-serviceuser-vlan
103tag-transformtranslate
service-port47vlan1015gpon0/1/1ont3gemport3multi-serviceuser-vlan
103tag-transformtranslate
service-port48vlan1015gpon0/1/1ont4gemport3multi-serviceuser-vlan
103tag-transformtranslate
service-port49vlan1015gpon0/1/1ont5gemport3multi-serviceuser-vlan
103tag-transformtranslate
service-port50vlan1015gpon0/1/1ont6gemport3multi-serviceuser-vlan
103tag-transformtranslate
service-port51vlan1015gpon0/1/1ont7gemport3multi-serviceuser-vlan
103tag-transformtranslate
service-port52vlan1015gpon0/1/1ont8gemport3multi-serviceuser-vlan
103tag-transformtranslate
service-port53vlan805gpon0/1/0ont0gemport2multi-serviceuser-vlan102
tag-transformtranslate
service-port54vlan806gpon0/1/0ont1gemport2multi-serviceuser-vlan102
tag-transformtranslate
service-port55vlan807gpon0/1/0ont2gemport2multi-serviceuser-vlan102
tag-transformtranslate
service-port56vlan808gpon0/1/0ont3gemport2multi-serviceuser-vlan102
tag-transformtranslate
service-port57vlan809gpon0/1/0ont4gemport2multi-serviceuser-vlan102
tag-transformtranslate
service-port58vlan810gpon0/1/0ont5gemport2multi-serviceuser-vlan102
tag-transformtranslate
service-port59vlan811gpon0/1/0ont6gemport2multi-serviceuser-vlan102
tag-transformtranslate
service-port60vlan812gpon0/1/0ont7gemport2multi-serviceuser-vlan102
tag-transformtranslate
service-port61vlan813gpon0/1/0ont8