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

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

This document provides the basic concepts, configuration procedures, and configuration examples of the interfaces supported by the device.
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 MLD SSM Mapping

Example for Configuring MLD SSM Mapping

Networking Requirements

As shown in Figure 3-15, IPv6 PIM-SM is running on the IPv6 multicast network and SSM mode is configured to provide IPv6 multicast services. GE1/0/0 on RouterD connected to the Receiver network segment runs MLDv2. Receiver runs MLDv1 and cannot be upgraded to MLDv2. Therefore, you cannot specify the multicast source for Receiver when Receiver joins a multicast group. The range of SSM group addresses on the network is FF3E::/64. Source1 and Source2 send multicast data to the multicast groups with IPv6 addresses within this range.

The user needs to obtain the SSM service and wants to receive multicast data only from Source1 and Source3. Multicast data from Source2 is discarded.

Figure 3-15  Network diagram for configuring MLD SSM mapping

Configuration Roadmap

To meet the preceding requirements, configure MLD SSM mapping on RouterD connected to Receiver.

  1. To ensure that data sent from multicast sources can be correctly forwarded to the user network segments, configure an IPv6 unicast routing protocol on the network to implement IP interworking. Multicast routing protocols work depending on unicast routing protocols.

  2. To enable the routers to forward video streams to Receiver in multicast mode, configure basic multicast functions on the routers.

  3. To enable Receiver to receive multicast data from specified multicast sources, enable MLD SSM mapping on RouterD and configure the mapping rules.

