This article describes how to configure the BTV service on the MA5608T in the bridging+voice ONT networking (GPON/10G GPON access).
The OLT is connected to the remote bridging ONT through a GPON port to provide users with the multicast service.
I’ll explain the configuration process through a configuration example.
Prerequisites
1) The OLT is connected to the BRAS and the multicast source.
2) The VLAN of the LAN switch port connected to the OLT is the same as the upstream VLAN of the OLT.
3) The ONT has been added to the OLT.
Data Plan
Item | Data |
ONT line profile | Profile name: ftth
GEM port ID: 13 |
Traffic profile | ID: 8
802.1p priority: 4 CIR: off (unlimited) Priority-based scheduling policy: local-setting |
VLAN plan | Single VLAN tag:
SVLAN ID: 1000 MVLAN ID: 1000 VLAN type: smart VLAN attribute: common VLAN translation policy: ONT: duplicates packets based on user ports and multicast VLANs (MVLANs) are stripped off downstream. OLT: duplicates multicast packets based on PON ports with MVLAN unchanged |
Multicast service data | Multicast protocol: IGMP proxy
Multicast version: IGMPv2 Multicast program: dynamic obtaining mode |
Procedure
A. Configure the OLT
1. Configure a traffic profile.
Set the profile name to ftth_iptv. Set the CIR to off (unlimited), priority to 4, and priority-based scheduling policy to local-setting (that is, queues are scheduled based on the priority specified in the profile).
Note:
Run the display traffic table ip command to query the existing traffic profiles in the system. If the existing traffic profiles in the system do not meet the requirements, run the traffic table ip command to add a traffic profile.
huawei(config)#traffic table ip name ftth_iptv cir off priority 4 priority-policy local-setting
2. Configure the mapping relationship between a GEM port and a VLAN.
The service flow of user VLAN 1000 is mapped to GEM port 13 in the ONT line profile.
huawei(config)#ont-lineprofile gpon profile-name ftth
huawei(config-gpon-lineprofile-1)#gem mapping 13 4 vlan 1000
huawei(config-gpon-lineprofile-1)#commit
huawei(config-gpon-lineprofile-1)#quit
3. Configure the VLAN of the Ethernet port on the ONT and the multicast forwarding mode.
If the ONT is connected to the STB through Ethernet port 2, add Ethernet port 2 to VLAN 1000. Configure the multicast forwarding mode is untagged.
huawei(config)#ont-srvprofile gpon profile-name ftth
huawei(config-gpon-srvprofile-1)#port vlan eth 2 1000
huawei(config-gpon-srvprofile-1)#multicast-forward untag
huawei(config-gpon-srvprofile-1)#commit
huawei(config-gpon-srvprofile-1)#quit
4. Configure the native VLAN of the ONT port.
If the ONT is connected to the STB through Ethernet port 2, the native VLAN ID is 1000.
huawei(config)#interface gpon 0/1
huawei(config-if-gpon-0/1)#ont port native-vlan 0 1 eth 2 vlan 1000
huawei(config-if-gpon-0/1)#ont port native-vlan 0 2 eth 2 vlan 1000
huawei(config-if-gpon-0/1)#quit
5. Create a service VLAN and add an upstream port to it.
Add upstream port 0/19/0 to VLAN 1000.
huawei(config)#vlan 1000 smart
huawei(config)#port vlan 1000 0/19 0
6. Create service flows.
Set the service VLAN to 1000, GEM port ID to 13, and user VLAN to 1000, and use traffic profile ftth_iptv.
huawei(config)#service-port 1 vlan 1000 gpon 0/1/0 ont 1 gemport 13 multi-service
user-vlan 1000 inbound traffic-table name ftth_iptv outbound traffic-table name ftth_iptv
huawei(config)#service-port 2 vlan 1000 gpon 0/1/0 ont 2 gemport 13 multi-service
user-vlan 1000 inbound traffic-table name ftth_iptv outbound traffic-table name ftth_iptv
7. Create an MVLAN and configure the IGMP version.
Set the IGMP version for the MVLAN to IGMPv2.
huawei(config)#multicast-vlan 1000
huawei(config-mvlan1000)#igmp version v2
This operation will delete all IPv4 programs with source IP addresses in the current multicast VLAN
Are you sure to change current IGMP version? (y/n)[n]:y
Command is being executed. Please wait…
Command has been executed successfully
8. Configure a program library.
Set the mode for obtaining multicast programs to dynamic.
Note:
You can set the mode for obtaining multicast programs to dynamic only when the IGMP mode is off.
huawei(config-mvlan1000)#igmp mode off
Are you sure to close IGMP? (y/n)[n]:y
Command is being executed. Please wait…
Command has been executed successfully
huawei(config-mvlan1000)#igmp match mode disable
Command has been executed successfully
(Optional) Set the address range for the dynamic programs. If you need to limit the address range of dynamic programs, perform this operation. For example, set the address range of dynamic programs to 224.1.1.1-224.1.1.100.
huawei(config-mvlan1000)#igmp match group ip 224.1.1.1 to-ip 224.1.1.100
9. Set the IGMP mode.
Select the IGMP proxy mode.
huawei(config-mvlan1000)#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
10. (Optional) Configure the IGMP upstream port.
In this example, the IGMP upstream port uses default value default.
Run the display igmp config global command to query the IGMP upstream port mode. If this mode does not meet the requirement, run the igmp uplink-port-mode command to configure it.
11. Configure multicast users.
Add service ports 1 and 2 as multicast users.
huawei(config-mvlan1000)#btv
huawei(config-btv)#igmp user add service-port 1
huawei(config-btv)#igmp user add service-port 2
huawei(config-btv)#multicast-vlan 1000
huawei(config-mvlan1000)#igmp multicast-vlan member service-port 1
huawei(config-mvlan1000)#igmp multicast-vlan member service-port 2
huawei(config-mvlan1000)#quit
12. Save the data.
huawei(config)#save
B. The ONT does not need to be configured.
Leave a comment