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

Configuration Guide - IP Multicast

CloudEngine 12800 and 12800E V200R005C10

This document describes the configurations of IP multicast, including IP multicast basics, IGMP, MLD, PIM (IPv4), PIM (IPv6), MSDP, multicast VPN, multicast route management (IPv4), multicast route management (IPv6), IGMP snooping, MLD snooping, static multicast MAC address, multicast VLAN, multicast network management.
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 IGMP Snooping SSM Mapping

Example for Configuring IGMP Snooping SSM Mapping

Networking Requirements

As shown in Figure 10-11, Router connects to user hosts through a Layer 2 Switch. Router 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 10-11 Networking diagram for SSM mapping configuration

Configuration Roadmap

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

  1. On the Switch, 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 Switch
    [*HUAWEI] commit
    [~Switch] vlan 10
    [*Switch-vlan10] quit
    [*Switch] interface 10ge 1/0/1
    [*Switch-10GE1/0/1] port default vlan 10
    [*Switch-10GE1/0/1] quit
    [*Switch] interface 10ge 3/0/3
    [*Switch-10GE3/0/3] port link-type trunk
    [*Switch-10GE3/0/3] port trunk allow-pass vlan 10
    [*Switch-10GE3/0/3] commit
    [~Switch-10GE3/0/3] quit

  2. Enable IGMP snooping.

    # Enable IGMP snooping globally.

    [~Switch] igmp snooping enable

    # Enable IGMP snooping in VLAN 10.

    [*Switch] vlan 10
    [*Switch-vlan10] igmp snooping enable
    [*Switch-vlan10] commit
    [~Switch-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.

    [~Switch] acl number 2008
    [*Switch-acl4-basic-2008] rule 5 permit source 225.1.1.1 0
    [*Switch-acl4-basic-2008] commit
    [~Switch-acl4-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.

    [~Switch] vlan 10 
    [~Switch-vlan10] igmp snooping ssm-policy 2008
    [*Switch-vlan10] commit

  4. Enable SSM mapping.

    # Configure the Switch 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.

    [~Switch-vlan10] igmp snooping version 3
    [*Switch-vlan10] igmp snooping ssm-mapping enable 
    [*Switch-vlan10] igmp snooping ssm-mapping 225.1.1.1 32 10.10.1.1
    [*Switch-vlan10] commit
    [~Switch-vlan10] quit

  5. Verify the configuration.

    # Check the IGMP snooping configuration in the VLAN.

    [~Switch] display igmp snooping vlan configuration
     IGMP Snooping Configuration for VLAN 10
         igmp snooping enable
         igmp snooping version 3
         igmp snooping ssm-policy 2008
         igmp snooping ssm-mapping enable
         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.

    [~Switch] display multicast layer-2 ip fib vlan 10
    -------------------------------------------------------------------------------- 
    Forwarding Mode: IP 
    VLAN  Total                      (Source,Group)  Interface
    -------------------------------------------------------------------------------- 
    10     1 
                             (10.10.1.1, 225.1.1.1)  10GE1/0/1
                                                     10GE3/0/3
    -------------------------------------------------------------------------------- 

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

Configuration Files

  • Switch configuration file

    #
    sysname Switch
    #
    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 version 3
     igmp snooping ssm-policy 2008
     igmp snooping ssm-mapping enable
     igmp snooping ssm-mapping 225.1.1.1 255.255.255.255 10.10.1.1
    #
    interface 10GE1/0/1
     port default vlan 10
    #
    interface 10GE3/0/3
     port link-type trunk
     port trunk allow-pass vlan 10 
    #
    return 
Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100074724

Views: 38042

Downloads: 13

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