1、华为GPON配置说明华为GPON配置说明华为GPON配置说明几个名词说明1. DBA模板:创建的dba模板时给tcont引用的,dba模板的作用是对整台ONU上行进行限速。一个PON口上行带宽为1G,实际能用的只有900M,所以要对ONU的上行进行合理分配。2. Tcont:tcont是连接dba和gemport的通道,也就是说gemport是通过和tcont联系,才把dba的作用引用过来。3. Gemport:gemport是OLT线程工作的最小单元,前面的dba,tcont都是最终给gemport用。4. 线路模板ont-lineprofile:ONU注册时要选相应线路模板,里面包含tco
2、nt,gem等信息5. DBA模板,线路模板,可以创建多个;一个线路模板中:tcont 有八个0-7,gem可以创建128个0-127;一个gem中可有映射8个:gem mapping 1 0;gem mapping 1 1,一直到gem mapping 1 7;但是一个线路模板中最多只能创建128条gem mapping;超出会报错。 数据规划以花都狮岭数据规划为例:OLT:网管vlan 22; IP: 172.17.21.132;网关:172.17.21.129;语音vlan 100;语音IP:172.16.0.11ONU:所属OLT的PON口 0/18/3 ONUID:1 ONU 网管I
3、P 172.17.21.134; 网关:172.17.21.129;语音vlan 100;语音IP:172.16.0.21数据配置1.OLT数据配置创建DBA模板dba-profile add profile-id 102 profile-name DBA_2M type3 assure 2048 max 10240 /保证2M;最大大10Mdba-profile add profile-id 105 profile-name DBA_5M type3 assure 5120 max 20480dba-profile add profile-id 120 profile-name DBA_20
4、M type3 assure 20480 max 102400dba-profile add profile-id 150 profile-name DBA_50M type3 assure 51200 max 512000创建线路模板创建线路模板101:供ONU ID 1到5用;由于一个线路模板中gem mapping最多只能创建128条;故一个线路模板不要被过多的ONU调用。ont-lineprofile gpon profile-id 101 profile-name MA5610_1_5线路模板的编号为101,模板名称MA5610_1_5tcont 1 dba-profile-id 1
5、20 /tcont1绑定120的DBA模板tcont 2 dba-profile-id 105 /tcont2绑定105的DBA模板tcont 3 dba-profile-id 102/tcont3绑定102的DBA模板gem add 1 eth tcont 1/gem 1绑定tcont1gem add 2 eth tcont 1/gem 2绑定tcont1gem add 126 eth tcont 2/gem 126绑定tcont2gem add 127 eth tcont 3/gem 127绑定tcont3gem mapping 126 0 vlan 100/gem的126 0 与vlan
6、100映射gem mapping 127 0 vlan 22/gem的127 0 与vlan22映射commit/绑定,相当于保持线路模板quit创建线路模板102:供ONU ID 6到10用ont-lineprofile gpon profile-id 102 profile-name MA5610_6_10tcont 1 dba-profile-id 120 tcont 2 dba-profile-id 105 tcont 3 dba-profile-id 102gem add 1 eth tcont 1gem add 2 eth tcont 1gem add 126 eth tcont
7、2gem add 127 eth tcont 3gem mapping 126 0 vlan 100gem mapping 127 0 vlan 22commitquit创建线路模板103:供ONU ID 11到15用ont-lineprofile gpon profile-id 103 profile-name MA5610_11_15tcont 1 dba-profile-id 120 tcont 2 dba-profile-id 105 tcont 3 dba-profile-id 102gem add 1 eth tcont 1gem add 2 eth tcont 1gem add
8、126 eth tcont 2gem add 127 eth tcont 3gem mapping 126 0 vlan 100gem mapping 127 0 vlan 22commitquit创建线路模板104:供ONU ID 16到20用ont-lineprofile gpon profile-id 104 profile-name MA5610_16_20tcont 1 dba-profile-id 120 tcont 2 dba-profile-id 105 tcont 3 dba-profile-id 102gem add 1 eth tcont 1gem add 2 eth t
9、cont 1gem add 126 eth tcont 2gem add 127 eth tcont 3gem mapping 126 0 vlan 100gem mapping 127 0 vlan 22commitquit注册ONU进入0/18槽的PON板interface gpon 0/18ont add 3 1 sn-auth 48575443AAA69E42 snmp ont-lineprofile-id 101给ONU注册,第3PON口,ONU 编号1,SN 48575443AAA69E42,线路模板101ont ipconfig 3 1 static ip-address 172
10、.17.21.134 mask 255.255.255.128 gateway 172.17.21.129 vlan 22给刚刚注册的ONU,下发管理IP地址,网关掩码,ONU上会自动生成一条缺省路由。quitOLT上透传ONU上来的vlanservice-port vlan 22 gpon 0/18/3 ont 1 gemport 127 multi-service user-vlan 22/给ONU透传网管vlan22service-port vlan 100 gpon 0/18/3 ont 1 gemport 126 multi-service user-vlan 100/给ONU透传语
11、音vlan1002.ONU上语音数据配置telnet 172.17.21.134 登入到ONU上配置数据board confirm 0/单板确认fax-modem parameters rfc2198-start-mode disableRfc2198SmartStartup/关闭2198自启动功能vlan 100 smart/创建语音vlan100port vlan 100 0/0 1/透传vlan100interface vlanif 100ip address 172.16.0.23 255.255.254.0/配置语音地址quitvoip ip address media 172.16
12、.0.23 172.16.0.2 ip address signaling 172.16.0.23/配置媒体IP和信令IPquiinterface h248 0y if-h248 attribute mgip 172.16.0.23 mgport 2944 transfer udp/配置mgip地址,mg端口号以及传输协议udp if-h248 attribute primary-mgc-ip1 172.16.0.2 primary-mgc-port 2944 mgc-domain-name1 HDSLPJC9500/配置mgc的地址,mgc的端口号;mgc的域名 if-h248 attribute mg-media-ip1 172.16.0.23/配置mg媒体IP if-h248 attribute start-negotiate-version 1/配置H248协议开始协商的版本 if-h248 attribute domainName HDSLONU000003/配置mg即ONU的域名reset coldy/复位h248接口,发起注册esl usermgpstnuser batadd 0/3/0 0/3/31 0 terminalid 0 /配置语音用户quisave
copyright@ 2008-2023 冰点文库 网站版权所有
经营许可证编号:鄂ICP备19020893号-2