ZTE F820 IGMP Snooping Multicast Service Configure
[boxads]
Today i will discuss how to configure ZTE F820 IGMP Snooping Multicast Service in ZTE OLT.
Prerequisites:
- Make sure that network device works normally.
- Make sure that multicast source exits in the uplink network.
- Make sure that GPON card works normally.
- Make sure that the in-band NM IP address of the ZXA10 C220 is configured.
- Log in to the ZXA10 C220 through HyperTerminal or Telnet.
Background Information:
When an ONU is registered on the ZXA10 C220, the OLT creates a multicast service connection automatically.
- Bridge_0/1
- GEM port ID: 1021
- Uplink_0/1/255
On the ONU, the multicast service connection transmits only multicast service packets and the multicast protocol packets are transmitted in the unicast service connection.
The F820 supports 12 MVLANs and 255 multicast groups.
Networking Diagram:Â ZTE F820 IGMP snooping multicast service networking diagram.
Configuration Data: ZTE F820 IGMP snooping multicast service configuration data
F820 IGMP snooping multicast service configuration flowchart:
To configure the IGMP snooping multicast service, perform the following steps:
1. Log in to the F820 through HyperTeminal (username: zte, password: zxr10).
2. Configure GPON SN on the F820.
i. Query card status.
ZXAN#show card
Rack Shelf Slot CfgType RealType Port HardVer SoftVer    Status
————————————————————————-
0Â Â Â Â Â Â Â 0Â Â Â Â Â Â 1Â Â Â Â Â MS8EÂ Â Â Â MS8EÂ Â Â Â Â Â 8Â Â Â Â Â Â Â V0Â Â Â Â Â Â Â Â Â V1.0.0T8Â INSERVICE
0 Â Â Â Â 0Â Â Â Â Â Â 2Â Â Â Â GPUAÂ Â Â Â GPUA Â Â Â 1Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â INSERVICE
0Â Â Â Â Â Â Â 0Â Â Â Â Â Â 4Â Â Â Â V16BÂ Â Â Â Â V16BÂ Â Â Â Â Â Â Â 1Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â INSERVICE
ii. Enter global configuration mode and configure GPON SN.
ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#pon sn ZTEG9000002B
ZXAN(config)#exit
ZXAN#
iii. Reset GPON card (GPUA card) in slot 2 and wait for 1 minute.
ZXAN#reset-card slotno 2
Confirm to reset card?[yes/no]:y
3. Configure F820 in-band NM.
i. Enter VLAN interface configuration mode, configure in-band NM IP address.
ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#interface inband-vlan1000
ZXAN(config-if)#ip address 10.67.1.11 255.255.255.0
ZXAN(config-if)#exit
ZXAN(config)#
Note: VLAN 1 – VLAN 4093 are created by default.
The in-band NM IP address should be in the same network segment with the ZXA10 C220.
ii. Configure in-band NM route.
ZXAN(config)#ip route 0.0.0.0 0.0.0.0 10.67.1.254
4. Configure service VLAN.
Configure VLAN service port.
ZXAN(config)#interface fei_0/1/1
ZXAN(config-if)#switchport default vlan 21
ZXAN(config-if)#exit
ZXAN(config)#
Note: By default, VLAN 1 – VLAN 4093 exist in F820 and the uplink GPON port is each VLAN.
5. Configure IGMP parameters.
i. Configure ONU IGMP mode.
ZXAN(config)#igmp onu-mode snooping
ii. Configure port IGMP parameters.
ZXAN(config)#interface fei_0/1/1
ZXAN(config-if)#igmp mvlan 500
ZXAN(config-if)#igmp fast-leave enable
ZXAN(config-if)#igmp tag-stripe disable
ZXAN(config-if)#igmp mvlan-translate disable
ZXAN(config-if)#end
6. Save configuration data.
ZXAN#write
Building configuration…
..[OK]
7. Configure F820 ONU type on the ZXA10 C220.
i. Enter the global configuration mode.
ZXAN#configure terminal
Enter the configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#
ii. Enter PON configuration mode and configure ONU type.
ZXAN(config)#pon
ZXAN(config-pon)#onu-type ZTEG-F820 gpon
iii. Configure ONU port type.
ZXAN(config-pon)#onu-type-if ZTEG-F820 eth_0/1-24
ZXAN(config-pon)#exit
ZXAN(config)#
8. Register ONU.
i. Query unconfigured ONU on the GPON-OLT port.
ZXAN(config)#show gpon onu uncfg gpon-olt_0/5/1
OnuIndex                 Sn                             State
———————————————————–
gpon-onu_0/5/1:1Â Â ZTEG9000002BÂ Â Â unknown
ii. Enter the GPON-OLT interface configuration mode.
ZXAN(config)#interface gpon-olt_0/5/1
ZXAN(config-if)#
iii. Register ONU.
ZXAN(config-if)#register 1 type ZTEG-F820 ZTEG9000002B state ready
iv. Query ONU state.
ZXAN(config-if)#show gpon onu state gpon-olt_0/5/1
OnuIndex               Admin State  Omcc State  O7 State   Phase State
————————————————————————–
gpon-onu_0/5/1:1 enable           enable        operation  working
ZXAN(config-if)#exit
ZXAN(config)#
9. Configure bandwidth profile.
i. Enter the GPON configuration mode.
ZXAN(config)#gpon
ZXAN(config-gpon)#
ii. Configure bandwidth profile.
ZXAN(config-gpon)#bandwidth-profile iptv-tcont type 2 assured 100000
ZXAN(config-gpon)#exit
ZXAN(config)#
10. Configure T-CONT and GEM ports.
- T-CONT (Transmission Container) is the minimum unit of upstream bandwidth scheduling which is identified by Alloc ID.
- GEM (GPON Encapsulation Method) port is the minimum unit of downstream traffic which is identified by port ID.
i. Enter the GPON-ONU interface configuration mode.
ZXAN(config)#interface gpon-onu_0/5/1:1
ZXAN(config-if)#
ii. Create T-CONT.
ZXAN(config-if)#tcont 2 name iptvtcont traffic iptv-tcont
iii. Create GEM ports.
ZXAN(config-if)#gemport 1 name NMport unicast tcont 2
ZXAN(config-if)#gemport 2 name iptvport unicast tcont 2
ZXAN(config-if)#exit
ZXAN(config)#
11. Configure VLAN service port.
i. Enter the GPON-ONU interface configuration mode.
ZXAN(config)#interface gpon-onu_0/5/1:1
ZXAN(config-if)#
ii. Configure port mode to hybrid.
ZXAN(config-if)#switchport mode hybrid vport 1
ZXAN(config-if)#switchport mode hybrid vport 2
Note: By default, one V-port corresponds to one GEM port.
iii. Add port to NM VLAN, MVLAN and user VLAN in tag mode.
ZXAN(config-if)#switchport vlan 1000 tag vport 1
ZXAN(config-if)#switchport vlan 500 tag vport 2
ZXAN(config-if)#switchport vlan 21 tag vport 2
ZXAN(config-if)#exit
ZXAN(config)#
Note: When a port is added to a VLAN, the VLAN is added automatically.
12. Configure VLAN uplink port.
i. Enter the OLT uplink port configuration mode.
ZXAN(config)#interface gei_0/14/1
ii. Configure uplink port mode to hybrid.
ZXAN(config-if)#switchport mode hybrid
iii. Add uplink port to MVLAN in tag mode.
ZXAN(config-if)#switchport vlan 500 tag
ZXAN(config-if)#exit
ZXAN(config)#
13. Configure ONU NM service connection.
i. Enter the ONU remote management mode.
ZXAN(config)#pon-onu-mng gpon-onu_0/5/1:1
ZXAN(gpon-onu-mng)#
ii. Configure the map between GEM port and uplink interface.
ZXAN(gpon-onu-mng)#interwork gemport NMport dot1p-bridge uplink_0/1/1 prio-list 1
iii. Configure VLAN filter mode on uplink interface.
ZXAN(gpon-onu-mng)# vlan-filter-mode uplink uplink_0/1/1 tagfilter vid-filter untag-filter discard
iv. Configure VLAN filter entry on uplink interface.
ZXAN(gpon-onu-mng)#vlan-filter uplink uplink_0/1/1 priority 1 vid 1000
14. Configure ONU unicast service connection.
i. Configure the map between GEM port and uplink interface.
ZXAN(gpon-onu-mng)#interwork gemport iptvport dot1p-bridge uplink_0/1/2 prio-list 1
ii. Configure VLAN filter mode on uplink interface.
ZXAN(gpon-onu-mng)# vlan-filter-mode uplink uplink_0/1/2 tagfilter vid-filter untag-filter discard
iii. Configure VLAN filter entry on uplink interface.
ZXAN(gpon-onu-mng)#vlan-filter uplink uplink_0/1/2 priority 5 vid 21
[bodyads]
15. Configure ONU multicast service connection.
i. Configure VLAN filter mode on uplink interface.
ZXAN(gpon-onu-mng)#vlan-filter-mode uplink uplink_0/1/255 tagfilter vid-filter untag-filter discard
ii. Configure VLAN filter entry on uplink interface.
ZXAN(gpon-onu-mng)#vlan-filter uplink uplink_0/1/255 priority 5 vid 50
16. Configure IGMP global parameters.
Enable global IGMP and IGMP span-VLAN functions.
ZXAN(config)#igmp enable
ZXAN(config)#igmp span-vlan enable
This instance uses the default values for other IGMP global parameters. To configure IGMP global parameters, refer to Configuring IGMP Global Parameters.
Note:When user VLAN is different from MVLAN, the span-VLAN function must be enabled.
17. Configure IGMP port parameters. Enable fast-leave function.
ZXAN(config)#interface gpon-onu_0/5/1:1
ZXAN(config-if)#igmp fast-leave enable vport 2
ZXAN(config-if)#exit
This instance uses the default values for other IGMP port parameters. To configure IGMP port parameters, refer to Configuring IGMP Port Parameters.
18. Configure MVLAN.
i. Configure MVLAN.
ZXAN(config)#igmp mvlan 500
ii. Configure MVLAN working mode.
ZXAN(config)#igmp mvlan 500 work-mode snooping
Note: The default IGMP mode of the system is IGMP snooping.
iii. Configure multicast groups.
ZXAN(config)#igmp mvlan 500 group 224.1.1.1
ZXAN(config)#igmp mvlan 500 group 224.1.1.2
ZXAN(config)#igmp mvlan 500 group 224.1.1.3
Configure batch multicast groups (optional).
ZXAN(config)#igmp mvlan 500 group 224.3.4.1 to 224.3.4.10
iv. Configure source port.
ZXAN(config)#igmp mvlan 500 source-port gei_0/14/1
v. Configure receiving port.
ZXAN(config)#igmp mvlan 500 receive-port gpon-onu_0/5/1:1 vport 2
19. Configure IPTV package.
i. Configure IPTV channel.
ZXAN(config)#iptv channel mvlan 500 group 224.1.1.1 name channel1
ZXAN(config)#iptv channel mvlan 500 group 224.1.1.2 name channel2
ZXAN(config)#iptv channel mvlan 500 group 224.1.1.3 name channel3
Configure batch IPTV channels (optional).
ZXAN(config)#iptv channel mvlan 500 group 224.3.4.1 to 224.3.4.10 prename xxtv
ii. Configure preview profile (optional).
ZXAN(config)#iptv view-profile test count 3 duration 120 blackout 60
iii. Apply preview profile to IPTV channel (optional).
ZXAN(config)#iptv channel channel1 view-profile test
Note: The default view profile of IPTV channel is DEFVAL.PRF.
iv. Configure IPTV package.
ZXAN(config)#iptv package name pkg1
ZXAN(config)#iptv package pkg1 channel channel1 preview
ZXAN(config)#iptv package pkg1 channel channel2 watch
ZXAN(config)#iptv package pkg1 channel channel3 deny
[adsense]
20. Configure CAC.
i. Enable global CAC function.
ZXAN(config)#iptv cac enable
Note: – When CAC is enabled, the user can watch channels only when he has purchased the IPTV package.
– When CAC is disabled, the user can watch channels when he is in the MVLAN receiving port
– CAC is disabled by default.
ii. Configure user port right.
ZXAN(config)#interface gpon-onu_0/5/1:1
ZXAN(config-if)#iptv package pkg1 vport 2
21. Save configuration data.
ZXAN(config-if)#end
ZXAN#write
Building configuration…
..[OK]
ZXAN#
Result: The PC can preview channel1, watch channel2 and channel3.