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 Limit

Example for Configuring MLD Limit

Networking Requirements

On the IPv6 network shown in Figure 3-16, a large number of receiver hosts receive video streams in multicast mode. During prime time, many users watch video programs at the same time, consuming a lot of bandwidth. As a result, performance of network devices degrades, and multicast data cannot be sent to user hosts stably.

The number of video programs ordered by receiver hosts needs to be limited. A maximum of 50 MLD entries can be created on a router connected to the user network segments, and a maximum of 30 MLD entries can be created on both the interfaces connected to N1 and N2 network segments. When the number of programs ordered by users reaches the maximum value, users cannot order more programs, which ensures receive quality for ordered programs. Meanwhile, HostA connected to RouterA has subscribed to programs of group FF16::1 for a long time and requests to receive high-quality video streams of this group any time.

Figure 3-16  Network diagram for configuring MLD limit

Configuration Roadmap

To meet the preceding requirements, configure FF16::1 as a static multicast group on RouterA interface connected to the user network segment, and configure MLD limit and set the maximum number of multicast entries.

  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 multicast devices to forward video streams to receiver hosts in multicast mode, configure basic multicast functions on the multicast devices.

  3. To allow HostA to receive video streams from FF16::1 at any time, configure a static multicast group on the RouterA interface connected to the user network segment that HostA belongs to.

  4. To limit the number of programs ordered by hosts and flexibly control ordering, set the maximum number of MLD entries on each router. MLD limit ensures the program receive quality and does not limit the number of static multicast groups on the interface.

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 3000::12 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 2002::1 64
    [RouterA-GigabitEthernet2/0/0] ospfv3 100 area 0
    [RouterA-GigabitEthernet2/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
    

    # Configure the rendezvous point (RP). On RouterD, configure GE1/0/0 as a C-BSR and a C-RP.

    [RouterD] pim-ipv6
    [RouterD-pim6] c-bsr 2000::1
    [RouterD-pim6] c-rp 2000::1
    [RouterD-pim6] quit
    

    # On RouterA, enable MLD on GE1/0/0 connected to the user network segment. The configurations on RouterB and RouterC are similar to those on RouterA and are not mentioned here.

    [RouterA] interface gigabitethernet 1/0/0
    [RouterA-GigabitEthernet1/0/0] mld enable
    [RouterA-GigabitEthernet1/0/0] quit
    

  3. Configure a static multicast group on GE1/0/0 of RouterA.

    # Configure static multicast group at FF16::1 on GE1/0/0 of RouterA so that receiver hosts connected to GE1/0/0 can stably receive multicast data sent to multicast group FF16::1.

    [RouterA] interface gigabitethernet 1/0/0
    [RouterA-GigabitEthernet1/0/0] mld static-group FF16::1
    [RouterA-GigabitEthernet1/0/0] quit
    

  4. Set the maximum number of MLD groups on the last-hop router. The configurations on RouterB and RouterC are similar to those on RouterA and are not mentioned here.

    # Set the maximum number of MLD entries on RouterA to 50.

    [RouterA] mld global limit 50
    

    # Set the maximum number of MLD entries on GE1/0/0 of RouterA to 30.

    [RouterA] interface gigabitethernet 1/0/0
    [RouterA-GigabitEthernet1/0/0] mld limit 30 
    [RouterA-GigabitEthernet1/0/0] quit
    

  5. Verify the configuration.

    # Run the display mld interface command to check the MLD configuration and running status on each interface of the router. MLD information on GE1/0/0 of RouterA is as follows:

    <RouterA> display mld interface gigabitethernet 1/0/0
    Interface information
     GigabitEthernet1/0/0(FE80::200:5EFF:FE66:5100):
       MLD is enabled
       Current MLD version is 2
       MLD state: up 
       MLD group policy: none
       MLD limit: 30
       Value of query interval for MLD (negotiated): 125 s
       Value of query interval for MLD (configured): 125 s
       Value of other querier timeout for MLD: 0 s
       Value of maximum query response time for MLD: 10 s 
       Querier for MLD: FE80::200:5EFF:FE66:5100 (this router)
      Total 1 MLD Group reported 
    
    

    The command output shows that a maximum of 30 MLD entries can be created on GE1/0/0 of RouterA.

    # Run the display mld group interface gigabitethernet 1/0/0 static verbose command to check detailed information about the interface on which a static multicast group is configured.

    <RouterA> display mld group interface gigabitethernet 1/0/0 static verbose
    Static join group information
     Total 1 entry
      00001.(*, FF16::1)
          1.GigabitEthernet1/0/0
              State:             UP
              Reference Count:   1
              Multicast Boundary:NO
              Outgoing Interface:NO
    
    

    The command output shows that static multicast group FF16::1 is configured on GE1/0/0 of RouterA.

    # Run the display pim ipv6 routing-table command to check the IPv6 PIM-SM multicast routing table on each router.

    <RouterA> display pim ipv6 routing-table
     VPN-Instance: public net
     Total 1 (*, G) entry; 1 (S, G) entry 
    
     (*, FF16::1)
         RP: 2000::1
         Protocol: pim-sm, Flag: WC
         UpTime: 00:21:35 
         Upstream interface: GigabitEthernet2/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: static mld, UpTime: 00:21:35, Expires: - 
    
     (2003::5, FF16::1) 
         RP: 2000::1
         Protocol: pim-sm, Flag: SPT ACT
         UpTime: 00:42:46
         Upstream interface: GigabitEthernet2/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: pim-sm, UpTime: 00:21:35, Expires: -
    
    

    The command output shows that (*, FF16::1) and (2003::5, FF16::1) entries exist on RouterA, indicating that GE1/0/0 has joined group FF16::1, and can receive the multicast data sent from multicast source 2003::5 to group FF16::1.

Configuration Files

  • RouterA configuration file

    #
     sysname RouterA
    #
    ipv6
    #
    mld global limit 50 
    #
    multicast ipv6 routing-enable
    #
    ospfv3 100
     router-id 1.1.1.1
    #
    interface GigabitEthernet1/0/0
     ipv6 enable
     ipv6 address 3000::12/64
     ospfv3 100 area 0.0.0.0
     pim ipv6 sm
     mld enable
     mld limit 30 
     mld static-group FF16::1
    #
    interface GigabitEthernet2/0/0
     ipv6 enable
     ipv6 address 2002::1/64
     ospfv3 100 area 0.0.0.0
     pim ipv6 sm
    #
    return
  • RouterB configuration file

    #
     sysname RouterB
    #
    ipv6
    #
    mld global limit 50 
    #
    multicast ipv6 routing-enable
    #
    ospfv3 100
     router-id 2.2.2.2
    #
    interface GigabitEthernet1/0/0
     ipv6 enable
     ipv6 address 3001::10/64
     ospfv3 100 area 0.0.0.0
     pim ipv6 sm
     mld enable
     mld limit 30 
    #
    interface GigabitEthernet2/0/0
     ipv6 enable
     ipv6 address 2003::1/64
     ospfv3 100 area 0.0.0.0
     pim ipv6 sm
    #
    return
  • RouterC configuration file

    #
     sysname RouterC
    #
    ipv6
    #
    mld global limit 50 
    #
    multicast ipv6 routing-enable
    #
    ospfv3 100
     router-id 3.3.3.3
    #
    interface GigabitEthernet1/0/0
     ipv6 enable
     ipv6 address 3001::12/64
     ospfv3 100 area 0.0.0.0
     pim ipv6 sm
     mld enable
     mld limit 30 
    #
    interface GigabitEthernet2/0/0
     ipv6 enable
     ipv6 address 2004::1/64
     ospfv3 100 area 0.0.0.0
     pim ipv6 sm
    #
    return
  • RouterD configuration file

    #
     sysname RouterD
    #
    ipv6
    #
    multicast ipv6 routing-enable
    #
    ospfv3 100
     router-id 4.4.4.4
    #
    interface GigabitEthernet1/0/0
     ipv6 enable
     ipv6 address 2000::1/64
     ospfv3 100 area 0.0.0.0
     pim ipv6 sm
    #
    interface GigabitEthernet2/0/0
     ipv6 enable
     ipv6 address 2002::2/64
     ospfv3 100 area 0.0.0.0
     pim ipv6 sm
    #
    interface GigabitEthernet3/0/0
     ipv6 enable
     ipv6 address 2003::2/64
     ospfv3 100 area 0.0.0.0
     pim ipv6 sm
    #
    interface GigabitEthernet4/0/0
     ipv6 enable
     ipv6 address 2004::2/64
     ospfv3 100 area 0.0.0.0
     pim ipv6 sm
    #
    pim-ipv6
     c-bsr 2000::1
     c-rp 2000::1
    #
    return
Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069332

Views: 17914

Downloads: 42

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