Procedure

  1. Configure IPv6 addresses for interfaces and configure an IPv6 unicast routing protocol on the interfaces.

    # Configure an IPv6 address and subnet mask for the interface on each router. Configure Open Shortest Path First Version 3 (OSPFv3) on the routers to implement IP interworking and dynamic route update. The configurations on RouterB, RouterC, and RouterD are similar to those on RouterA and are not mentioned here.

    <Huawei> system-view
    [Huawei] sysname RouterA
    [RouterA] ipv6
    [RouterA] ospfv3 100
    [RouterA-ospfv3-100] router-id 1.1.1.1
    [RouterA-ospfv3-100] quit
    [RouterA] interface gigabitethernet 1/0/0
    [RouterA-GigabitEthernet1/0/0] ipv6 enable
    [RouterA-GigabitEthernet1/0/0] ipv6 address 2001::2 64
    [RouterA-GigabitEthernet1/0/0] ospfv3 100 area 0
    [RouterA-GigabitEthernet1/0/0] quit
    [RouterA] interface gigabitethernet 2/0/0
    [RouterA-GigabitEthernet2/0/0] ipv6 enable
    [RouterA-GigabitEthernet2/0/0] ipv6 address 3001::1 64
    [RouterA-GigabitEthernet2/0/0] ospfv3 100 area 0
    [RouterA-GigabitEthernet2/0/0] quit
    [RouterA] interface gigabitethernet 3/0/0
    [RouterA-GigabitEthernet3/0/0] ipv6 enable
    [RouterA-GigabitEthernet3/0/0] ipv6 address 3003::1 64
    [RouterA-GigabitEthernet3/0/0] ospfv3 100 area 0
    [RouterA-GigabitEthernet3/0/0] quit
    

  2. Configure the basic IPv6 multicast functions on each router.

    # Enable IPv6 multicast on RouterA and enable IPv6 PIM-SM on all its interfaces. The configurations on RouterB, RouterC, and RouterD are similar to those on RouterA and are not mentioned here.

    [RouterA] multicast ipv6 routing-enable
    [RouterA] interface gigabitethernet 1/0/0
    [RouterA-GigabitEthernet1/0/0] pim ipv6 sm
    [RouterA-GigabitEthernet1/0/0] quit
    [RouterA] interface gigabitethernet 2/0/0
    [RouterA-GigabitEthernet2/0/0] pim ipv6 sm
    [RouterA-GigabitEthernet2/0/0] quit
    [RouterA] interface gigabitethernet 3/0/0
    [RouterA-GigabitEthernet3/0/0] pim ipv6 sm
    [RouterA-GigabitEthernet3/0/0] quit
    

    # On RouterD, enable MLDv2 on GE1/0/0.

    [RouterD] interface gigabitethernet 1/0/0
    [RouterD-GigabitEthernet1/0/0] mld enable
    [RouterD-GigabitEthernet1/0/0] mld version 2
    [RouterD-GigabitEthernet1/0/0] quit
    

  3. Configure MLD SSM mapping and mapping rules.

    # Set the range of SSM group addresses to FF3E::/64 on all routers. The configurations on RouterB, RouterC, and RouterD are similar to those on RouterA and are not mentioned here.

    [RouterA] acl ipv6 number 2000
    [RouterA-acl6-basic-2000] rule permit source ff3e::/64
    [RouterA-acl6-basic-2000] quit
    [RouterA] pim-ipv6
    [RouterA-pim6] ssm-policy 2000
    [RouterA-pim6] quit
    

    # On RouterD, enable MLD SSM mapping on GE1/0/0.

    [RouterD] interface gigabitethernet 1/0/0
    [RouterD-GigabitEthernet1/0/0] mld ssm-mapping enable
    [RouterD-GigabitEthernet1/0/0] quit
    

    # On RouterD, map multicast groups within the range of FF3E::/64 to Source1 and Source3.

    [RouterD] mld
    [RouterD-mld] ssm-mapping ff3e:: 64 2001::1
    [RouterD-mld] ssm-mapping ff3e:: 64 2003::1
    [RouterD-mld] quit
    

  4. Verify the configuration.

    # Run the display mld ssm-mapping group command on RouterD to check mapping between multicast sources and multicast group addresses.

    <RouterD> display mld ssm-mapping group
    MLD SSM-Mapping conversion table
     Group: FF3E::/64 
      Number of Source(s): 2
         2001::1
         2003::1
    
    

    The command output shows that multicast groups within the range of FF3E::/64 are mapped to Source1 and Source3.

    # Run the display mld group ssm-mapping verbose command to check detailed information about all multicast group entries established with SSM mapping.

    <RouterD> display mld group ssm-mapping verbose
    Total entry on this router: 1
    Interface group report information of VPN-Instance: public net
     Limited entry of this VPN-Instance: - 
     GigabitEthernet1/0/0(FE80::4E1F:CCFF:FE47:C8A0):
      Total entry on this interface: 1 
      Limited entry on this interface: - 
      Total 1 MLD SSM-Mapping Group reported
       Group: FF3E::1
         Uptime: 00:53:02
         Expires: 00:04:20
         Last reporter: 2004::1
         Last-listener-query-counter: 0
         Last-listener-query-timer-expiry: off
         Group mode: exclude
         Version1-host-present-timer-expiry: 00:04:20
    
    

    The command output shows that Receiver has joined multicast group with the address of FF3E::1.

    # Run the display pim ipv6 routing-table command to check the IPv6 PIM-SM multicast routing table on each router. The multicast routing table on RouterD is as follows:

    <RouterD> display pim ipv6 routing-table
    VPN-Instance: public net
     Total 2 (S, G) entries
    
     (2001::1, FF3E::1)
         Protocol: pim-ssm, Flag: SG_RCVR
         UpTime: 01:23:43
         Upstream interface: GigabitEthernet3/0/0
             Upstream neighbor: FE80::7A1D:BAFF:FECD:909D
             RPF prime neighbor: FE80::7A1D:BAFF:FECD:909D
         Downstream interface(s) information:
         Total number of downstreams: 1
             1: GigabitEthernet1/0/0
                 Protocol: ssm-map, UpTime: 01:23:43, Expires: - 
    
     (2003::1, FF3E::1) 
         Protocol: pim-ssm, Flag: SG_RCVR
         UpTime: 01:23:43 
         Upstream interface: GigabitEthernet2/0/0
             Upstream neighbor: FE80::A01:100:1
             RPF prime neighbor: FE80::A01:100:1
         Downstream interface(s) information:
         Total number of downstreams: 1
             1: GigabitEthernet1/0/0
                 Protocol: ssm-map, UpTime: 01:23:43, Expires: - 
    
    

    The command output shows that (2001::1, FF3E::1) and (2003::1, FF3E::1) entries exist on RouterD and the protocol type is ssm-map, indicating that GE1/0/0 has joined the multicast group with the address of FF3E::1 using SSM mapping. After multicast sources 2001::1 and 2003::1 send multicast data to FF3E::1, RouterD receives the multicast data from the two multicast sources through GE3/0/0 and GE2/0/0 respectively.

