华为OLT配置说明_第1页
华为OLT配置说明_第2页
华为OLT配置说明_第3页
华为OLT配置说明_第4页
华为OLT配置说明_第5页
已阅读5页,还剩41页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、,华为OLT配置业务说明,WuXiaofang System Test Enginner,摘要,1,Vlan配置 2,DBA profile 配置 3,线路模板:gpon-lineprofile配置 4,业务模板:ont-srvprofile配置 5,ONT注册 6,流量模板配置 7,service port配置 8,vlan与上联口关联 9,组播配置 10,删除业务,业务结构图,vlan,Dba profile,Line-profile,service-profile,ONT,流量模板,service port,Vlan配置,Vlan的几种类型: MA5600T(config)#vlan 6

2、01 ? - Command of config Mode: - Please press ENTER to execute command to VLAN range vlantype VLAN type 创建指令: MA5600T(config)#vlan 601 smart MA5600T(config)#vlan 602 to 606 smart MA5600T(config)#vlan 701 to 706 smart,Vlan配置,显示所有vlan指令: MA5600T(config)#display vlan all |vlanattr|vlantype : Command: d

3、isplay 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 smart common 4 0 70 smart common 4 0,DBA profile配置,DBA profile 的几种操作: MA5600T(config)#dba-profile ? - Command of config Mode: - add Add a DBA profile delete Delete a DBA p

4、rofile modify Modify a DBA profile configuration,DBA profile配置,DBA profile中几种type: MA5600T(config)#dba-profile add ? - Command of config Mode: - profile-id DBA profile ID profile-name DBA profile name type1 Fixed bandwidth type2 Assured bandwidth type3 Assured bandwidth, Maximum bandwidth type4 Maxi

5、mum bandwidth type5 Fixed bandwidth, Assured bandwidth, Maximum bandwidth DBA profile 创建指令: MA5600T(config)#dba-profile add profile-id 2 type5 fix 10240 assure 10240 max 1024000 注意:MAX值一定要大于assure值。,DBA profile配置,显示所有配置的DBA profile: MA5600T(config)#display dba-profile all - Profile-ID type Bandwidth

6、 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 0,线路模板:gpon-lineprofile,line profile主要配置GEM,TCONT,eth port,vlan的mapping关系.TCONT与GEM mapping的分两种模式: 1,一个TCONT对应一个GEM 2,一个TCONT对应多个GEM,线路模板:gpon-lineprofil

7、e,1,一个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: - commit Commit profile data display Display information fec-upstream Configure the upstream FEC fu

8、nction gem GEM configuration command group mapping-mode Set the line profiles mapping mode omcc ONT management and control channel port-bundle ONT port bundle function qos-mode Set the line profiles QoS mode quit Exit from current mode and enter prior mode return Enter the privileged mode switch Swi

9、tch language mode tcont Bind the DBA profile to the T-CONT tr069-management Configure the tr069 management function undo Negate a command or set its defaults,线路模板:gpon-lineprofile,创建tcont,tcont与BW绑定指令: MA5600T(config-gpon-lineprofile-10)#tcont 1-6 dba-profile-id 2 gem 与tcont的mapping关系: MA5600T(confi

10、g-gpon-lineprofile-10)#gem add 1 eth tcont 1 MA5600T(config-gpon-lineprofile-10)#gem add 2 eth tcont 2 MA5600T(config-gpon-lineprofile-10)#gem add 3 eth tcont 3 MA5600T(config-gpon-lineprofile-10)#gem add 4 eth tcont 4 MA5600T(config-gpon-lineprofile-10)#gem add 5 eth tcont 5 MA5600T(config-gpon-lin

11、eprofile-10)#gem add 6 eth tcont 6,线路模板:gpon-lineprofile,Mapping 模式设置: MA5600T(config-gpon-lineprofile-10)#mapping-mode ? - Command of (config-gpon-lineprofile-10)# Mode: - iptos IP TOS port PORT port-priority PORT+802.1p priority port-vlan PORT+VLAN port-vlan-priority PORT+VLAN+802.1p priority prio

12、rity 802.1p priority vlan VLAN vlan-priority VLAN+802.1p priority MA5600T(config-gpon-lineprofile-10)#mapping-mode port-vlan-priority,Gem,eth port,vlan mapping关系 MA5600T(config-gpon-lineprofile-10)#gem mapping 1 1 eth 1 vlan 600 priority 0 MA5600T(config-gpon-lineprofile-10)#gem mapping 2 2 eth 1 vl

13、an 601 priority 0 MA5600T(config-gpon-lineprofile-10)#gem mapping 3 3 eth 1 vlan 602 priority 5 MA5600T(config-gpon-lineprofile-10)#gem mapping 4 4 eth 1 vlan 603 priority 3 MA5600T(config-gpon-lineprofile-10)#gem mapping 5 5 eth 1 vlan 604 priority 0 MA5600T(config-gpon-lineprofile-10)#gem mapping

