华为olt配置hgu技术指导书.docx
- 文档编号:28803569
- 上传时间:2023-07-19
- 格式:DOCX
- 页数:8
- 大小:246.45KB
华为olt配置hgu技术指导书.docx
《华为olt配置hgu技术指导书.docx》由会员分享,可在线阅读,更多相关《华为olt配置hgu技术指导书.docx(8页珍藏版)》请在冰豆网上搜索。
华为olt配置hgu技术指导书
华为OLT配置HGU技术指导书
华为OLT配置HGU技术指导书
文档摘要:
HGU在华为OLT上的配置,注册以及简单的单播和组播的业务
一、登陆OLT
使用telnet登陆:
telnet182.125.101.108
User:
huawei
Password:
huawei123
进入配置模式
HuaWeiGpon>enable
HuaWeiGpon#config
二、配置模板
(1)建立srvprofile模板
Srvprofile模板:
相当于中兴OLT的ONUtype,可以设置ONU有几个uni口,几个语音pots口等,在建立模板之前我们可以先查看其他人在OLT上建立好的模板,如果没有你想要的模板再自己创建。
查看已有srvprofile模板:
HuaWeiGpon(config)#displayont-srvprofilegponall
HuaWeiGpon(config)#displayont-srvprofilegponprofile-id1查看具体模板
创建srvprofile模板:
HuaWeiGpon(config)#ont-srvprofilegponprofile-id19
HuaWeiGpon(config-gpon-srvprofile-19)#ont-porteth4pos2
//设置ont有几个uni口
HuaWeiGpon(config-gpon-srvprofile-19)#portvlaneth12100
//划分ont的端口VLAN
HuaWeiGpon(config-gpon-srvprofile-19)#commit
(2)建立DBA模板
HuaWeiGpon(config)#dba-profileaddprofile-id40
type1fix102400(绑定固定带宽100M)
---------------------------------------------
CommandofconfigMode:
---------------------------------------------
profile-nameDBAprofilename
type1Fixedbandwidth
type2Assuredbandwidth
type3Assuredbandwidth,Maximumbandwidth
type4Maximumbandwidth
type5Fixedbandwidth,Assuredbandwidth,Maximumbandwidth
可以看到DBA模板有5中type:
type1:
只绑定固定带宽
type2:
只绑定保证带宽
type3:
绑定保证带宽和最大带宽
type4:
只绑定最大带宽
type5:
绑定固定带宽、保证带宽、最大带宽
(3)建立lineprofile模板
Lineprofile模板:
创建tcont,gemport,并且绑定DBA模板(带宽)
查看lineprofile模板:
HuaWeiGpon(config)#displayont-lineprofilegponall
HuaWeiGpon(config)#displayont-lineprofilegponprofile-id2
//查看具体模板信息
修改已有的lineprofile模板,把需要的vlan加入模板中:
HuaWeiGpon(config)#ont-lineprofilegponprofile-id25
HuaWeiGpon(config-gpon-lineprofile-25)#gemmapping16vlan1007
//1指的是gemindex,0指的是mappingindex,一个模板中只能有一个gemindex
HuaWeiGpon(config-gpon-lineprofile-25)#commit
创建lineprofile模板:
HuaWeiGpon(config)#ont-lineprofile-gponprofile-id20
HuaWeiGpon(config-gpon-lineprofile-25)#tcont1dba-profile-id20
//添加tcont绑定dba
HuaWeiGpon(config-gpon-lineprofile-25)#gemadd1ethtcont1
//将tcont与gemport1绑定
HuaWeiGpon(config-gpon-lineprofile-25)#gemmapping10vlan1003
//gemmapping添加vlan10指的是1号tcont,vlan序号
HuaWeiGpon(config-gpon-lineprofile-25)#gemmapping11vlan1004
//gemmapping添加vlan
HuaWeiGpon(config-gpon-lineprofile-25)#gemmapping12vlan2008
//gemmapping添加vlan
HuaWeiGpon(config-gpon-lineprofile-25)#commit注意要存储
一个gemport对应一个FE口,hgu只有一个虚端口,所以所有mapping只能都加到一个gemport中
(4)注册ONT
查看未注册ont:
HuaWeiGpon(config)#displayontautofindall
注册ont:
HuaWeiGpon(config)##interfacegpon0/1
//进入1号pon板
HuaWeiGpon(config-if-gpon-0/1)#ontconfirm1(ontid14)sn-auth4857544365778904omciont-lineprofile-id20ont-srvprofile-id20
//1为pon口
修改ont绑定的模板:
HuaWeiGpon(config-if-gpon-0/1)#ontmodify17ont-lineprofile-id5
//2号pon口7号ONU修改为ont-lineprofile-id5
删除ont:
如果一个ont创建了service-port,要删除这个ont,必须先删除掉这个ont上所有的service-port
HuaWeiGpon(config-if-gpon-0/1)#ontdelete18
//删除2号pon口8号ont
(5)vlan加入上联口和虚口
HuaWeiGpon(config)#vlan1003smart
//建立vlan1003
HuaWeiGpon(config)#portvlan10030/70
//将vlan加入上联口1
创建service-port(单播):
HuaWeiGpon(config)#service-portvlan2510gpon0/1/1ont2gemport1multi-serviceuser-vlan2510
//vlan加入ontpon与gemport绑定,其中gpon0/1/0指的分别是机框,1号槽位,1号pon口
删除service-port:
如果一个ont创建了service-port,要删除这个ont,必须先删除掉这个ont上所有的service-port
HuaWeiGpon(config)#undoservice-portport0/1/0ont9gemport1user-vlan1003
//删除1号槽位1号pon口9号ONUgemport1中的1003vlan
HuaWeiGpon(config)#undoservice-portall
//删除所有的olt上所有的service-port
(6)组播配置
创建业务vlan
HuaWeiGpon(config)#vlan2008smart
上联口加入业务vlan
HuaWeiGpon(config)#portvlan20080/72
//上联口7号板卡2号上联口加入组播vlan
创建组播vlan
HuaWeiGpon(config)#multicast-vlan2008
//创建组播vlan
HuaWeiGpon(config)#multicast-vlan2008
HuaWeiGpon(config-mvlan2008)#igmpmodeproxy
//配置oltigmpmode
HuaWeiGpon(config-mvlan2008)#igmpversionv2
//配置oltigmpversion
HuaWeiGpon(config-mvlan2008)#igmpprogramaddip229.1.1.1
//建立组播源
HuaWeiGpon(config-mvlan2008)#igmpprogramaddbatch229.1.1.1to-ip229.1.1.10
//建立一个范围的组播源
绑定组播vlan与上联口
HuaWeiGpon(config-mvlan2008)#igmpdefaultuplink-port0/7/2
创建service-port
HuaWeiGpon(config)#service-portvlan2008gpon0/1/1ont2gemport1multi-service
user-vlan2008
//Pon口、ONT加入vlan(与单播相同)
Service-port加入igmp
HuaWeiGpon(config)#displayservice-portall
//查看service-port的index
HuaWeiGpon(config-btv)#igmpuseraddservice-port100
//将单播vlan的index加入到组播中
配置组播vlanmember
HuaWeiGpon(config)#multicast-vlan2008
HuaWeiGpon(config-mvlan2008)#igmpmulticast-vlanmemberservice-port100
配置ont端口组播vlan
HuaWeiGpon(config-gpon-srvprofile-20)#portmulticast-vlaneth12008
设置ont的组播模式
HuaWeiGpon(config-if-gpon-0/1)#ontmulticast-mode31igmp-snooping
(7)QOS
增加一个ont的流分类规则,precedence
HuaWeiGpon(config)#classification88
HuaWeiGpon(config-classification-profile-88)#ruleaddprecedence1queue-mapped3ethernetprioritymark7condition-num1
绑定QOS规则到ont-srvprofile
HuaWeiGpon(config-gpon-srvprofile-20)#portclassificationeth1profile-id88
将traffictable绑定到虚端口上
HuaWeiGpon(config)#service-portvlan1500gpon0/2/3ont1multi-serviceuser-vlan1500inboundtraffic-tableindex13outboundtraffic-tableindex13
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 华为 olt 配置 hgu 技术 指导书