通信人家园

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索
查看: 1288|回复: 0
打印

MA5620-24业务配置 [复制链接]

军衔等级:

  新兵

注册:2019-6-8
跳转到指定楼层
1#
发表于 2022-12-15 22:56:03 |只看该作者 |倒序浏览

MA5680T(config)#display  ont autofind  all   发现未注册的ONU
   ------------------------------------------------------------------------
   Number              : 1
   F/S/P               : 0/1/7
   ONT NNI type        : 1G/1G
   ONT MAC             : 34A2-A2D4-B6F9
   Password            : 00000000000000000000000000000000
   Loid                : 000000000000000000000000
   Checkcode           : 000000000000
   VendorID            : HWTC
   OUI version         : CTC3.0
   ONT model           : 5620
   ONT extended model  : 5620
   ONT software version: V8R312 C00
   ONT hardware version: MA5620
   ONT autofind time   : 2020-02-01 13:20:37+08:00
   --------------------------------------------------------------------------
   The number of EPON autofind ONT is 1

MA5680T(config-if-epon-0/1)#ont add 3 mac-auth  781D-BAF6-DBD7 snmp ont-lineprofile-id  26 desc JK-AP        注册好ONT,并且简单标记一下
是做什么用的


  Number of ONTs that can be added: 1, success: 1
  PortID :7, ONTID :7



MA5680T(config-if-epon-0/1)#ont ipconfig 3 10 static ip-address 172.16.1.29 mask 255.255.255.0 gateway 172.16.1.1 manage-vlan 100    给它下发个地址。
{ <cr>|priority<K> }:

  
MA5680T(config)#service-port vlan   100 epon 0/1/3 ont 10 multi-service user-vlan 100                 添加上行虚端口(管理地址用)
{ <cr>|bundle<K>|inbound<K>|tag-transform<K>|to<K>|user-encap<K> }:


MA5680T(config)#ping 172.16.1.177                                                                  测试到ONT已经通
  PING 172.16.1.177: 56  data bytes, press CTRL_C to break
    Reply from 172.16.1.177: bytes=56 Sequence=1 ttl=255 time=10 ms
    Reply from 172.16.1.177: bytes=56 Sequence=2 ttl=255 time=1 ms
    Reply from 172.16.1.177: bytes=56 Sequence=3 ttl=255 time=1 ms
    Reply from 172.16.1.177: bytes=56 Sequence=4 ttl=255 time=1 ms
    Reply from 172.16.1.177: bytes=56 Sequence=5 ttl=255 time=1 ms

  --- 172.16.1.177 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 1/2/10 ms



MA5680T(config)#service-port vlan 3000 epon 0/1/7 ont 7 multi-service user-vlan 3000               添加上行虚端口(业务用)
{ <cr>|bundle<K>|inbound<K>|tag-transform<K>|to<K>|user-encap<K> }:

  Command:
          service-port vlan 3000 epon 0/1/7 ont 7 multi-service user-vlan 3000

MA5680T(config)#telnet 172.16.1.177                                                           登录到ONT

{ <cr>|service-port<U><1,65535> }:

  Command:
          telnet 172.16.1.177
  Press CTRL_] to quit telnet mode
  Trying 172.16.1.177 ...
  Connected to 172.16.1.177 ...
>>User name:root                                    用户名admin 密码mduadmin
>>User password:





  MA5620(config)#vlan  3000 smart                     建立业务vlan

  MA5620(config)#port vlan  3000 0/0 1              透传业务vlan到ont的PON上行口


MA5620(config)#undo service-port all                        删掉之前的业务
  Failure: No service virtual port can be operated

MA5620(config)#undo service-port all
  Failure: No service virtual port can be operated

MA5620(config)#multi-service-port vlan 21 port 0/1    1-24    user-vlan untagged rx-cttr 6 tx-cttr 6                      1到16口开通业务vlan 3000
  It will take several minutes, and console may timeout, please use command
idle-timeout to set time limit
  Are you sure to create service virtual port(s)? (y/n)[n]:y                                                              确定开通
  The number of total board in this operation:                      1
  The number of total service virtual port in this operation:       16
  Creating start...

    16 service virtual ports have been processed
  Creating end:
  The number of total service virtual port which need be created:   16
  The number of total service virtual port which have been created: 16
MA5620(config)#ring  check  enable                          

MA5620(config)#

MA5620(config)#ring  check  resume-interval  1

MA5620(config)#

MA5620(config)#save             保存





==================================================

简单的脚本


ont add 7 mac-auth  34A2-A2D4-B6F9 snmp ont-lineprofile-id  26 desc APVLAN3000

ont ipconfig 7 7 static ip-address 172.16.1.177 mask 255.255.255.0 gateway 172.16.1.1 manage-vlan 100

service-port vlan   100 epon 0/1/7 ont 7 multi-service user-vlan 100

service-port vlan 21 epon 0/1/6 ont 3 multi-service user-vlan 21


以下是5620的配置




vlan  3000 smart               

port vlan  3000 0/0 1

undo service-port all     

multi-service-port vlan 102 port 0/1    1-24    user-vlan untagged rx-cttr 6 tx-cttr 6  
  
ring  check  enable                          

ring  check  resume-interval  1


save         








举报本楼

您需要登录后才可以回帖 登录 | 注册 |

版规|手机版|C114 ( 沪ICP备12002291号-1 )|联系我们 |网站地图  

GMT+8, 2025-7-19 14:39 , Processed in 1.006378 second(s), 17 queries , Gzip On.

Copyright © 1999-2025 C114 All Rights Reserved

Discuz Licensed

回顶部