14、6 6 eth 1 vlan 605 priority 7 注意:这种mapping关系需要按照前面配置的mapping mode为依据,,线路模板:gpon-lineprofile,配置完成后保存配置。 MA5600T(config-gpon-lineprofile-10)#commit 显示配置line profile-10 MA5600T(config)#display ont-lineprofile gpon profile-id 10,线路模板:gpon-lineprofile,2,一个TCONT对应多个GEM, 创建gpon-lineprofile ID MA5600T(confi

15、g)#ont-lineprofile gpon profile-id 11 创建TCONT,以及tcont绑定DBA MA5600T(config-gpon-lineprofile-11)#tcont 1 dba-profile-id 2 创建GEM 以及gem 与tcont对应关系: MA5600T(config-gpon-lineprofile-11)#gem add 0 eth tcont 1 MA5600T(config-gpon-lineprofile-11)#gem add 1 eth tcont 1 MA5600T(config-gpon-lineprofile-11)#gem

16、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,线路模板:gpon-lineprofile,Gem,eth port,vlan mapping关系

17、MA5600T(config-gpon-lineprofile-11)#gem mapping 0 0 eth 1 vlan 600 priority 0 MA5600T(config-gpon-lineprofile-11)#gem mapping 1 1 eth 1 vlan 601 priority 0 MA5600T(config-gpon-lineprofile-11)#gem mapping 2 2 eth 1 vlan 602 priority 5 MA5600T(config-gpon-lineprofile-11)#gem mapping 3 3 eth 1 vlan 603

18、 priority 3 MA5600T(config-gpon-lineprofile-11)#gem mapping 4 4 eth 1 vlan 604 priority 0 MA5600T(config-gpon-lineprofile-11)#gem mapping 5 5 eth 1 vlan 605 priority 7 注意:该指令中提到的vlan,priority值是最终从gem port 里面出去的vlan和priority。,线路模板:gpon-lineprofile,显示配置line profile-11 MA5600T(config)#display ont-linep

19、rofile gpon profile-id 11,业务模板:ont-srvprofile,ont-srvprofile主要配置vlan和pbit的几种操作类型。 创建ont-srvprofile ID : MA5600T(config)#ont-srvprofile gpon profile-id 80 profile-name wxf_1 MA5600T(config-gpon-srvprofile-80)#? - Command of (config-gpon-srvprofile-80)# Mode: - commit Commit profile data display Displ

20、ay information igmp-forward Set ONT IGMP up datagrams forwarding mode mac-learning ONT MAC-address learning function multicast Multicast parameter configuration multicast-forward Set ONT multicast-forwarding mode native-vlan ONT Native-VLAN option function ont-port ONT ports capability set command g

21、roup port port command group quit Exit from current mode and enter prior mode return Enter the privileged mode switch Switch language mode transparent ONT transparent transmission function undo Negate a command or set its defaults,业务模板:ont-srvprofile,设置ONT的网络类型和数量(相当于创建ONTCARD) MA5600T(config-gpon-s

22、rvprofile-80)#ont-port ? - Command of (config-gpon-srvprofile-80)# Mode: - catv CATV port eth ETH port moca MOCA port pots POTS port tdm TDM port tdm-srvtype TDM service type tdm-type TDM type MA5600T(config-gpon-srvprofile-80)#ont-port eth 1 pots 2 注:设置了1个ETH口,两个POST口。,业务模板:ont-srvprofile,几种不同的vlan

23、操作和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 VLAN translation Service-type: translation transparent Service-type: transparent vlanid VLAN ID MA5600T(config-gpon-

24、srvprofile-80)#port vlan eth 1 translation 600 user-vlan 60,业务模板:ont-srvprofile,2,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 passthr

25、u PRI translate(vlan: 603, pri:2-3 ) MA5600T(config-gpon-srvprofile-80)#port vlan eth 1 translation 603 3 user-vlan 603 2 5,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 1,业务模板:ont-srvprofile,6,vlan add PRI passthr

26、u(vlan:untag-604 pri:0) 创建vlan 604 的包透传。 MA5600T(config-gpon-srvprofile-80)#port vlan eth 1 604 创建native vlan指令: MA5600T(config)#interface gpon 0/2 MA5600T(config-if-gpon-0/2)#ont port native-vlan 0 3 eth 1 vlan 604 注意:该指令一定要在创建ONT之后建立,创建了native vlan相当于配置了PVID。 其中: 无native vlan 上行untag不通 tag通 有nativ

27、e vlan 上行tag不通 untag通,业务模板:ont-srvprofile,7.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 配置指令: MA5600T(config-gpon-srvprofile-80)#port q-in-q eth 1 enable MA5600T(conf

28、ig-gpon-srvprofile-80)#port vlan eth 1 q-in-q 606 user-vlan 66,业务模板:ont-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

29、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 Translation 6 603 3 603 2 - - IPHOST 1 Translation 1 1 - 1 - - - - Binding times : 1 -,ONT注册,查看还没