Configuration Files

  • RouterA configuration file

    #
     sysname RouterA
    #
    acl ipv6 number 2000
     rule 5 permit source FF3E::/64
    #
    ipv6
    #
    multicast ipv6 routing-enable
    #
    ospfv3 100
     router-id 1.1.1.1
    #
    interface GigabitEthernet1/0/0
     ipv6 enable
     ipv6 address 2001::2/64
     ospfv3 100 area 0.0.0.0
     pim ipv6 sm
    #
    interface GigabitEthernet2/0/0
     ipv6 enable
     ipv6 address 3001::1/64
     ospfv3 100 area 0.0.0.0
     pim ipv6 sm
    #
    interface GigabitEthernet3/0/0
     ipv6 enable
     ipv6 address 3003::1/64
     ospfv3 100 area 0.0.0.0
     pim ipv6 sm
    #
    pim-ipv6
     ssm-policy 2000
    #
    return
  • RouterB configuration file

    #
     sysname RouterB
    #
    acl ipv6 number 2000
     rule 5 permit source FF3E::/64 
    #
    ipv6
    #
    multicast ipv6 routing-enable
    #
    ospfv3 100
     router-id 2.2.2.2
    #
    interface GigabitEthernet1/0/0
     ipv6 enable
     ipv6 address 2002::2/64
     ospfv3 100 area 0.0.0.0
     pim ipv6 sm
    #
    interface GigabitEthernet2/0/0
     ipv6 enable
     ipv6 address 3001::2/64
     ospfv3 100 area 0.0.0.0
     pim ipv6 sm
    #
    interface GigabitEthernet3/0/0
     ipv6 enable
     ipv6 address 3002::1/64
     ospfv3 100 area 0.0.0.0
     pim ipv6 sm
    #
    pim-ipv6
     ssm-policy 2000
    #
    return
  • RouterC configuration file

    #
     sysname RouterC
    #
    acl ipv6 number 2000
     rule 5 permit source FF3E::/64 
    #
    ipv6
    #
    multicast ipv6 routing-enable
    #
    ospfv3 100
     router-id 3.3.3.3
    #
    interface GigabitEthernet1/0/0
     ipv6 enable
     ipv6 address 2003::2/64
     ospfv3 100 area 0.0.0.0
     pim ipv6 sm
    #
    interface GigabitEthernet2/0/0
     ipv6 enable
     ipv6 address 3004::1/64
     ospfv3 100 area 0.0.0.0
     pim ipv6 sm
    #
    interface GigabitEthernet3/0/0
     ipv6 enable
     ipv6 address 3002::2/64
     ospfv3 100 area 0.0.0.0
     pim ipv6 sm
    #
    pim-ipv6
     ssm-policy 2000
    #
    return
  • RouterD configuration file

    #
     sysname RouterD
    #
    acl ipv6 number 2000
     rule 5 permit source FF3E::/64 
    #
    ipv6
    #
    multicast ipv6 routing-enable
    #
    ospfv3 100
     router-id 4.4.4.4
    #
    interface GigabitEthernet1/0/0
     ipv6 enable
     ipv6 address 2004::2/64
     ospfv3 100 area 0.0.0.0
     pim ipv6 sm
     mld enable
     mld ssm-mapping enable    
    #
    interface GigabitEthernet2/0/0
     ipv6 enable
     ipv6 address 3004::2/64
     ospfv3 100 area 0.0.0.0
     pim ipv6 sm
    #
    interface GigabitEthernet3/0/0
     ipv6 enable
     ipv6 address 3003::2/64
     ospfv3 100 area 0.0.0.0
     pim ipv6 sm
    #
    mld
     ssm-mapping FF3E:: 64 2001::1
     ssm-mapping FF3E:: 64 2003::1
    #
    pim-ipv6
     ssm-policy 2000
    #
    return
Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069332

Views: 21827

Downloads: 59

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