Multicast traffic on Huawei GPON not working.
The possible causes of the problem for the live service implemented in the multicast mode are as follows:- The STB does not send IGMP packets and therefore the live program information is not reported.
- A failure of exchanging IGMP messages or program matching occurs and therefore the device fails to generate the forwarding entry.
- The video stream is not transmitted downstream.
- IGMP message exchange between the OLT and the ONU is abnormal. As a result, the OLT does not forward the program data to the ONU.
Configuration steps
• Indicate multicast vlan• Add uplink port to the multicast vlan
• Add IGMP user
• Configure multicast vlan default uplink port
• Configure multicast vlan program match mode
• Configure multicast vlan igmp version
• Configure multicast vlan igmp mode
• Add multicast vlan member
MA5680T(config)#display vlan 2927 Command: display vlan 2927 VLAN ID: 2927 VLAN name: VLAN_2927 VLAN type: smart VLAN attribute: common VLAN description: MULTICAST TRAFFIC VLAN forwarding mode in control board: VLAN-MAC VLAN forwarding mode: VLAN-MAC VLAN broadcast packet forwarding policy: forward VLAN unknown multicast packet forwarding policy: forward VLAN unknown unicast packet forwarding policy: forward VLAN bind service profile ID: - VLAN bind RAIO profile index: - VLAN priority: - ------------------------------- F /S /P Native VLAN State ------------------------------- 0 /6 /0 1 up ------------------------------- Standard port number: 1 ----------------------------------------------------------- INDEX TYPE STATE F /S /P VPI VCI FLOWTYPE FLOWPARA ----------------------------------------------------------- 3738 gpon up 0 /2 /6 11 1 vlan 101 ----------------------------------------------------------- Service virtual port number: 1 Note: F--Frame, S--Slot, P--Port MA5680T(config)#btv MA5680T(config-btv)#igmp user add service-port 3738 no-auth Command: igmp user add service-port 3738 no-auth MA5680T(config-btv)#quit MA5680T(config)#multicast-vlan 2927 MA5680T(config-mvlan2927)#igmp uplink-port 0/17/0 MA5680T(config-mvlan2927)#igmp default uplink-port 0/17/0 MA5680T(config-mvlan2927)#igmp match mode disable Command has been executed successfully MA5680T(config-mvlan2927)#igmp version v3 MA5680T(config-mvlan2927)#igmp mode proxy Are you sure to change IGMP mode? (y/n)[n]:y Command is being executed. Please wait... Command has been executed successfully MA5680T(config-mvlan2927)#igmp multicast-vlan member service-port 3738 MA5680T(config-mvlan2927)#return MA5680T#display current-configuration section BTV Command: display current-configuration section BTV [MA5600V800R015: 5800] # [btv-config]btv igmp user add service-port 3738 no-auth multicast-vlan 2927 igmp default uplink-port 0/17/0 igmp match mode disable igmp multicast-vlan member service-port-list 3738 igmp mode proxy igmp uplink-port 0/17/0 # return
Verification
MA5680T(config)#display mac-address vlan 2927 It will take some time, please wait... ----------------------------------------------------------------------- SRV-P BUNDLE TYPE MAC MAC TYPE F /S /P VPI VCI VLAN ID INDEX INDEX ----------------------------------------------------------------------- - - eth dc4a-3e3a-562d dynamic 0 /17/0 - - 2927 3738 - gpon 58b4-2d10-0520 dynamic 0 /10/10 1 2 2927 ----------------------------------------------------------------------- Total: 2 Note: F--Frame, S--Slot, P--Port, F/S/P indicates PW Index for PW, A--The MAC address is learned or configured on the aggregation port, VPI indicates ONT ID for PON, VCI indicates GEM index for GPON, v/e--vlan/encap, pritag--priority-tagged, ppp--pppoe, ip--ipoe, ip4--ipv4oe, ip6--ipv6oe MA5680T(config)#interface gpon 0/10 MA5680T(config-if-gpon-0/10)#display ont traffic 10 1 2 MA5680T(config-if-gpon-0/10)# ---------------------------------------------------------------- Traffic Information ---------------------------------------------------------------- Up traffic (kbps) : 0 Down traffic (kbps) : 3150 ---------------------------------------------------------------- MA5680T(config-if-gpon-0/10)#return MA5680T#display igmp user all Command: display igmp user all Command is being executed. Please wait... ------------------------------------------------------------------------------ User port Bind State Auth Quick IGMP Video Log Available profiles leave flow ID flow ID switch programs ------------------------------------------------------------------------------ 0/10/10/3738 - online no-auth MAC-based 3738 3738 enable 8 ------------------------------------------------------------------------------ Total: 1 MA5680T#display igmp user smart-vlan 2927 Command: display igmp user smart-vlan 2927 Command is being executed. Please wait... ------------------------------------------------------------------------------ User port Bind State Auth Quick IGMP Video Log Available profiles leave flow ID flow ID switch programs ------------------------------------------------------------------------------ 0/10/10/3738 - offline no-auth MAC-based 3738 3738 enable 8 ------------------------------------------------------------------------------ Total: 1 MA5680T#display multicast forwarding-table 0/10/10 ont 1 Command: display multicast forwarding-table 0/10/10 ont 1 ----------------------------------------------------------------------------- Group addr Source IP VLAN ONT-port Client IP Age(second) ----------------------------------------------------------------------------- 238.10.92.1 - - 2 192.168.1.170 5 ----------------------------------------------------------------------------- Total : 1 Note: "SSID" indicates the SSID of the WiFi interface MA5680T#display multicast flow-statistic vlan 2927 ip 238.10.92.1 Command: display multicast flow-statistic vlan 2927 ip 238.10.92.1 Command is being executed. Please wait... Multicast flow statistic result: 2180(kbps) MA5680T#display multicast upstream-mode The current interactive mode of the upstream route is: IGMP MA5680T#display ont info 0 10 10 1 -- output ommited-- ----------------------------------------------------------------------------- TDM port type : E1 TDM service type : TDMoGem MAC learning function switch : Enable ONT transparent function switch : Enable Multicast forward mode : Unconcern Multicast forward VLAN : - Multicast mode : IGMP-Snooping Upstream IGMP packet forward mode : Unconcern Upstream IGMP packet forward VLAN : - Upstream IGMP packet priority : - Native VLAN option : Concern ----------------------------------------------------------------------------- -- output ommited --The igmp-snooping on multicast mode in the output indicates that the OLT works in the IGMP proxy mode and the ONU works in the IGMP snooping mode
Debbuging
For a deep dive to see the IGMP mesages exchange, in below example we receive IGMP Membership Report message from source 192.168.1.170 who is joining the multicast group 238.10.92.1MA5680T#debugging igmp service-port 3738 Command: debugging igmp service-port 3738 MA5680T#terminal debugging % Current terminal debugging is on MA5680T#terminal monitor % Current terminal monitor is on MA5680T# *7.3790394908 MA5680T BTV/7/ALL: 2019-05-30 15:25:25+03:00 service-port index 3738 receive an IGMP packet Type: REPORT(TO_IN), Version: V3, Group IP: 238.10.92.1, Source IP: -- Ethernet, src: 58-b4-2d-10-05-20 IP, src: 192.168.1.170 IP options: 0x94040000 MA5680T#undo debugging igmp MA5680T#undo terminal monitor % Current terminal monitor is off MA5680T#undo terminal debugging % Current terminal debugging is off
Alt: transparently forward multicast traffic through the OLT
In order to allow the OLT to pass through transparently to and from the ONT. In this example here below; port LAN1 of ONT is provisioned with internet; vlan 72 and the ONT is doing routing for this internet service while port LAN2 is provisioned with vlan 73 and the ONT is forwarding multicast traffic through the OLT on this service.
INTERNET-PC ┌──────┐ │ ├────────────┐ └──────┘ │ LAN1 │ MPLS & INTERNET ┌──────┐ ┌───────┐ ┌────────┐ ┌────────┐ │ ONT ├───────┤ OLT ├────────┤CORE NET├───────────┤ │ └──┬───┘ └───────┘ └────────┘ └────────┘ LAN2 │ MULITICAST-RECEIVER ┌──────┐ │ │ ├────────────┘ └──────┘ MULITICAST-SOURCE
To allow the OLT to receive or forward multicast traffic to the ONT, make the service-port transparent with respect to multicast.
1. Get the service-port associated with a vlanMA5600T(config)#display service-port vlan 73 Switch-Oriented Flow List ---------------------------------------------------------------------------- INDEX VLAN VLAN PORT F/ S/ P VPI VCI FLOW FLOW RX TX STATE ID ATTR TYPE TYPE PARA ---------------------------------------------------------------------------- 1235 73 common gpon 0/2 /7 9 2 vlan 102 21 21 up ---------------------------------------------------------------------------- Total : 1 (Up/Down : 1/0)2. Enable multicast forwarding on service port
MA5600T(config)#multicast-unknown policy service-port 1235 transparent MA5600T(config)#display current-configuration section btv # [btv-config]3. It is also essential to make the service profile associated with the ONT enbaled for transparencybtv multicast-unknown policy service-port-list 1235 transparent #
MA5600T(config)#ont-srvprofile gpon profile-name PAUL-MCAST MA5600T(config-gpon-srvprofile-76)#transparent enable MA5600T(config-gpon-srvprofile-76)#commit MA5600T(config-gpon-srvprofile-76)#quit MA5600T(config)#display ont-srvprofile gpon profile-name PAUL-MCAST ----------------------------------------------------------------------------- Profile-ID : 76 Profile-name: PAUL-MCAST Access-type : GPON ----------------------------------------------------------------------------- Port-type Port-number ----------------------------------------------------------------------------- POTS 0 ETH 0 TDM 0 MOCA 0 CATV 0 ----------------------------------------------------------------------------- TDM port type : E1 TDM service type : TDMoGem MAC learning function switch : Enable ONT transparent function switch : Enable
Important:
To allow a ONT to operate as a router and forward multicast as well, the port provisioned with multicast forwarding must be excluded from LAN configuration within the ONT GUI In this example port LAN1 is provisioned with vlan 72 and ONT is doing routing for internetNote:
MAC address is leant on VLAN4095 which is special reserved VLAN for routed ONT portMA5600T#display ont-learned-mac 0/2/7 9 eth 1 --------------------------------------------------------------- F/S/P ONTID ONT ONT MAC-ADDRESS VLAN port-type port-ID --------------------------------------------------------------- 0/ 2/7 9 ETH 1 705a-0f2a-47cc 4095 0/ 2/7 9 ETH 1 705a-0f2a-47cc 0 --------------------------------------------------------------- Total: 2In this example port LAN2 is provisioned with vlan 73 and ONT forwarding muliticast traffic to OLT
Note:
MAC address is learn on VLAN102 which is the standard configuration based on service-profile.MA5600T#display ont-learned-mac 0/2/7 9 eth 2 --------------------------------------------------------------- F/S/P ONTID ONT ONT MAC-ADDRESS VLAN port-type port-ID --------------------------------------------------------------- 0/ 2/7 9 ETH 2 10e7-c6eb-9d4c 0 0/ 2/7 9 ETH 2 10e7-c6eb-9d4c 102 --------------------------------------------------------------- Total: 2
References
https://forum.huawei.com/enterprise/en/how-to-troubleshoot-the-failure-of-live-IPTV-programs-caused-by-mismatch-between-the-OLT-multicast-mode-and-the-ONU-multicast-mode/thread/394777-875https://www.youtube.com/watch?v=_hRzQpGOQLU