1、7/9/20257/9/2025 Page Page No.0No.01 1 华为OLT配置业务说明 WuXiaofangSystem Test Enginner7/9/20257/9/2025 Page Page No.0No.02 2摘要摘要1,Vlan配置2,DBA profile 配置3,线路模板:gpon-lineprofile配置4,业务模板:ont-srvprofile配置5,ONT注册6,流量模板配置7,service port配置8,vlan与上联口关联9,组播配置10,删除业务7/9/20257/9/2025 Page Page No.0No.03 3业务结构图业务结构图v
2、lanDba profileLine-profileservice-profile ONT 流量模板 service port 7/9/20257/9/2025 Page Page No.0No.04 4VlanVlan配置配置Vlan的几种类型:MA5600T(config)#vlan 601?-Command of config Mode:-Please press ENTER to execute command to VLAN rangevlantype VLAN type创建指令:MA5600T(config)#vlan 601 smartMA5600T(config)#vlan 6
3、02 to 606 smartMA5600T(config)#vlan 701 to 706 smart7/9/20257/9/2025 Page Page No.0No.05 5VlanVlan配置配置显示所有vlan指令:MA5600T(config)#display vlan all|vlanattr|vlantype:Command:display vlan all -VLAN Type Attribute STND-Port NUM SERV-Port NUM -1 smart common 4 0 2 smart common 4 0 10 smart common 1 0 30
4、smart common 4 0 70 smart common 4 07/9/20257/9/2025 Page Page No.0No.06 6DBA profileDBA profile配置配置DBA profile 的几种操作:MA5600T(config)#dba-profile?-Command of config Mode:-add Add a DBA profiledelete Delete a DBA profilemodify Modify a DBA profile configuration7/9/20257/9/2025 Page Page No.0No.07 7DB
5、A profileDBA profile配置配置DBA profile中几种type:MA5600T(config)#dba-profile add?-Command of config Mode:-profile-id DBA profile IDprofile-name DBA profile nametype1 Fixed bandwidthtype2 Assured bandwidthtype3 Assured bandwidth,Maximum bandwidthtype4 Maximum bandwidthtype5 Fixed bandwidth,Assured bandwidt
6、h,Maximum bandwidthDBA profile 创建指令:MA5600T(config)#dba-profile add profile-id 2 type5 fix 10240 assure 10240 max 1024000注意:MAX值一定要大于assure值。7/9/20257/9/2025 Page Page No.0No.08 8DBA profileDBA profile配置配置显示所有配置的DBA profile:MA5600T(config)#display dba-profile all -Profile-ID type Bandwidth Fix Assur
7、e Max Bind compensation (kbps)(kbps)(kbps)times -1 1 No 5120 0 0 9 2 4 No 0 0 1024000 2 3 3 No 0 800000 1024000 0 4 1 No 1024000 0 0 07/9/20257/9/2025 Page Page No.0No.09 9线路模板:线路模板:gpon-lineprofilegpon-lineprofileline profile主要配置GEM,TCONT,eth port,vlan的mapping关系.TCONT与GEM mapping的分两种模式:1,一个TCONT对应一
8、个GEM2,一个TCONT对应多个GEM,7/9/20257/9/2025 Page Page No.0No.01010线路模板:线路模板:gpon-lineprofilegpon-lineprofile1,一个TCONT对应一个GEM配置:创建gpon-lineprofile ID MA5600T(config)#ont-lineprofile gpon profile-id 10 profile-name wxf_1 MA5600T(config-gpon-lineprofile-10)#?-Command of(config-gpon-lineprofile-10)#Mode:-comm
9、it Commit profile data display Display informationfec-upstream Configure the upstream FEC functiongem GEM configuration command groupmapping-mode Set the line profiles mapping modeomcc ONT management and control channelport-bundle ONT port bundle functionqos-mode Set the line profiles QoS modequit E
10、xit from current mode and enter prior modereturn Enter the privileged modeswitch Switch language modetcont Bind the DBA profile to the T-CONTtr069-management Configure the tr069 management functionundo Negate a command or set its defaults7/9/20257/9/2025 Page Page No.0No.01111线路模板:线路模板:gpon-lineprof
11、ilegpon-lineprofile创建tcont,tcont与BW绑定指令:MA5600T(config-gpon-lineprofile-10)#tcont 1-6 dba-profile-id 2gem 与tcont的mapping关系:MA5600T(config-gpon-lineprofile-10)#gem add 1 eth tcont 1MA5600T(config-gpon-lineprofile-10)#gem add 2 eth tcont 2MA5600T(config-gpon-lineprofile-10)#gem add 3 eth tcont 3MA5600
12、T(config-gpon-lineprofile-10)#gem add 4 eth tcont 4MA5600T(config-gpon-lineprofile-10)#gem add 5 eth tcont 5MA5600T(config-gpon-lineprofile-10)#gem add 6 eth tcont 67/9/20257/9/2025 Page Page No.0No.01212线路模板:线路模板:gpon-lineprofilegpon-lineprofileMapping 模式设置:MA5600T(config-gpon-lineprofile-10)#mappi
13、ng-mode?-Command of(config-gpon-lineprofile-10)#Mode:-iptos IP TOSport PORTport-priority PORT+802.1p priorityport-vlan PORT+VLAN port-vlan-priority PORT+VLAN+802.1p prioritypriority 802.1p priorityvlan VLANvlan-priority VLAN+802.1p priorityMA5600T(config-gpon-lineprofile-10)#mapping-mode port-vlan-p
14、riority7/9/20257/9/2025 Page Page No.0No.01313Gem,eth port,vlan mapping关系MA5600T(config-gpon-lineprofile-10)#gem mapping 1 1 eth 1 vlan 600 priority 0MA5600T(config-gpon-lineprofile-10)#gem mapping 2 2 eth 1 vlan 601 priority 0MA5600T(config-gpon-lineprofile-10)#gem mapping 3 3 eth 1 vlan 602 priori
15、ty 5MA5600T(config-gpon-lineprofile-10)#gem mapping 4 4 eth 1 vlan 603 priority 3MA5600T(config-gpon-lineprofile-10)#gem mapping 5 5 eth 1 vlan 604 priority 0MA5600T(config-gpon-lineprofile-10)#gem mapping 6 6 eth 1 vlan 605 priority 7注意:这种mapping关系需要按照前面配置的mapping mode为依据,7/9/20257/9/2025 Page Page
16、 No.0No.01414线路模板:线路模板:gpon-lineprofilegpon-lineprofile配置完成后保存配置。MA5600T(config-gpon-lineprofile-10)#commit 显示配置line profile-10MA5600T(config)#display ont-lineprofile gpon profile-id 10 7/9/20257/9/2025 Page Page No.0No.01515线路模板:线路模板:gpon-lineprofilegpon-lineprofile 2,一个TCONT对应多个GEM,创建gpon-lineprof
17、ile ID MA5600T(config)#ont-lineprofile gpon profile-id 11创建TCONT,以及tcont绑定DBAMA5600T(config-gpon-lineprofile-11)#tcont 1 dba-profile-id 2创建GEM 以及gem 与tcont对应关系:MA5600T(config-gpon-lineprofile-11)#gem add 0 eth tcont 1MA5600T(config-gpon-lineprofile-11)#gem add 1 eth tcont 1 MA5600T(config-gpon-linep
18、rofile-11)#gem add 2 eth tcont 1 MA5600T(config-gpon-lineprofile-11)#gem add 3 eth tcont 1 MA5600T(config-gpon-lineprofile-11)#gem add 4 eth tcont 1 MA5600T(config-gpon-lineprofile-11)#gem add 5 eth tcont 1 MA5600T(config-gpon-lineprofile-11)#gem add 6 eth tcont 1 7/9/20257/9/2025 Page Page No.0No.0
19、1616线路模板:线路模板:gpon-lineprofilegpon-lineprofileGem,eth port,vlan mapping关系MA5600T(config-gpon-lineprofile-11)#gem mapping 0 0 eth 1 vlan 600 priority 0MA5600T(config-gpon-lineprofile-11)#gem mapping 1 1 eth 1 vlan 601 priority 0MA5600T(config-gpon-lineprofile-11)#gem mapping 2 2 eth 1 vlan 602 priori
20、ty 5MA5600T(config-gpon-lineprofile-11)#gem mapping 3 3 eth 1 vlan 603 priority 3MA5600T(config-gpon-lineprofile-11)#gem mapping 4 4 eth 1 vlan 604 priority 0MA5600T(config-gpon-lineprofile-11)#gem mapping 5 5 eth 1 vlan 605 priority 7注意:该指令中提到的vlan,priority值是最终从gem port 里面出去的vlan和priority。7/9/20257
21、/9/2025 Page Page No.0No.01717线路模板:线路模板:gpon-lineprofilegpon-lineprofile显示配置line profile-11MA5600T(config)#display ont-lineprofile gpon profile-id 117/9/20257/9/2025 Page Page No.0No.01818业务模板:业务模板:ont-srvprofileont-srvprofileont-srvprofile主要配置vlan和pbit的几种操作类型。创建ont-srvprofile ID:MA5600T(config)#ont
22、srvprofile gpon profile-id 80 profile-name wxf_1MA5600T(config-gpon-srvprofile-80)#?-Command of(config-gpon-srvprofile-80)#Mode:-commit Commit profile data display Display informationigmp-forward Set ONT IGMP up datagrams forwarding modemac-learning ONT MAC-address learning functionmulticast Multic
23、ast parameter configurationmulticast-forward Set ONT multicast-forwarding modenative-vlan ONT Native-VLAN option functionont-port ONT ports capability set command groupport port command groupquit Exit from current mode and enter prior modereturn Enter the privileged modeswitch Switch language modetr
24、ansparent ONT transparent transmission functionundo Negate a command or set its defaults7/9/20257/9/2025 Page Page No.0No.01919业务模板:业务模板:ont-srvprofileont-srvprofile设置ONT的网络类型和数量(相当于创建ONTCARD)MA5600T(config-gpon-srvprofile-80)#ont-port?-Command of(config-gpon-srvprofile-80)#Mode:-catv CATV porteth E
25、TH portmoca MOCA portpots POTS porttdm TDM porttdm-srvtype TDM service typetdm-type TDM typeMA5600T(config-gpon-srvprofile-80)#ont-port eth 1 pots 2注:设置了1个ETH口,两个POST口。7/9/20257/9/2025 Page Page No.0No.02020业务模板:业务模板:ont-srvprofileont-srvprofile几种不同的vlan操作和PRI操作1,vlan translate PRI passthru(vlan:60-
26、600,pri:0)MA5600T(config-gpon-srvprofile-80)#port vlan eth 1?-Command of(config-gpon-srvprofile-80)#Mode:-q-in-q Add a service VLANtranslation Service-type:translationtransparent Service-type:transparentvlanid VLAN IDMA5600T(config-gpon-srvprofile-80)#port vlan eth 1 translation 600 user-vlan 607/9/
27、20257/9/2025 Page Page No.0No.02121业务模板:业务模板:ont-srvprofileont-srvprofile2,vlan passthru PRI passthru(vlan:601,pri:0)MA5600T(config-gpon-srvprofile-80)#port vlan eth 1 601 3,vlan passthru PRI passthru(vlan:602,pri:5)MA5600T(config-gpon-srvprofile-80)#port vlan eth 1 602 4,vlan passthru PRI translate
28、vlan:603,pri:2-3)MA5600T(config-gpon-srvprofile-80)#port vlan eth 1 translation 603 3 user-vlan 603 25,vlan translate PRI translate(vlan:65-605,pri:1-7)MA5600T(config-gpon-srvprofile-80)#port vlan eth 1 translation 605 7 user-vlan 65 17/9/20257/9/2025 Page Page No.0No.02222业务模板:业务模板:ont-srvprofileo
29、nt-srvprofile6,vlan add PRI passthru(vlan:untag-604 pri:0)创建vlan 604 的包透传。MA5600T(config-gpon-srvprofile-80)#port vlan eth 1 604创建native vlan指令:MA5600T(config)#interface gpon 0/2MA5600T(config-if-gpon-0/2)#ont port native-vlan 0 3 eth 1 vlan 604注意:该指令一定要在创建ONT之后建立,创建了native vlan相当于配置了PVID。其中:无native
30、 vlan 上行untag不通 tag通有native vlan 上行tag不通 untag通7/9/20257/9/2025 Page Page No.0No.02323业务模板:业务模板:ont-srvprofileont-srvprofile7.Q-in-Q打开Q-in-Q模式:MA5600T(config-gpon-srvprofile-80)#port q-in-q eth 1?-Command of(config-gpon-srvprofile-80)#Mode:-switch Enable/disable/unconcern ONT the QinQ function配置指令:M
31、A5600T(config-gpon-srvprofile-80)#port q-in-q eth 1 enable MA5600T(config-gpon-srvprofile-80)#port vlan eth 1 q-in-q 606 user-vlan 66 7/9/20257/9/2025 Page Page No.0No.02424业务模板:业务模板:ont-srvprofileont-srvprofile显示srvprofile-80 指令:MA5600T(config)#display ont-srvprofile gpon profile-id 80 -ETH 1 0 IPH
32、OST 1 0 -Notes:*indicates transparent attribute of the vlan -Port Port Service-type Index S-VLAN S-PRI C-VLAN C-PRI ENCAP S-PRI type ID POLICY -ETH 1 Translation 1 1 -1 -ETH 1 Translation 2 600 -60 -ETH 1 Translation 3 605 7 65 1 -ETH 1 Translation 4 601 -601 -ETH 1 Translation 5 602 -602 -ETH 1 Tra
33、nslation 6 603 3 603 2 -IPHOST 1 Translation 1 1 -1 -Binding times:1 -7/9/20257/9/2025 Page Page No.0No.02525ONTONT注册注册查看还没有注册上,OLT自动发现的ONTMA5600T#display ont autofind all -Number :5 F/S/P :0/2/0 Ont SN :4857544320111226 Password :0 xABCDEF00111111111111 VenderID :Ont Version :Ont SoftwareVersion:On
34、t EquipmentID :Ont autofind time :2011-12-26 14:52:05+08:00 -7/9/20257/9/2025 Page Page No.0No.02626ONTONT注册注册ONT必须在指定的板子上注册:(F/S/P:0/2/0)MA5600T(config)#interface gpon 0/2MA5600T(config-if-gpon-0/2)#注册ONT关联相关的lineprofile和srvprofileMA5600T(config-if-gpon-0/2)#ont add 0 3 sn-auth 4857544320111226 omc
35、i ont-lineprofile-id 10 ont-srvprofile-id 80 注:0 为OLT的PON 口,3为ONT ID 注册有两种方式:password-auth 注册和sn-auth 注册。7/9/20257/9/2025 Page Page No.0No.02727ONTONT注册注册查看0机框上面板子上所有已经注册上的ONT及状态:MA5600T(config)#display ont info 0 allF/S/P:0/2/0 -ONT-ID SN Control Run Config Match Protect flag state state state side
36、 -1 485754430B000526 active offline initial initial no -7/9/20257/9/2025 Page Page No.0No.02828ONTONT注册注册查看整个ONT的配置信息:MA5600T(config)#display ont info 0 2 0 3(F/S/P/ONT)-Command of privilege Mode:-Please press ENTER to execute command MA5600T(config)#display ont info 0 2 0 3 -F/S/P :0/2/0 ONT-ID :3
37、Control flag :active Run state :online Config state :normal Match state :match DBA type :SR ONT distance(m):219 ONT battery state :charge state Authentic type :SN-auth SN :4857544320111226(HWTC-20111226)Management mode :OMCI 7/9/20257/9/2025 Page Page No.0No.02929流量模板配置流量模板配置配置流量模板:MA5600T(config)#t
38、raffic table ip index 21 cir off priority?-Command of config Mode:-prival Priority of the package described in 802.1puser-cos Copy CoS priorityuser-inner-cos Remark from CoS priority of input packages CTaguser-tos Copy ToS priorityMA5600T(config)#traffic table ip index 21 cir off priority 6 priority
39、policy tag-In-PackageMA5600T(config)#traffic table ip index 22 cir off priority 5 inner-priority 1 priority-policy local-Setting 7/9/20257/9/2025 Page Page No.0No.03030流量模板配置流量模板配置显示流量模板信息:MA5600T(config)#display traffic table ip from-index 0|to-index:Command:display traffic table ip from-index 0 -
40、TID CIR(kbps)CBS(bytes)PIR(kbps)PBS(bytes)Pri Copy-policy Pri-Policy -0 1024 34768 2048 69536 6-tag-pri 1 2496 81872 4992 163744 6-tag-pri 2 512 18384 1024 36768 0-tag-pri 3 576 20432 1152 40864 2-tag-pri 4 64 4048 128 8096 4-tag-pri 5 2048 67536 4096 135072 0-tag-pri 6 off off off off 0-tag-pri 7 o
41、ff off off off 7 user-cos tag-pri 8 off off off off 5user-cos local-pri 注:前面的是限速,后面是对pri的操作:7/9/20257/9/2025 Page Page No.0No.03131service port service port 配置配置该指令描述的是OLT中vlan和pbit几种操作1,olt上联口不做vlan转换,pbit不做转换:(OLT vlan:600-600,602-602 pri:all-0)MA5600T(config)#service-port 2 vlan 600 gpon 0/2/0 on
42、t 3 gemport 1 multi-service user-vlan 600 rx-cttr 6 tx-cttr 6MA5600T(config)#service-port 4 vlan 602 gpon 0/2/0 ont 3 gemport 3 multi-service user-vlan 602 rx-cttr 6 tx-cttr 6注:2是service-port ID,关联的是GPON 0/2/0 中ont3 gemport 1,使用的带宽是rx-cttr 6 tx-cttr 67/9/20257/9/2025 Page Page No.0No.03232service po
43、rt service port 配置配置2,olt上联口不做vlan转换,pbit做转换:(OLT vlan:604-604,605-605 pri:copy)MA5600T(config)#service-port 6 vlan 604 gpon 0/2/0 ont 3 gemport 5 multi-service user-vlan 604 rx-cttr 8 tx-cttr 8MA5600T(config)#service-port 7 vlan 605 gpon 0/2/0 ont 3 gemport 6 multi-service user-vlan 605 rx-cttr 8 t
44、x-cttr 83,olt上联口做vlan转换,pbit不做转换:(OLT vlan:601-701,pri:all-0)MA5600T(config)#service-port 3 vlan 701 gpon 0/2/0 ont 3 gemport 2 multi-service user-vlan 601 rx-cttr 6 tx-cttr 64,olt上联口不做vlan转换,pbit做转换:(OLT vlan:603-703,pri:copy)MA5600T(config)#service-port 5 vlan 703 gpon 0/2/0 ont 3 gemport 4 multi-
45、service user-vlan 603 rx-cttr 8 tx-cttr 87/9/20257/9/2025 Page Page No.0No.03333service port service port 配置配置配置完成后保存:MA5600T(config)#save显示创建的service port:MA5600T(config)#display service-port all-INDEX VLAN VLAN PORT F/S/P VPI VCI FLOW FLOW RX TX STATE ID ATTR TYPE TYPE PARA -2 600 common gpon 0/2/
46、0 3 1 vlan 600 6 6 up 3 701 common gpon 0/2/0 3 2 vlan 601 6 6 up 4 602 common gpon 0/2/0 3 3 vlan 602 6 6 up 5 703 common gpon 0/2/0 3 4 vlan 603 8 8 up 6 604 common gpon 0/2/0 3 5 vlan 604 8 8 up 7 605 common gpon 0/2/0 3 6 vlan 605 8 8 up 15 4010 common gpon 0/2/0 37 1 vlan 4010 6 6 down 16 4020
47、common gpon 0/2/0 37 1 vlan 4020 6 6 down 17 4030 common gpon 0/2/0 37 1 vlan 4030 6 6 down7/9/20257/9/2025 Page Page No.0No.03434vlanvlan与上联口关联与上联口关联把vlan关联到相关的上联口MA5600T(config)#port vlan 600 to 605 0/19 0 MA5600T(config)#port vlan 700 to 705 0/19 0删除vlan关联的上联口:MA5600T(config)#undo port vlan 3020
48、0/19 07/9/20257/9/2025 Page Page No.0No.03535配置说明:配置说明:0/2/0 ont:3 ont-lineprofile-id 10 ont-srvprofile-id 80:ont|olt -tcont gem user-vlan net-vlan user-pri net-pri|user-vlan net-vlan user-pri net-pri1 1 60 600 0 0|600 600 0 02 2 601 601 0 0|601 701 0 0 3 3 602 602 5 5|602 602 0 04 4 603 603 2 3|603
49、 703 3 3 5 5 untage 604 0 0|604 604 0 06 6 65 605 1 7|605 605 7 7 7/9/20257/9/2025 Page Page No.0No.03636组播配置组播配置igmp 绑定相关的vlan:MA5600T(config)#multicast-vlan 602MA5600T(config-mvlan602)#设置IGMP 模式:MA5600T(config-mvlan602)#igmp mode snooping Are you sure to change IGMP mode?(y/n)n:y Command has been
50、executed successfully设置IGMP version:MA5600T(config-mvlan602)#igmp version v2 This operation will delete all programs in current multicast vlan Are you sure to change current IGMP version?(y/n)n:y7/9/20257/9/2025 Page Page No.0No.03737组播配置组播配置配置IGMP 节目源:MA5600T(config-mvlan602)#igmp program add ip 23