1、4/18/20224/18/2022 Page Page No. 0No. 01 1 华为OLT配置业务说明 WuXiaofangWuXiaofangSystem Test Enginner4/18/20224/18/2022 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,删除业务4/18/20224/18/2022 Page Page No
2、. 0No. 03 3业务结构图业务结构图vlanDba profileLine-profileservice-profile ONT 流量模板 service port 4/18/20224/18/2022 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 60
3、1 smartMA5600T(config)#vlan 602 to 606 smartMA5600T(config)#vlan 701 to 706 smart4/18/20224/18/2022 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 s
4、mart common 4 0 10 smart common 1 0 30 smart common 4 0 70 smart common 4 04/18/20224/18/2022 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 configur
5、ation4/18/20224/18/2022 Page Page No. 0No. 07 7DBA 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 Max
6、imum bandwidthtype5 Fixed bandwidth, Assured bandwidth, Maximum bandwidthDBA profile 创建指令:MA5600T(config)#dba-profile add profile-id 2 type5 fix 10240 assure 10240 max 1024000注意:MAX值一定要大于assure值。4/18/20224/18/2022 Page Page No. 0No. 08 8DBA profileDBA profile配置配置显示所有配置的DBA profile:MA5600T(config)#di
7、splay dba-profile all - Profile-ID type Bandwidth Fix Assure 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 04/18/20224/18/2022 Page Page No. 0No. 09 9线路模板:线路模板:gpon-lineprofilegpon-lineprofileline profile主要配置GEM
8、,TCONT,eth port,vlan的mapping关系.TCONT与GEM mapping的分两种模式:1,一个TCONT对应一个GEM2,一个TCONT对应多个GEM,4/18/20224/18/2022 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-g
9、pon-lineprofile-10)#?- Command of (config-gpon-lineprofile-10)# Mode:-commit 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-bu
10、ndle ONT port bundle functionqos-mode Set the line profiles QoS modequit Exit 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
11、its defaults4/18/20224/18/2022 Page Page No. 0No. 01111线路模板:线路模板:gpon-lineprofilegpon-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 ad
12、d 2 eth tcont 2MA5600T(config-gpon-lineprofile-10)#gem add 3 eth tcont 3MA5600T(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 64/18/20224/18/2022 Page Page No. 0No. 01212线路模板:线路模板:gpon
13、-lineprofilegpon-lineprofileMapping 模式设置:MA5600T(config-gpon-lineprofile-10)#mapping-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-pri
14、ority VLAN+802.1p priorityMA5600T(config-gpon-lineprofile-10)#mapping-mode port-vlan-priority4/18/20224/18/2022 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 vl
15、an 601 priority 0MA5600T(config-gpon-lineprofile-10)#gem mapping 3 3 eth 1 vlan 602 priority 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
16、eth 1 vlan 605 priority 7注意:这种mapping关系需要按照前面配置的mapping mode为依据,4/18/20224/18/2022 Page Page No. 0No. 01414线路模板:线路模板:gpon-lineprofilegpon-lineprofile配置完成后保存配置。MA5600T(config-gpon-lineprofile-10)#commit 显示配置line profile-10MA5600T(config)#display ont-lineprofile gpon profile-id 10 4/18/20224/18/2022 P
17、age Page No. 0No. 01515线路模板:线路模板:gpon-lineprofilegpon-lineprofile 2,一个TCONT对应多个GEM,创建gpon-lineprofile 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 ad
18、d 0 eth tcont 1MA5600T(config-gpon-lineprofile-11)#gem add 1 eth tcont 1 MA5600T(config-gpon-lineprofile-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 tco
19、nt 1 MA5600T(config-gpon-lineprofile-11)#gem add 6 eth tcont 1 4/18/20224/18/2022 Page Page No. 0No. 01616线路模板:线路模板: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
20、1 1 eth 1 vlan 601 priority 0MA5600T(config-gpon-lineprofile-11)#gem mapping 2 2 eth 1 vlan 602 priority 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
21、mapping 5 5 eth 1 vlan 605 priority 7注意:该指令中提到的vlan,priority值是最终从gem port 里面出去的vlan和priority。4/18/20224/18/2022 Page Page No. 0No. 01717线路模板:线路模板:gpon-lineprofilegpon-lineprofile显示配置line profile-11MA5600T(config)#display ont-lineprofile gpon profile-id 114/18/20224/18/2022 Page Page No. 0No. 01818业务
22、模板:业务模板:ont-srvprofileont-srvprofileont-srvprofile主要配置vlan和pbit的几种操作类型。创建ont-srvprofile ID :MA5600T(config)#ont-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 informationi
23、gmp-forward Set ONT IGMP up datagrams forwarding modemac-learning ONT MAC-address learning functionmulticast Multicast parameter configurationmulticast-forward Set ONT multicast-forwarding modenative-vlan ONT Native-VLAN option functionont-port ONT ports capability set command groupport port command
24、 groupquit Exit from current mode and enter prior modereturn Enter the privileged modeswitch Switch language modetransparent ONT transparent transmission functionundo Negate a command or set its defaults4/18/20224/18/2022 Page Page No. 0No. 01919业务模板:业务模板:ont-srvprofileont-srvprofile设置ONT的网络类型和数量(相当
25、于创建ONTCARD)MA5600T(config-gpon-srvprofile-80)#ont-port ?- Command of (config-gpon-srvprofile-80)# Mode:-catv CATV porteth ETH 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口。4/18/2022
26、4/18/2022 Page Page No. 0No. 02020业务模板:业务模板:ont-srvprofileont-srvprofile几种不同的vlan操作和PRI操作1,vlan translate PRI passthru(vlan: 60-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: translatio
27、ntransparent Service-type: transparentvlanid VLAN IDMA5600T(config-gpon-srvprofile-80)#port vlan eth 1 translation 600 user-vlan 604/18/20224/18/2022 Page Page No. 0No. 02121业务模板:业务模板:ont-srvprofileont-srvprofile2,vlan passthru PRI passthru(vlan: 601, pri:0 )MA5600T(config-gpon-srvprofile-80)#port v
28、lan 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(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
29、)MA5600T(config-gpon-srvprofile-80)#port vlan eth 1 translation 605 7 user-vlan 65 14/18/20224/18/2022 Page Page No. 0No. 02222业务模板:业务模板:ont-srvprofileont-srvprofile6,vlan add PRI passthru(vlan:untag-604 pri:0)创建vlan 604 的包透传。MA5600T(config-gpon-srvprofile-80)#port vlan eth 1 604创建native vlan指令:MA56
30、00T(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 vlan 上行untag不通 tag通有native vlan 上行tag不通 untag通4/18/20224/18/2022 Page Page No. 0No. 02323业务模板:业务模板:ont-srvprofileont-srvprofile7.Q-in-Q打开Q-in-Q模式:M
31、A5600T(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配置指令:MA5600T(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 4/18/2
32、0224/18/2022 Page Page No. 0No. 02424业务模板:业务模板:ont-srvprofileont-srvprofile显示srvprofile-80 指令: MA5600T(config)#display ont-srvprofile gpon profile-id 80 - ETH 1 0 IPHOST 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 ty
33、pe 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 Translation 6 603 3 603 2 - - IPHOST 1 Translation 1 1 - 1 - - - - Binding times : 1 -4/18/20224/18/2022
34、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 : Ont EquipmentID : Ont autofind time : 2011-12-26 14:52:05+08:00 -4/18/20224/18
35、/2022 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 omci ont-lineprofile-id 10 ont-srvprofile-id 80 注:0 为OLT的PON 口,3为ONT ID
36、注册有两种方式:password-auth 注册和sn-auth 注册。4/18/20224/18/2022 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 - 1 485754430B000526 active offline initial initial no -4/18/2
37、0224/18/2022 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 Control flag : active Run state : online Config stat
38、e : 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 4/18/20224/18/2022 Page Page No. 0No. 02929流量模板配置流量模板配置配置流量模板:MA5600T(config)#traffic table ip index 21 cir off pr
39、iority ?- 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-policy tag-In-PackageMA5600T(con
40、fig)#traffic table ip index 22 cir off priority 5 inner-priority 1 priority-policy local-Setting 4/18/20224/18/2022 Page Page No. 0No. 03030流量模板配置流量模板配置显示流量模板信息:MA5600T(config)#display traffic table ip from-index 0 |to-index : Command: display traffic table ip from-index 0 - TID CIR(kbps) CBS(bytes)
41、 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 off of
42、f off off 7 user-cos tag-pri 8 off off off off 5user-cos local-pri 注:前面的是限速,后面是对pri的操作:4/18/20224/18/2022 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 ont
43、 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 64/18/20224/18/2022 Page Page No. 0No. 03232servic
44、e port 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
45、 8 tx-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
46、multi-service user-vlan 603 rx-cttr 8 tx-cttr 84/18/20224/18/2022 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
47、common gpon 0/2 /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
48、 4010 6 6 down 16 4020 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 down4/18/20224/18/2022 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
49、(config)#undo port vlan 3020 0/19 04/18/20224/18/2022 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
50、 602 5 5 |602 602 0 04 4 603 603 2 3 |603 703 3 3 5 5 untage 604 0 0 |604 604 0 06 6 65 605 1 7 |605 605 7 7 4/18/20224/18/2022 Page Page No. 0No. 03636组播配置组播配置igmp 绑定相关的vlan:MA5600T(config)#multicast-vlan 602MA5600T(config-mvlan602)#设置IGMP 模式:MA5600T(config-mvlan602)#igmp mode snooping Are you sure
侵权处理QQ:3464097650--上传资料QQ:3464097650
【声明】本站为“文档C2C交易模式”,即用户上传的文档直接卖给(下载)用户,本站只是网络空间服务平台,本站所有原创文档下载所得归上传人所有,如您发现上传作品侵犯了您的版权,请立刻联系我们并提供证据,我们将在3个工作日内予以改正。