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

NE40E V800R010C10SPC500 Configuration Guide - IP Multicast 01

This is NE40E V800R010C10SPC500 Configuration Guide - IP Multicast
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).
Configuring IPv4 User-Side Multicast

Configuring IPv4 User-Side Multicast

User-side multicast enables a BRAS to identify users that have joined or left a multicast group, implementing user-based multicast service control and management.

Usage Scenario

Conventional multicast cannot well support IPTV services on networks because it cannot identify users. Carriers need to have user-side multicast supported to identify users for better management. With user-side multicast, the BRAS can identify users in a multicast group and implement refined user service control and management.

Pre-configuration Tasks

Before configuring user-side multicast, complete the tasks shown in Figure 14-2. For configuration details, see Table 14-1.

Figure 14-2 Pre-configuration tasks for user-side multicast configurations

Table 14-1 Description of each pre-configuration task

Item

Description

Configure an IPv4 Address Pool to Assign IP Addresses to Online Users.

Configure Authentication, Authorization and Accounting (AAA) schemes.

Configure a Domain to Manage Online Users.

Configure the PPPoE or IPoE access mode.
  • Configure the PPPoE access mode.

  • Configure the IPoE access mode.

Configure basic multicast functions.
  1. Enable multicast routing.

  2. Enable PIM-SM.

  3. Enable IGMP.

Configure a BAS interface.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number [ .subinterface-number ]

    The interface or sub-interface view is displayed.

    The interface can be a main, a common sub-interface, or a QinQ sub-interface.

  3. Run bas

    A BAS interface is created, and the BAS interface view is displayed.

  4. (Optional) Run igmp report loose check

    The device is configured not to check the source MAC address and IP address of a received IGMP Report message.

  5. Configure a multicast replication mode.

    NOTE:

    By default, multicast replication by interface is used.

    • To use multicast replication by interface + VLAN, run the multicast copy by-vlan command.

      In a scenario where multiple users order a multicast program through the same interface and VLAN and MLD snooping is enabled on the downstream Layer 2 device, after multicast replication by interface + VLAN is configured, the BRAS replicates only one copy of a multicast traffic flow for the downstream Layer 2 device. Then, the downstream Layer 2 device replicates multicast data packets as needed. This replication mode therefore reduces the burden on the BRAS and the bandwidth consumption. This mode applies to scenarios where user packets carry VLAN tags and inter-VLAN traffic forwarding is not needed.

    • To use multicast replication by user (session), run the multicast copy by-session command.

      In a scenario where the downstream Layer 2 device is incapable of MLD snooping, after multicast replication by user is configured, the BRAS replicates multicast packets for each authenticated user. This mode prevents the BRAS from replicating multicast packets for users who fail to be authenticated, thus implementing refined user service control and management.

    • To use multicast replication by multicast VLAN, perform the following steps:

      1. Run the quit command to return to the main or sub-interface view.

      2. Run the multicast user-aggregation command to configure multicast replication by multicast VLAN.

        This replication mode applies to scenarios where users have joined multicast VLANs. In this mode, the BRAS replicates multicast packets based on multicast VLANs, and the downstream Layer 2 device replicates multicast packets based on user VLANs. For users who go online through the same interface and join the same multicast program, the BRAS replicates only one copy of a multicast traffic flow to the downstream Layer 2 device, irrespective of whether the users belong to the same VLAN. The downstream Layer 2 device then replicates multicast packets based on user VLANs. This replication mode reduces the burden on the BRAS and the bandwidth consumption. This mode applies to scenarios where user packets carry VLAN tags and inter-VLAN traffic forwarding is needed.

    NOTE:

    If all of the preceding multicast replication modes are configured, their priorities are as follows in descending order: replication by interface + VLAN, replication by user, replication by multicast VLAN, and replication by interface.

  6. Run commit

    The configuration is committed.

Checking the Configurations

Run the following commands to display statistics about IGMP messages:

  • Run the display igmp statistics command to display statistics about IGMP messages of all users.
    <HUAWEI> display igmp statistics all-user
     The data of user-id 1280 IGMP statistics:
     -----------------------------------------------------------
       Received successful V1 report packets number                : 0
       Received unsuccessful V1 report packets number              : 0
       Received successful V2 report packets number                : 108
       Received unsuccessful V2 report packets number              : 0
       Received V2 leave packets number                            : 0
       Received successful V3 report packets number                : 0
       Received unsuccessful V3 report packets number              : 0
       Sent query packets number                                   : 19
       Received invalid IGMP packets                               : 0
     The data of user-id 1281 IGMP statistics:
     -----------------------------------------------------------
       Received successful V1 report packets number                : 0
       Received unsuccessful V1 report packets number              : 0
       Received successful V2 report packets number                : 108
       Received unsuccessful V2 report packets number              : 0
       Received V2 leave packets number                            : 0
       Received successful V3 report packets number                : 0
       Received unsuccessful V3 report packets number              : 0
       Sent query packets number                                   : 19
       Received invalid IGMP packets                               : 0 
  • Run the display igmp-snooping bas invalid-packet command to display statistics about invalid IGMP messages on BAS interfaces.
    <HUAWEI> display igmp-snooping bas invalid-packet all-user
    
               Statistics of invalid packets for user-id 1280:
    --------------------------------------------------------------------
    IGMP Snooping General invalid packet:
    Fault Length             : 0           Invalid IGMP Type        : 0
    Bad Checksum             : 0           Fault RouterAlert        : 0
    
    IGMP Snooping Query invalid packet:
    Invalid Multicast Source : 0           Invalid Multicast Group  : 0
    
    IGMP Snooping Leave invalid packet:
    Invalid IGMP Version     : 0           Invalid Multicast Group  : 0
    
    IGMP Snooping Report invalid packet:
    Invalid IGMP Version     : 0           Invalid Multicast Group  : 0
    Invalid Multicast Source : 0
    --------------------------------------------------------------------
               Statistics of invalid packets for user-id 1281:
    --------------------------------------------------------------------
    IGMP Snooping General invalid packet:
    Fault Length             : 0           Invalid IGMP Type        : 0
    Bad Checksum             : 0           Fault RouterAlert        : 0
    
    IGMP Snooping Query invalid packet:
    Invalid Multicast Source : 0           Invalid Multicast Group  : 0
    
    IGMP Snooping Leave invalid packet:
    Invalid IGMP Version     : 0           Invalid Multicast Group  : 0
    
    IGMP Snooping Report invalid packet:
    Invalid IGMP Version     : 0           Invalid Multicast Group  : 0
    Invalid Multicast Source : 0
    --------------------------------------------------------------------    