30、有注册上,OLT自动发现的ONT MA5600T#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 -,ONT注册,ONT必须在指定的板子上注册:(F/S/P: 0/2/0) MA5600T(confi

31、g)#interface gpon 0/2 MA5600T(config-if-gpon-0/2)# 注册ONT关联相关的lineprofile和srvprofile MA5600T(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 注册有两种方式:password-auth 注册和sn-auth 注册。,ONT注册,查看0机框上面板子上所有已经注册上的ONT及状态: MA5600T(co

32、nfig)#display ont info 0 all F/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 -,ONT注册,查看整个ONT的配置信息: MA5600T(config)#display ont info 0 2 0 3 (F/S/P/ONT) - Command of privilege Mode: - Please press ENTER to ex

33、ecute 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 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) Man

34、agement mode : OMCI,流量模板配置,配置流量模板: MA5600T(config)#traffic table ip index 21 cir off priority ? - Command of config Mode: - prival Priority of the package described in 802.1p user-cos Copy CoS priority user-inner-cos Remark from CoS priority of input packages CTag user-tos Copy ToS priority MA5600T(

35、config)#traffic table ip index 21 cir off priority 6 priority-policy tag-In-Package MA5600T(config)#traffic table ip index 22 cir off priority 5 inner-priority 1 priority-policy local-Setting,流量模板配置,显示流量模板信息: MA5600T(config)#display traffic table ip from-index 0 |to-index : Command: display traffic

36、table ip from-index 0 - 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

37、- tag-pri 6 off off off off 0 - tag-pri 7 off off off off 7 user-cos tag-pri 8 off off off off 5user-cos local-pri 注:前面的是限速,后面是对pri的操作:,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 3 gem

38、port 1 multi-service user-vlan 600 rx-cttr 6 tx-cttr 6 MA5600T(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 6,service port 配置,2,olt上联口不做vlan转换,pbit做转换:(OLT vlan:6

39、04-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 8 MA5600T(config)#service-port 7 vlan 605 gpon 0/2/0 ont 3 gemport 6 multi-service user-vlan 605 rx-cttr 8 tx-cttr 8 3,olt上联口做vlan转换,pbit不做转换:(OLT vlan:601-701, p

40、ri: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 6 4,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-service user-vlan 603 rx-cttr 8 tx-cttr 8,servic

41、e 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 /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 /

42、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 common gpon 0/2 /0 37 1 vlan 4020 6 6 down 17 4030 common gpon 0/2 /0 37 1 vlan 4030

43、 6 6 down,vlan与上联口关联,把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 0/19 0,配置说明:,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

44、 |user-vlan net-vlan user-pri net-pri 1 1 60 600 0 0 |600 600 0 0 2 2 601 601 0 0 |601 701 0 0 3 3 602 602 5 5 |602 602 0 0 4 4 603 603 2 3 |603 703 3 3 5 5 untage 604 0 0 |604 604 0 0 6 6 65 605 1 7 |605 605 7 7,组播配置,igmp 绑定相关的vlan: MA5600T(config)#multicast-vlan 602 MA5600T(config-mvlan602)# 设置IGM

45、P 模式: MA5600T(config-mvlan602)#igmp mode snooping Are you sure to change IGMP mode?(y/n)n:y Command has been 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? (

46、y/n)n: y,组播配置,配置IGMP 节目源: MA5600T(config-mvlan602)#igmp program add ip 237.1.1.1 index 500 bandwidth 10240 MA5600T(config-mvlan602)#igmp program add ip 237.1.1.2 index 501 bandwidth 10240 MA5600T(config-mvlan602)#igmp program add ip 237.1.1.3 index 502 bandwidth 10240 MA5600T(config-mvlan602)#igmp p

47、rogram add ip 237.1.1.4 index 503 bandwidth 10240,组播配置,显示配置的节目源: MA5600T(config-mvlan602)#display igmp program all | : Command: display igmp program all - Index| Create | IP | Program |User |VLAN |Prejoin|Priority | Flag | Address | name |num | ID | | - 500 S 237.1.1.1 PROGRAM-500 0 602 disable 7 50

48、1 S 237.1.1.2 PROGRAM-501 0 602 disable 7 502 S 237.1.1.3 PROGRAM-502 0 602 disable 7 503 S 237.1.1.4 PROGRAM-503 0 602 disable 7,组播配置,BTV关联service-port MA5600T(config-mvlan602)#btv MA5600T(config-btv)# MA5600T(config-btv)#igmp policy service-port 4 ? - Command of btv Mode: - discard Discard normal

49、Normal transparent Transparent MA5600T(config-btv)#igmp policy service-port 4 normal,组播配置,设置非认证用户拥有所有节目的观看权限 MA5600T(config-btv)#igmp user add service-port 4 ? - Command of btv Mode: - Please press ENTER to execute command auth Set user to be authenticated globalleave Global leave log Log switch max-bandwidth Max bandwidth max-program Users max available programs at the same time no-auth Set user not to be authenticated quickleave

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论