• 本文主要记录一下开局脚本,记性不好,以免遗忘,也许正好有人需要呢?也可以帮到人 ::paopao:tieba_emotion_93::

常见的几种华为ONU MA5616、MA5620等配置

MA5620配置

数据通信部分

vlan 1001 to 1024 mux
y

 port vlan 1001 to 1024 0/0 1
y



multi-service-port  from-vlan 1001 port  0/1  1-24 user-vlan  untagged  rx-cttr 6 tx-cttr 6 
y
 

multi-service-port from-vlan 1001 board 1 user-vlan untagged rx-cttr 6 tx-cttr 6 
y

语音部分

vlan 3807 smart

port vlan 3807 0/0 1

interface vlanif 3807 

 ip address 10.61.127.136 255.255.255.128

quit

protocol-8021p-pri 6 vlan  3807 

voip

 ip address media 10.61.127.136 10.61.127.129

 ip address signaling 10.61.127.136

qos vlan  media 10.61.127.136 priority 6

qos vlan  signaling 10.61.127.136 priority 6

quit

interface h248 0
Y

if-h248 attribute mgip 10.61.127.136 mgport 2944 transfer udp primary-mgc-ip1 221.4.12.196 primary-mgc-port 2944 mg-media-ip1  10.61.127.136 start-negotiate-version 1 


if-h248 attribute mgc-domain-name1 FS.GD.SS-HW-1.CNC.cn mgc-domain-name2 FS.GD.SS-HW-2.CNC.cn primary-mgc-ip1 221.4.12.196 primary-mgc-port 2944 secondary-mgc-ip1 221.4.13.196 secondary-mgc-port 2944


mg-ringmode add 0 10 26

digitmap-timer start 20

digitmap-timer short 3

digitmap-timer long 3

digitmap-timer duration 4000

mg-software parameter 13 2

reset coldstart
y
quit



esl user 
mgpstnuser batadd 0/1/1 0/1/24  0 terminalid 0 



quit

pstnport  

pstnport  attribute batset 0/1/1 0/1/24 reverse-pole-pulse-level 300

pstnport electric batset 0/1/1 0/1/24 current 2 

quit

board reset 0/1
y

ring check enable
autosave interval on
autosave interval 1440   
dns server 10.15.55.55
dns server 10.15.55.88

undo rollback
y

dsp attribute jitter-buffer init-adapt-jb 20 


fax-modem parameters rfc2198-start-mode disableRfc2198SmartStartup

fax parameters workmode thoroughly flow v5  

                                                                                                   
ip route-static 221.4.12.0 255.255.255.0  10.61.127.129

ip route-static 221.4.13.0 255.255.255.0  10.61.127.129

ip route-static 221.4.15.0 255.255.255.192  10.61.127.129

ping   221.4.12.196    //测试是否通至软交换

MA5626配置

与MA5620大同小异直接copy即可~

MA5616配置

数据部分

board confirm 0

vlan 1001 to 1128 mux
y

 port vlan 1001 to 1128 0/0 1
y


multi-service-port from-vlan 1001 board 3 vpi 0 vci 35 user-vlan untagged rx-cttr 6 tx-cttr 6 
y

multi-service-port from-vlan 1033 board 4 vpi 0 vci 35 user-vlan untagged rx-cttr 6 tx-cttr 6 
y

multi-service-port from-vlan 1161 board 2 vpi 0 vci 35 user-vlan untagged rx-cttr 6 tx-cttr 6 
y

adsl line-profile quickadd 2 basic-para all trellis 1 bitswap 0 0 channel interleaved 16 6 adapt at-startup snr 6 0 31 6 0 31  rate 32 2048 32 512 name 2M_inter

adsl line-profile quickadd 3 basic-para all trellis 1 bitswap 0 0 channel fast adapt at-startup snr 6 0 31 6 0 31  rate 32 2048 32 512 name 2M_fast

