Poniżej konfiguracja HL-1GE (HGU) dla OLT Huawei 5683T (MA5600V800R017C10)
(I). Konfiguracja ONT (Access Mode, tylko INTERNET)
ONT został podłączony do portu GPON 1(slot 0) z ONU_ID 14
W przykładowej konfiguracji użyiśmy następujących sieci VLAN:
- VLAN 100 INTERNET
- VLAN 400 MGMT
1. Tworzenie profilu DBA
Kod: Zaznacz cały
MA5683T(config)#dba-profile add profile-id 17 profile-name "dba-profile_17" type4 max 1024000
Kod: Zaznacz cały
MA5683T(config)#ont-srvprofile gpon profile-id 139 profile-name "HL-1GE_HGU_INT"
ont-port eth 1
port vlan iphost translation 400 user-vlan 400
commit
Kod: Zaznacz cały
MA5683T(config)#ont-lineprofile gpon profile-id 139 profile-name "HL-1GE_HGU_INT"
fec-upstream enable
tcont 1 dba-profile-id 17
tcont 2 dba-profile-id 17
gem add 0 eth tcont 1
gem add 1 eth tcont 2
gem mapping 0 0 vlan 100
gem mapping 1 1 vlan 400
commit
quit
Kod: Zaznacz cały
MA5683T(config)#interface gpon 0/0
MA5683T(config-if-gpon-0/0)#ont add 1 14 sn-auth "48414C4E086046A8" omci ont-lineprofile-id 131 ont-srvprofile-id 131 desc "HL-1GE_HGU_INT"
MA5683T(config-if-gpon-0/0)#ont ipconfig 1 14 dhcp vlan 400 priority 0
Kod: Zaznacz cały
MA5683T(config)#service-port 81 vlan 100 gpon 0/0/1 ont 14 gemport 0 multi-service user-vlan 100 tag-transform translate
MA5683T(config)#service-port 82 vlan 400 gpon 0/0/1 ont 14 gemport 1 multi-service user-vlan 400 tag-transform translate
Kod: Zaznacz cały
MA5683T(config-if-gpon-0/0)#display ont ipconfig PORT-ID ONT-ID
--------------------------------------------------------------------
ONT IP host index : 0
ONT config type : DHCP
ONT IP : 172.17.60.196
ONT subnet mask : 255.255.254.0
ONT gateway : 172.17.60.1
ONT primary DNS : 172.16.16.240
ONT slave DNS : 89.231.1.206
ONT MAC : E05A-9F6F-46A8
ONT manage VLAN : 400
ONT manage priority : 0
Dscp mapping table index : 0
--------------------------------------------------------------------