华为 M5680t对HGU ONU配置指导

环境拓扑:
在这里插入图片描述

>>User name:root
>>User password:admin

MA5680T>enable
MA5680T#config

1、 add board to1 Slot(GPFD)

MA5680T(config)#board add 0/1 H805GPFD 
  1 [2017-06-29 20:56:01+08:00]:
  A board auto disappear,FrameID:0,SlotID:2,Board_name:H805GPFD
  0 frame 2 slot board added successfully

MA5680T(config)#board add 0/17 H801GICF
  1 [2017-06-29 20:56:49+08:00]:
  A board auto disappear,FrameID:0,SlotID:17,Board_name:H801GICF
  0 frame 17 slot board added successfully

MA5680T(config)#
MA5680T(config)#board add 0/18 H801GICF
  1 [2017-06-29 20:56:55+08:00]:
  A board auto disappear,FrameID:0,SlotID:18,Board_name:H801GICF
  0 frame 18 slot board added successfully

MA5680T(config)#
2. create vlan and binding uplink port

MA5680T(config)#vlan 100 smart   (busniess vlan or user-vlan)
MA5680T(config)#vlan 1001-1005 smart  (user-vlan)
MA5680T(config)#port vlan 100 0/17 0-1     (vlan 100 binding uplink port)
MA5680T(config)#port vlan 100 0/7 0-1

3.Set Uplink port backup

MA5680T(config)#link-aggregation 0/17 0 0/17 1 egress-ingress workmode lacp-static
MA5680T(config)#protect
MA5680T(config-protect)#protect-group first 0/17/0 second 0/17/1 eth workmode timedelay enable

4. create DBA profile

MA5680T(config)#dba-profile add profile-id 100 profile-name 100M-INTERNET type3 assure 102400 max 204800

5. create ont-lineprofile and ont-srvprofile

MA5680T(config)#
MA5680T(config)#ont-srvprofile gpon profile-id 804 profile-name 804GW
MA5680T(config-gpon-srvprofile-804)#ont-port pots adaptive eth adaptive 
MA5680T(config-gpon-srvprofile-804)#commit 
MA5680T(config-gpon-srvprofile-804)#quit

MA5680T(config)#ont-lineprofile gpon profile-id 804 profile-name 804GW
MA5680T(config-gpon-lineprofile-804)#tcont 1 dba-profile-id 100
MA5680T(config-gpon-lineprofile-804)#gem add 1 eth tcont 1
MA5680T(config-gpon-lineprofile-804)#gem mapping 1 1 vlan 100
MA5680T(config-gpon-lineprofile-804)#commit 
MA5680T(config-gpon-lineprofile-804)#quit

or config other method: vlan translate mode
MA5680T(config)#ont-lineprofile gpon profile-id 805 profile-name 804GWv2
MA5680T(config-gpon-lineprofile-805)#tcont 1 dba-profile-id 100
MA5680T(config-gpon-lineprofile-805)#gem add 1 eth tcont 1
MA5680T(config-gpon-lineprofile-805)#gem mapping 1 1 vlan 1001
MA5680T(config-gpon-lineprofile-805)#commit 
MA5680T(config-gpon-lineprofile-805)#quit

6. set OLT auto onu sn info

MA5680T(config)#interface gpon 0/1
MA5680T(config-if-gpon-0/1)#display ont autofind all
                                                ^
  % Parameter error, the error locates at '^'

MA5680T(config-if-gpon-0/1) ??????why ??? because this 2 slot`s port 0 not enable ont-auto-find switch
MA5680T(config-if-gpon-0/1)#port 0 ont-auto-find enable 
MA5680T(config-if-gpon-0/1)#port 1 ont-auto-find enable
MA5680T(config-if-gpon-0/1)#port 2 ont-auto-find enable
MA5680T(config-if-gpon-0/1)#port 3 ont-auto-find enable





MA5680T(config-if-gpon-0/1)#port 4 ont-auto-find enable  
MA5680T(config-if-gpon-0/1)#port 5 ont-auto-find enable
MA5680T(config-if-gpon-0/1)#port 6 ont-auto-find enable
MA5680T(config-if-gpon-0/1)#port 7 ont-auto-find enable
MA5680T(config-if-gpon-0/1)#port 8 ont-auto-find enable
MA5680T(config-if-gpon-0/1)#port 9 ont-auto-find enable
MA5680T(config-if-gpon-0/1)#port 10 ont-auto-find enable 
MA5680T(config-if-gpon-0/1)#port 11 ont-auto-find enable 
MA5680T(config-if-gpon-0/1)#port 12 ont-auto-find enable  
MA5680T(config-if-gpon-0/1)#port 13 ont-auto-find enable 
MA5680T(config-if-gpon-0/1)#port 14 ont-auto-find enable 
MA5680T(config-if-gpon-0/1)#port 15 ont-auto-find enable 
MA5680T(config-if-gpon-0/1)#
MA5680T(config-if-gpon-0/1)#display ont autofind 0  
   ----------------------------------------------------------------------------
   Number              : 1
   F/S/P               : 0/1/0
   Ont SN              : 524C474D78C52898 (RLGM-78C52898)
   Password            : 0x37383436323200000000(784622)
   Loid                : gpon12345678
   Checkcode           : 123456789
  VendorID            : RLGM
   Ont Version         : V1.0
   Ont SoftwareVersion : HGUV1.0.0B06
   Ont EquipmentID     : GPONV6
   Ont autofind time   : 2017-06-29 21:03:00+08:00
   ----------------------------------------------------------------------------

7.this SN number copy here to register

MA5680T(config-if-gpon-0/1)#ont add 0 0 sn-auth 524C474D78C52898 omci ont-lineprofile-id 804 ont-srvprofile-id 805
or
MA5680T(config-if-gpon-0/1)#ont add 0 1 sn-auth 524C474D78C52899 omci ont-lineprofile-id 804 ont-srvprofile-id 804
MA5680T(config-if-gpon-0/1)#quit

8. create service-port

MA5680T(config)#
methd1-config: Set user-vlan 1001 translate business-vlan 100 
but in ont-lineprofile profile to config mapping vlan is user-valn 1001

MA5680T(config)#service-port 0 vlan 100 gpon 0/1/0 ont 0 gemport 1 multi-service user-vlan 1001 tag-transform translate

method2-config: Set business-vlan==user-vlan==100  OK
MA5680T(config)#service-port 0 vlan 100 gpon 0/1/0 ont 1 gemport 1 multi-service user-vlan 100 tag-transform translate
MA5680T(config)#save configuration 

猜你喜欢

转载自blog.csdn.net/weixin_42353331/article/details/86189674