No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - IP Multicast

AR500, AR510, AR531, AR550, AR1500, and AR2500 V200R010

This document describes the concepts and configuration procedures of IP Service features on the device, and provides the configuration examples.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Example for Configuring Multicast SSM Mapping

Example for Configuring Multicast SSM Mapping

Networking Requirements

As shown in Figure 9-8, RouterA connects to user hosts through a Layer 2 device RouterB. RouterA runs IGMPv3 and uses the Any-Source Multicast (ASM) model and Source-Specific Multicast (SSM) model to provide multicast services. User hosts HostA, HostB, and HostC on the network run IGMPv2 and do not support IGMPv3. The multicast sources Source1 and Source2 send multicast data to the multicast group 225.1.1.1, but the user hosts want to receive only the multicast data sent from Source1.

Figure 9-8  Networking diagram for the SSM mapping configuration

Configuration Roadmap

To meet the preceding requirements, configure SSM mapping on RouterB. The configuration roadmap is as follows:

  1. On RouterB, create a VLAN and add interfaces to the VLAN.

  2. Enable IGMP snooping globally and in the VLAN.

  3. Configure an IGMP snooping SSM policy to add the multicast address of the ASM mode to the SSM group address range.

  4. Configure SSM mapping to allow the users to receive only multicast data sent from the specified source.

Procedure

  1. Create a VLAN and add interfaces to the VLAN.

    <Huawei> system-view
    [Huawei] sysname RouterB
    [RouterB] vlan 10
    [RouterB-vlan10] quit
    [RouterB] interface ethernet 2/0/1
    [RouterB-Ethernet2/0/1] port hybrid pvid vlan 10
    [RouterB-Ethernet2/0/1] port hybrid untagged vlan 10
    [RouterB-Ethernet2/0/1] quit
    [RouterB] interface ethernet 2/0/3
    [RouterB-Ethernet2/0/3] port hybrid pvid vlan 10
    [RouterB-Ethernet2/0/3] port hybrid untagged vlan 10
    [RouterB-Ethernet2/0/3] quit

  2. Enable IGMP snooping.

    # Enable IGMP snooping globally.

    [RouterB] igmp-snooping enable

    # Enable IGMP snooping in VLAN 10.

    [RouterB] vlan 10
    [RouterB-vlan10] igmp-snooping enable
    [RouterB-vlan10] quit

  3. Configure an IGMP snooping SSM policy.

    # Create an ACL, and configure a rule that allows hosts to receive data of multicast group 225.1.1.1.

    [RouterB] acl number 2008
    [RouterB-acl-basic-2008] rule 5 permit source 225.1.1.1 0
    [RouterB-acl-basic-2008] quit
    

    # Apply the SSM mapping policy in the VLAN and treat the multicast group 225.1.1.1 as a member in the SSM groups.

    [RouterB] vlan 10 
    [RouterB-vlan10] igmp-snooping ssm-policy 2008
    

  4. Enable SSM mapping.

    # Configure RouterB to run IGMPv3, enable SSM mapping, and configure a mapping between the multicast group 225.1.1.1 and the source IP address 10.10.1.1.

    [RouterB-vlan10] igmp-snooping version 3
    [RouterB-vlan10] igmp-snooping ssm-mapping enable 
    [RouterB-vlan10] igmp-snooping ssm-mapping 225.1.1.1 32 10.10.1.1
    [RouterB-vlan10] quit

  5. Verify the configuration.

    # Check the IGMP snooping configuration in the VLAN.

    <RouterB> display igmp-snooping vlan configuration
     IGMP Snooping Configuration for VLAN 10
         igmp-snooping enable
         igmp-snooping version 3
         igmp-snooping ssm-mapping enable
         igmp-snooping ssm-policy 2008
         igmp-snooping ssm-mapping 225.1.1.1 255.255.255.255 10.10.1.1

    An SSM mapping policy has been configured in VLAN 10.

    # Check the Layer 2 multicast forwarding table.

    <RouterB> display l2-multicast forwarding-table vlan 10 
    VLAN ID : 10, Forwarding Mode : IP                                          
    ----------------------------------------------------------------------------
                         (Source, Group)    Interface                   Out-Vlan
    ----------------------------------------------------------------------------
                             Router-port    Ethernet2/0/3               10
                 (10.10.1.1, 225.1.1.1)     Ethernet2/0/1               10
                                            Ethernet2/0/3               10
    Total Group(s) : 1
    ----------------------------------------------------------------------------

    The command output shows that a mapping entry (10.10.1.1, 225.1 .1.1) has been generated on RouterB. The mapping entry indicates that the data is sent by Source1.

Configuration Files

  • RouterB configuration file

    #
     sysname RouterB
    #
    vlan batch 10
    #
    igmp-snooping enable
    #
    acl number 2008
     rule 5 permit source 225.1.1.1 0
    #
    vlan 10
     igmp-snooping enable
     igmp-snooping ssm-mapping enable
     igmp-snooping version 3
     igmp-snooping ssm-policy 2008
     igmp-snooping ssm-mapping 225.1.1.1 255.255.255.255 10.10.1.1
    #
    interface Ethernet2/0/1
     port hybrid pvid vlan 10
     port hybrid untagged vlan 10
    #
    interface Ethernet2/0/3
     port hybrid pvid vlan 10
     port hybrid untagged vlan 10 
    #
    return 
Translation
Download
Updated: 2019-08-09

Document ID: EDOC1100034230

Views: 129552

Downloads: 39

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next