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

Ledo
2019-03-11 / 17 评论 / 23,416 阅读 / 正在检测是否收录...
  • 本文主要记录一下开局脚本,记性不好,以免遗忘,也许正好有人需要呢?也可以帮到人 ::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
0

评论 (17)

取消
  1. 头像
    刘大喵 作者
    MacOS · Google Chrome

    测试

    回复
  2. 头像
    小石
    Windows 10 · Google Chrome

    大佬居然是用Linux版chrome,莫非是deepin? ::paopao:tieba_emotion_07::

    回复
  3. 头像
    11
    Windows 10 · Google Chrome

    11

    回复
  4. 头像
    Mr.Chou
    Android Pie · Google Chrome

    看不懂,哈哈…

    回复
    1. 头像
      刘大喵 作者
      Windows 10 · FireFox
      @ Mr.Chou

      也很正常,哈哈

      回复
  5. 头像
    cfanlost
    Windows 10 · Google Chrome

    PON、OUN、PTN耳熟能详,但是没接触这块工作。

    回复
    1. 头像
      刘大喵 作者
      Linux · Google Chrome
      @ cfanlost

      ::paopao:tieba_emotion_89:: 通常都是我们一线人员操作这类工作

      回复
  6. 头像
    有今生丶没来世
    Windows 10 · Google Chrome

    这刚好涉及我学的专业,又是我的知识盲区 ::aru:shy::

    回复
    1. 头像
      刘大喵 作者
      Linux · Google Chrome
      @ 有今生丶没来世

      你这域名打不开啦

      回复
      1. 头像
        有今生丶没来世
        Windows 10 · Google Chrome
        @ 刘大喵

        https://www.rosnas.com

        回复
        1. 头像
          刘大喵 作者
          Linux · Google Chrome
          @ 有今生丶没来世

          做个301吧

          回复
  7. 头像
    Sam.Z
    Windows 10 · Google Chrome

    你是做通讯网络维护的?这种设备一般公司不太用,我们用普通光纤直接对接就满足了。 ::aru:pouting::

    回复
    1. 头像
      刘大喵 作者
      Linux · Google Chrome
      @ Sam.Z

      我们单位有运营商的维护业务,杂七杂八的-.-

      回复
  8. 头像
    vultr
    Windows 8.1 · Google Chrome

    交换首页链接吗

    回复
    1. 头像
      刘大喵 作者
      Linux · Google Chrome
      @ vultr

      贵站不符合要求 抱歉 ::paopao:tieba_emotion_28::

      回复
  9. 头像
    左岸
    Android Pie · Google Chrome

    知识盲区 ::paopao:tieba_emotion_89::

    回复
    1. 头像
      刘大喵 作者
      Linux · Google Chrome
      @ 左岸

      ::paopao:tieba_emotion_53::

      回复