2/4/2020PageNo.01华为OLT配置业务说明WuXiaofangSystemTestEnginner2/4/2020PageNo.02摘要1,Vlan配置2,DBAprofile配置3,线路模板:gpon-lineprofile配置4,业务模板:ont-srvprofile配置5,ONT注册6,流量模板配置7,serviceport配置8,vlan与上联口关联9,组播配置10,删除业务2/4/2020PageNo.03业务结构图vlanDbaprofileLine-profileservice-profileONT流量模板serviceport2/4/2020PageNo.04Vlan配置Vlan的几种类型:MA5600T(config)#vlan601?---------------------------------------------CommandofconfigMode:---------------------------------------------crPleasepressENTERtoexecutecommandtoVLANrangevlantypeEmux,standard,smart,superVLANtype创建指令:MA5600T(config)#vlan601smartMA5600T(config)#vlan602to606smartMA5600T(config)#vlan701to706smart2/4/2020PageNo.05Vlan配置显示所有vlan指令:MA5600T(config)#displayvlanall{cr|vlanattrK|vlantypeEmux,standard,smart,super}:Command:displayvlanall---------------------------------------------------------VLANTypeAttributeSTND-PortNUMSERV-PortNUM---------------------------------------------------------1smartcommon402smartcommon4010smartcommon1030smartcommon4070smartcommon402/4/2020PageNo.06DBAprofile配置DBAprofile的几种操作:MA5600T(config)#dba-profile?---------------------------------------------CommandofconfigMode:---------------------------------------------addAddaDBAprofiledeleteDeleteaDBAprofilemodifyModifyaDBAprofileconfiguration2/4/2020PageNo.07DBAprofile配置DBAprofile中几种type:MA5600T(config)#dba-profileadd?---------------------------------------------CommandofconfigMode:---------------------------------------------profile-idDBAprofileIDprofile-nameDBAprofilenametype1Fixedbandwidthtype2Assuredbandwidthtype3Assuredbandwidth,Maximumbandwidthtype4Maximumbandwidthtype5Fixedbandwidth,Assuredbandwidth,MaximumbandwidthDBAprofile创建指令:MA5600T(config)#dba-profileaddprofile-id2type5fix10240assure10240max1024000注意:MAX值一定要大于assure值。2/4/2020PageNo.08DBAprofile配置显示所有配置的DBAprofile:MA5600T(config)#displaydba-profileall----------------------------------------------------------------------------Profile-IDtypeBandwidthFixAssureMaxBindcompensation(kbps)(kbps)(kbps)times----------------------------------------------------------------------------11No512000924No001024000233No08000001024000041No10240000002/4/2020PageNo.09线路模板:gpon-lineprofilelineprofile主要配置GEM,TCONT,ethport,vlan的mapping关系.TCONT与GEMmapping的分两种模式:1,一个TCONT对应一个GEM2,一个TCONT对应多个GEM,2/4/2020PageNo.010线路模板:gpon-lineprofile1,一个TCONT对应一个GEM配置:创建gpon-lineprofileIDMA5600T(config)#ont-lineprofilegponprofile-id10profile-namewxf_1MA5600T(config-gpon-lineprofile-10)#?---------------------------------------------Commandof(config-gpon-lineprofile-10)#Mode:---------------------------------------------commitCommitprofiledatadisplayDisplayinformationfec-upstreamConfiguretheupstreamFECfunctiongemGroupGEMconfigurationcommandgroupmapping-modeSetthelineprofile'smappingmodeomccONTmanagementandcontrolchannelport-bundleONTportbundlefunctionqos-modeSetthelineprofile'sQoSmodequitExitfromcurrentmodeandenterpriormodereturnEntertheprivilegedmodeswitchSwitchlanguagemodetcontBindtheDBAprofiletotheT-CONTtr069-managementConfigurethetr069managementfunctionundoNegateacommandorsetitsdefaults2/4/2020PageNo.011线路模板:gpon-lineprofile创建tcont,tcont与BW绑定指令:MA5600T(config-gpon-lineprofile-10)#tcont1-6dba-profile-id2gem与tcont的mapping关系:MA5600T(config-gpon-lineprofile-10)#gemadd1ethtcont1MA5600T(config-gpon-lineprofile-10)#gemadd2ethtcont2MA5600T(config-gpon-lineprofile-10)#gemadd3ethtcont3MA5600T(config-gpon-lineprofile-10)#gemadd4ethtcont4MA5600T(config-gpon-lineprofile-10)#gemadd5ethtcont5MA5600T(config-gpon-lineprofile-10)#gemadd6ethtcont62/4/2020PageNo.012线路模板:gpon-lineprofileMapping模式设置:MA5600T(config-gpon-lineprofile-10)#mapping-mode?---------------------------------------------Commandof(config-gpon-lineprofile-10)#Mode:---------------------------------------------iptosIPTOSportPORTport-priorityPORT+802.1ppriorityport-vlanPORT+VLANport-vlan-priorityPORT+VLAN+802.1pprioritypriority802.1ppriorityvlanVLANvlan-priorityVLAN+802.1ppriorityMA5600T(config-gpon-lineprofile-10)#mapping-modeport-vlan-priority2/4/2020PageNo.013Gem,ethport,vlanmapping关系MA5600T(config-gpon-lineprofile-10)#gemmapping11eth1vlan600priority0MA5600T(config-gpon-lineprofile-10)#gemmapping22eth1vlan601priority0MA5600T(config-gpon-lineprofile-10)#gemmapping33eth1vlan602priority5MA5600T(config-gpon-lineprofile-10)#gemmapping44eth1vlan603priority3MA5600T(config-gpon-lineprofile-10)#gemmapping55eth1vlan604priority0MA5600T(config-gpon-lineprofile-10)#gemmapping66eth1vlan605priority7注意:这种mapping关系需要按照前面配置的mappingmode为依据,2/4/2020PageNo.014线路模板:gpon-lineprofile配置完成后保存配置。MA5600T(config-gpon-lineprofile-10)#commit显示配置lineprofile-10MA5600T(config)#displayont-lineprofilegponprofile-id102/4/2020PageNo.015线路模板:gpon-lineprofile2,一个TCONT对应多个GEM,创建gpon-lineprofileIDMA5600T(config)#ont-lineprofilegponprofile-id11创建TCONT,以及tcont绑定DBAMA5600T(config-gpon-lineprofile-11)#tcont1dba-profile-id2创建GEM以及gem与tcont对应关系:MA5600T(config-gpon-lineprofile-11)#gemadd0ethtcont1MA5600T(config-gpon-lineprofile-11)#gemadd1ethtcont1MA5600T(config-gpon-lineprofile