adsl line-profile quickadd 4 basic-para all trellis 1 bitswap 0 0 channel interleaved 16 6 adapt at-startup snr 6 0 31 6 0 31  rate 32 4096 32 512 name 4M_inter

adsl line-profile quickadd 5 basic-para all trellis 1 bitswap 0 0 channel fast adapt at-startup snr 6 0 31 6 0 31  rate 32 4096 32 512 name 4M_fast

adsl line-profile quickadd 6 basic-para all trellis 1 bitswap 0 0 channel interleaved 16 6 adapt at-startup snr 6 0 31 6 0 31  rate 32 6144 32 512 name 6M_inter

adsl line-profile quickadd 7 basic-para all trellis 1 bitswap 0 0 channel fast adapt at-startup snr 6 0 31 6 0 31  rate 32 6144 32 512 name 6M_fast

adsl line-profile quickadd 8 basic-para all trellis 1 bitswap 0 0 channel interleaved 16 6 adapt at-startup snr 6 0 31 6 0 31  rate 32 8192 32 512 name 8M_inter

adsl line-profile quickadd 9 basic-para all trellis 1 bitswap 0 0 channel fast adapt at-startup snr 6 0 31 6 0 31  rate 32 8192 32 512 name 8M_fast

adsl line-profile quickadd 10 basic-para all trellis 1 bitswap 0 0 channel interleaved 16 6 adapt at-startup snr 6 0 31 6 0 31  rate 32 10240 32 1024 name 10M_inter



ring check enable
autosave interval on
autosave interval 1440 

interface adsl 0/2
 deactivate  all 
 activate  all  profile-index 10
quit

interface adsl 0/3
 deactivate  all 
 activate  all  profile-index 10
quit

interface adsl 0/4
 deactivate  all 
 activate  all  profile-index 10

 quit

语言部分


vlan 3875 smart

port vlan 3875 0/0 1

interface vlanif 3802 

 ip address  10.60.126.194 255.255.255.192

quit

protocol-8021p-pri 6 vlan  3802


voip
 ip address media 10.60.126.194 10.60.126.193
 ip address signaling 10.60.126.193

qos vlan  media 10.60.126.194 priority 6

qos vlan  signaling 10.60.126.194 priority 6

quit

interface h248 0
Y

if-h248 attribute mgip 10.60.126.193 mgport 2944 transfer udp primary-mgc-ip1 221.4.12.196 primary-mgc-port 2944 mg-media-ip 10.60.126.193 start-negotiate-version 1 


if-h248 attribute mgc-domain-name1 FS.GD.SS-HW-1.CNC.cn mgc-domain-name2 FS.GD.SS-HW-2.CNC.cn primary-mgc-ip1 221.4.12.196 primary-mgc-port 2944 secondary-mgc-ip1 221.4.13.196 secondary-mgc-port 2944


mg-ringmode add 0 10 26

digitmap-timer start 20

digitmap-timer short 3

digitmap-timer long 3

digitmap-timer duration 4000

mg-software parameter 13 2

reset coldstart
y
quit



esl user 
mgpstnuser batadd 0/1/0 0/1/31  0 terminalid 0


quit

pstnport  

pstnport attribute batset 0/1/0 0/1/31 reverse-pole-pulse enable reverse-pole-pulse-level 300  

quit

board reset 0/1
y

ring check enable
autosave interval on
autosave interval 1440   
dns server 10.15.55.55
dns server 10.15.55.88

undo rollback
y

dsp attribute jitter-buffer init-adapt-jb 20 


fax-modem parameters rfc2198-start-mode disableRfc2198SmartStartup

fax parameters workmode thoroughly flow v5  

                                                                                                   
ip route-static 221.4.12.0 255.255.255.0  10.61.122.1

ip route-static 221.4.13.0 255.255.255.0  10.61.122.1

ip route-static 221.4.15.0 255.255.255.192  10.61.122.1

ping   221.4.12.196    \\test ms
Last modification:April 13th, 2019 at 12:49 am
If you think my article is useful to you, please feel free to appreciate