华为GPON配置说明

2018年8月4日16:42:18

//gem127 vlan22映射

commit

//绑定,相当于保持线路模板

quit

创建线路模板102:供ONU ID 610

ont-lineprofile gpon profile-id 102 profile-name MA5610_6_10

tcont dba-profile-id 120         

tcont dba-profile-id 105        

tcont dba-profile-id 102

gem add eth tcont 1

gem add eth tcont 1

gem add 126 eth tcont 2

gem add 127 eth tcont 3

gem mapping 126 vlan 100

gem mapping 127 vlan 22

commit

quit

创建线路模板103:供ONU ID 1115

ont-lineprofile gpon profile-id 103 profile-name MA5610_11_15

tcont dba-profile-id 120         

tcont dba-profile-id 105        

tcont dba-profile-id 102

gem add eth tcont 1

gem add eth tcont 1

gem add 126 eth tcont 2

gem add 127 eth tcont 3

gem mapping 126 vlan 100

gem mapping 127 vlan 22

commit

quit

创建线路模板104:供ONU ID 1620

ont-lineprofile gpon profile-id 104 profile-name MA5610_16_20

tcont dba-profile-id 120         

tcont dba-profile-id 105        

tcont dba-profile-id 102

gem add eth tcont 1

gem add eth tcont 1

gem add 126 eth tcont 2

gem add 127 eth tcont 3

gem mapping 126 vlan 100

gem mapping 127 vlan 22

commit

quit


注册ONU

进入0/18槽的PON

interface gpon 0/18

ont add sn-auth 48575443AAA69E42 snmp ont-lineprofile-id 101

ONU注册,第3PON口,ONU 编号1SN 48575443AAA69E42,线路模板101

ont ipconfig static ip-address 172.17.21.134 mask 255.255.255.128 gateway 172.17.21.129 vlan 22

给刚刚注册的ONU,下发管理IP地址,网关掩码,ONU上会自动生成一条缺省路由。

quit


OLT上透传ONU上来的vlan

service-port vlan 22 gpon 0/18/3 ont gemport 127 multi-service user-vlan 22

//ONU透传网管vlan22

service-port vlan 100 gpon 0/18/3 ont gemport 126 multi-service user-vlan 100

//ONU透传语音vlan100


2.ONU上语音数据配置

telnet 172.17.21.134 登入到ONU上配置数据

board confirm 0

//单板确认

fax-modem parameters rfc2198-start-mode disableRfc2198SmartStartup

//关闭2198自启动功能

vlan 100 smart

//创建语音vlan100

port  vlan 100 0/0 1

//透传vlan100

interface vlanif 100

ip address 172.16.0.23 255.255.254.0

//配置语音地址

quit

voip

 ip address media 172.16.0.23 172.16.0.2

 ip address signaling 172.16.0.23

//配置媒体IP和信令IP

qui

interface h248 0

y

 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

//配置mgONU的域名

reset cold

y

//复位h248接口,发起注册

esl user

mgpstnuser batadd 0/3/0 0/3/31 terminalid 

//配置语音用户

qui

save


  • 更新时间:2018年8月4日16:42:18 ,共 2378 字。