Run the following command to display information about users and the multicast programs they join:

  • Run the display multicast user-id command to display information about multicast programs that a specified user joined on a BAS interface.
    <HUAWEI> display multicast user-id 1408
      User information:
      User ID             :1408
      User IPv4 address   :16.0.0.152
      Gateway IPv4 address:16.0.0.1
      BRAS interface      :GigabitEthernet1/0/0
      User MAC-address    :00c1-01d1-0101
      MAX program list    :4
    
    
      User order program:
      Group IP           Source IP          
      225.0.0.1          0.0.0.0            
      225.0.0.2          0.0.0.0            
      225.0.0.3          0.0.0.0            
    
    
      Total:3
  • Run the display multicast group-ip command to display information about users of a specified multicast group.
    <HUAWEI> display multicast group-ip 225.0.0.1 out-interface GigabitEthernet 1/0/0
      User ID    User IP                     User type    Interface                                                       
      1408       16.0.0.152                  Local        GigabitEthernet1/0/0
      1410       16.0.0.150                  Local        GigabitEthernet1/0/0
    
    
      Local user number :2
      Remote user number:0
      Total user number :2
  • Run the display multicast user-info command to display information about the users and the multicast programs they join on a specified interface or interface board.
    <HUAWEI> display multicast user-info slot 1
     UserID  :1280     Interface:GigabitEthernet1/0/0
     UserType:Local
     UserIP:4.0.218.156 
     Source Address:*
     Group  Address:225.0.0.1
    
     UserID  :1281     Interface:GigabitEthernet1/0/0
     UserType:Local
     UserIP:4.0.218.155 
     Source Address:*
     Group  Address:225.0.0.1
    
    ------------------------------------------------------------------------------
      Local user number :2
      Remote user number:0
      Total user number :2   
  • Run the display igmp-snooping bas port-info command to display information about programs and their users on a BAS interface.
    <HUAWEI> display igmp-snooping bas port-info interface GigabitEthernet 1/0/0.1
    VPN-Instance: public net
      Interface GigabitEthernet1/0/0.1, 1 Group(s)
      (Source, Group)                          UserID LiveTime    Mode   Flag
      ---------------------------------------------------------------------------
      (*, 225.0.0.1)                           1280   00:56:06    IN     -D-
                                               1281   00:56:06    IN     -D-     
  • Run the display igmp-snooping bas group-info command to display information about multicast groups that a specified user joins on a BAS interface.
    <HUAWEI> display igmp-snooping bas group-info GigabitEthernet 1/0/0.1 user-id 1280
    Group 225.0.0.1 information:
     Create time: 00:29:21
     Expire time: 00:02:07
     Group timer: Exist
     Retran count: 0
     Last member query: No
     Router filter mode: Exclude
     Compat mode: V2
     V1 host timer: Not exist
     V2 host timer: Not exist
     Source last member query: No
     Last member query timer: Not exist

Run the following commands to display Protocol Independent Multicast (PIM) entries and multicast routing entries:

  • Run the display pim routing-table command to display information about PIM routing entries.
    <HUAWEI> display pim routing-table
     VPN-Instance: public net
     Total 1 (*, G) entry; 1 (S, G) entry
    
     (*, 225.0.0.1)
         RP: NULL
         Protocol: pim-sm, Flag: WC NIIF
         UpTime: 01:37:51
         Upstream interface: NULL
             Upstream neighbor: NULL
             RPF prime neighbor: NULL
         Downstream interface(s) information:
         Total number of downstreams: 1
            1: GigabitEthernet1/0/0(bas)
                 Protocol: igmp, UpTime: 01:37:51, Expires: -
    
     (10.1.1.100, 225.0.0.1)
         RP: NULL
         Protocol: pim-sm, Flag: SPT LOC ACT
         UpTime: 04:34:52
         Upstream interface: GigabitEthernet1/0/1
             Upstream neighbor: NULL
             RPF prime neighbor: NULL
         Downstream interface(s) information:
         Total number of downstreams: 1
            1: GigabitEthernet1/0/0(bas)
                 Protocol: pim-sm, UpTime: 01:37:51, Expires: -  
  • Run the display multicast routing-table command to display information about multicast routing entries.
    Multicast routing table of VPN-Instance: public net
     Total 1 entry
    
     00001. (10.1.1.100, 225.0.0.1)
           Uptime: 02:23:10
           Upstream Interface: GigabitEthernet1/0/1
           List of 1 downstream interface
               1: GigabitEthernet1/0/0(bas) 
Translation
Download
Updated: 2019-01-03

Document ID: EDOC1100055017

Views: 44206

Downloads: 97

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