ONT został podłączony do portu GPON 1 (slot 0) z ONU_ID 13
W przykładowej konfiguracji użyliśmy poniżej sieci VLAN:
VLAN 100 - INTERNET
VLAN 200 - IPTV (multicast uplink port 0/7/0)
VLAN 300 - VOIP
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 130 profile-name "HL-4GMV"
ont-port pots 2 eth 4
igmp-forward translation 200
multicast-forward tag transparent
port vlan iphost translation 400 user-vlan 400
commit
3. Tworzenie lineprofile
Kod: Zaznacz cały
MA5683T(config)#ont-lineprofile gpon profile-id 130 profile-name "HL-4GMV"
fec-upstream enable
tcont 1 dba-profile-id 17
tcont 2 dba-profile-id 17
tcont 3 dba-profile-id 17
tcont 4 dba-profile-id 17
gem add 0 eth tcont 1
gem add 1 eth tcont 2
gem add 2 eth tcont 3
gem add 3 eth tcont 4
gem mapping 0 0 vlan 100
gem mapping 1 1 vlan 200
gem mapping 2 2 vlan 300
gem mapping 3 3 vlan 400
commit
quit
Kod: Zaznacz cały
MA5683T(config)#interface gpon 0/0
MA5683T(config-if-gpon-0/0)#ont add 1 13 sn-auth "48414C4E206FFFE0" omci ont-lineprofile-id 130 ont-srvprofile-id 130 desc "HL-4GMV"
MA5683T(config-if-gpon-0/0)#ont ipconfig 1 13 dhcp vlan 400 priority 0
Kod: Zaznacz cały
MA5683T(config)#service-port 53 vlan 100 gpon 0/0/1 ont 13 gemport 0 multi-service user-vlan 100 tag-transform translate
MA5683T(config)#service-port 54 vlan 200 gpon 0/0/1 ont 13 gemport 1 multi-service user-vlan 200 tag-transform translate
MA5683T(config)#service-port 55 vlan 300 gpon 0/0/1 ont 13 gemport 2 multi-service user-vlan 300 tag-transform translate
MA5683T(config)#service-port 56 vlan 400 gpon 0/0/1 ont 13 gemport 3 multi-service user-vlan 400 tag-transform translate
Kod: Zaznacz cały
MA5683T(config)#btv
MA5683T(config-btv)#igmp user add service-port 54 no-auth
MA5683T(config-btv)#multicast-vlan 200
igmp default uplink-port 0/7/0
igmp query-proxy disable
igmp version v2
igmp match mode disable
igmp multicast-vlan member service-port 54
igmp mode snooping
igmp uplink-port 0/7/0
quit
MA5683T(config)#default-policy service-port multicast-unknown transparent
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.61.132
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-FF98
ONT manage VLAN : 400
ONT manage priority : 0
Dscp mapping table index : 0
--------------------------------------------------------------------