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 8800, 7800, 6800, and 5800 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 Static Interfaces to Implement IPv6 Layer 2 Multicast

Example for Configuring Static Interfaces to Implement IPv6 Layer 2 Multicast

Networking Requirements

In Figure 10-8, the router connects to the user network through the Layer 2 switch on an IPv6 network, and the user-side VLANIF interface of the router has static MLD groups FF16::1 to FF16::5 configured and does not run MLD. There are three receivers on the user network: HostA, HostB, and HostC. HostA and HostB need to receive data from multicast groups FF16::1 to FF16::3 for a long time, whereas HostC needs to receive data from multicast groups FF16::4 and FF16::5 for a long time.

Figure 10-8 Network diagram for Layer 2 multicast implementation based on static group member ports and a static router port

Configuration Roadmap

To meet the requirement, configure static group member ports and a static router port on the Layer 2 device. The configuration roadmap is as follows:

  1. Create a VLAN and add interfaces to the VLAN.
  2. Enable MLD snooping globally and in a VLAN.
  3. Configure a static router port.
  4. Configure static member ports.

Procedure

  1. Create VLAN 10 and add interfaces to VLAN 10.

    <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 1/0/2
    [*Switch-10GE1/0/2] port default vlan 10
    [*Switch-10GE1/0/2] quit
    [*Switch] interface 10ge 1/0/3
    [*Switch-10GE1/0/3] port link-type trunk
    [*Switch-10GE1/0/3] port trunk allow-pass vlan 10
    [*Switch-10GE1/0/3] commit
    [~Switch-10GE1/0/3] quit

  2. Enable MLD snooping globally and in VLAN 10.

    # Enable MLD snooping globally.

    [~Switch] mld snooping enable

    # Enable MLD snooping in VLAN 10.

    [*Switch] vlan 10
    [*Switch-vlan10] mld snooping enable
    [*Switch-vlan10] commit
    [~Switch-vlan10] quit

  3. Configure a static router port.

    [~Switch] interface 10ge 1/0/3
    [~Switch-10GE1/0/3] mld snooping static-router-port vlan 10
    [*Switch-10GE1/0/3] commit
    [~Switch-10GE1/0/3] quit
    

  4. Configure static member ports.

    [~Switch] interface 10ge 1/0/1
    [~Switch-10GE1/0/1] mld snooping static-group group-address ff16::1 vlan 10
    [*Switch-10GE1/0/1] mld snooping static-group group-address ff16::2 vlan 10
    [*Switch-10GE1/0/1] mld snooping static-group group-address ff16::3 vlan 10
    [*Switch-10GE1/0/1] quit
    [*Switch] interface 10ge 1/0/2
    [*Switch-10GE1/0/2] mld snooping static-group group-address ff16::4 vlan 10
    [*Switch-10GE1/0/2] mld snooping static-group group-address ff16::5 vlan 10
    [*Switch-10GE1/0/2] commit
    [~Switch-10GE1/0/2] quit

  5. Verify the configuration.

    # Check information about the static router port on the Switch.

    [~Switch] display mld snooping router-port vlan 10
     Port Name                            UpTime        Expires       Flags
     --------------------------------------------------------------------------
     VLAN 10, 1 router-port(s)
     10GE1/0/3                            00h02m48s     --            STATIC

    The command output shows that 10GE1/0/3 becomes the static router port.

    # Check information about static member ports on the Switch.

    [~Switch] display mld snooping port-info vlan 10
     --------------------------------------------------------------------------------------
      Flag: S:Static     D:Dynamic     M:Ssm-mapping
            A:Active     P:Protocol    T:Trill
    (Source, Group)                       Port                                         Flag
     --------------------------------------------------------------------------------------
     VLAN 10, 5 Entry(s)
    (*, FF16::1)                                                                       P--
                                          10GE1/0/1                                    S--
                                                            1 port(s) include
    (*, FF16::2)                                                                       P--
                                          10GE1/0/1                                    S--
                                                            1 port(s) include
    (*, FF16::3)                                                                       P--
                                          10GE1/0/1                                    S--
                                                            1 port(s) include
    (*, FF16::4)                                                                       P--
                                          10GE1/0/2                                    S--
                                                            1 port(s) include
    (*, FF16::5)                                                                       P--
                                          10GE1/0/2                                    S--
                                                            1 port(s) include
     --------------------------------------------------------------------------------------

    The command output shows that 10GE1/0/1 on the Switch joins multicast groups FF16::1 to FF16::3 and 10GE1/0/2 on the Switch joins multicast groups FF16::4 and FF16::5.

    # Check the Layer 2 multicast forwarding table on the Switch.

    [~Switch] display multicast layer-2 ipv6 fib vlan 10
    --------------------------------------------------------------------------------
    Forwarding Mode: IP
    VLAN  Total                            (Source,Group)  Interface                
    --------------------------------------------------------------------------------
    10     5
                                             (*, FF16::1)  10GE1/0/1                   
                                                           10GE1/0/3                
                                             (*, FF16::2)  10GE1/0/1                   
                                                           10GE1/0/3                
                                             (*, FF16::3)  10GE1/0/1                   
                                                           10GE1/0/3                
                                             (*, FF16::4)  10GE1/0/2                   
                                                           10GE1/0/3                
                                             (*, FF16::5)  10GE1/0/2                   
                                                           10GE1/0/3                
    --------------------------------------------------------------------------------

    The command output shows that multicast groups FF16::1 to FF16::5 have generated forwarding entries on the Switch.

Configuration Files

  • Switch configuration file

    #
    sysname Switch
    #
    vlan batch 10
    #
    mld snooping enable
    #
    vlan 10
     mld snooping enable
    #
    interface 10GE1/0/1
     port default vlan 10
     mld snooping static-group group-address FF16::1 to FF16::3 vlan 10
    #
    interface 10GE1/0/2
     port default vlan 10
     mld snooping static-group group-address FF16::4 to FF16::5 vlan 10
    #
    interface 10GE1/0/3
     port link-type trunk
     port trunk allow-pass vlan 10
     mld snooping static-router-port vlan 10 
    #
    return
Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100075361

Views: 30752

Downloads: 36

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