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).
Example for Configuring User-Side Multicast for PPPoE Access Users

Example for Configuring User-Side Multicast for PPPoE Access Users

This section provides an example for configuring user-side multicast for PPPoE access users.

Networking Requirements

On the network shown in Figure 14-6, users (with PC1 and PC2) are PPPoE access users, and they want to join multicast programs. Configure user-side multicast to implement user-based on-demand multicast data forwarding.

Figure 14-6 Configuring user-side multicast for PPPoE access users
NOTE:

Interface 1 and interface 2 in this example stand for GE 1/0/0 and GE 1/0/1.1, respectively.



Configuration Roadmap

The configuration roadmap is as follows:

  1. Configure an IPv4 address pool.

  2. Configure Authentication, Authorization and Accounting (AAA) schemes.

  3. Configure a domain.

  4. Configure the PPPoE access mode:

    1. Configure a virtual template (VT) interface.

    2. Bind a VT to an interface.

    3. Bind a sub-interface to a VLAN.

    4. Configure a BAS interface and specify a user access type for the interface. (The interface can be a main, a common sub-interface, or a QinQ sub-interface. A common sub-interface is used in the example.)

  5. Enable session-based multicast traffic replication on a BAS interface.

  6. Configure basic multicast functions:

    1. Enable multicast routing.

    2. Enable PIM-SM on all BRAS interfaces.

    3. Enable IGMP on the BRAS interface connected to users.

Data Preparation

  • IPv4 address pool

  • Authentication and accounting schemes

  • User domain
  • VT number
  • BAS interface parameters

Procedure

  1. Configure an IPv4 address pool.

    <HUAWEI> system-view
    [HUAWEI] sysname BRAS
    [*HUAWEI] commit
    [~BRAS] ip pool ipv4 bas local
    [*BRAS-ip-pool-ipv4] gateway 4.0.0.1 255.255.0.0
    [*BRAS-ip-pool-ipv4] section 1 4.0.0.1 4.0.255.255
    [*BRAS-ip-pool-ipv4] quit
    [*BRAS] commit

  2. Configure AAA schemes.

    # Configure an authentication scheme.

    [~BRAS] aaa
    [*BRAS-aaa] authentication-scheme none
    [*BRAS-aaa-authen-none] authentication-mode none
    [*BRAS-aaa-authen-none] quit
    [*BRAS-aaa] commit

    # Configure an accounting scheme.

    [~BRAS-aaa] accounting-scheme none
    [*BRAS-aaa-accounting-none] accounting-mode none
    [*BRAS-aaa-accounting-none] quit
    [*BRAS-aaa] quit
    [*BRAS] commit

  3. Configure a domain.

    [~BRAS] aaa
    [*BRAS-aaa] domain ipv4
    [*BRAS-aaa-domain-ipv4] authentication-scheme none
    [*BRAS-aaa-domain-ipv4] accounting-scheme none
    [*BRAS-aaa-domain-ipv4] ip-pool ipv4
    [*BRAS-aaa-domain-ipv4] quit
    [*BRAS-aaa] quit
    [*BRAS] commit

  4. Configure a VT interface.

    [~BRAS] interface virtual-template 100
    [*BRAS-Virtual-Template100] ppp authentication-mode chap
    [*BRAS-Virtual-Template100] quit
    [*BRAS] commit

  5. Bind a sub-interface to a VLAN and specify a VT interface for the sub-interface.

    [~BRAS] interface gigabitethernet 1/0/1.1
    [*BRAS-GigabitEthernet1/0/1.1] user-vlan 2
    [*BRAS-GigabitEthernet1/0/1.1-vlan-2-2] quit
    [*BRAS-GigabitEthernet1/0/1.1] pppoe-server bind virtual-template 100
    [*BRAS-GigabitEthernet1/0/1.1] commit

  6. Configure a BAS interface and specify a user access type for the interface.

    [~BRAS-GigabitEthernet1/0/1.1] bas
    [*BRAS-GigabitEthernet1/0/1.1-bas] access-type layer2-subscriber default-domain authentication ipv4
    [*BRAS-GigabitEthernet1/0/1.1-bas] quit
    [*BRAS-GigabitEthernet1/0/1.1] commit
    # Run the display access-user domain ipv4 command to display online user information. The command output shows that users with ID 1280 and 1281 accessed the Internet through PPPoE.
    [~BRAS] display  access-user domain ipv4
      ------------------------------------------------------------------------------
      UserID  Username                Interface      IP address       MAC
              Vlan          IPv6 address             Access type
      ------------------------------------------------------------------------------
      1280    user@ipv4               GE1/0/1.1        4.0.255.251      000a-0101-0101
              -/-           -                        PPPoE
      1281    user@ipv4               GE1/0/1.1        4.0.255.250      000b-0101-0101
              -/-           -                        PPPoE
      ------------------------------------------------------------------------------
      Normal users                       : 2
      RUI Local users                    : 0
      RUI Remote users                   : 0
      Total users                        : 2      

  7. Enable session-based multicast traffic replication on a BAS interface.

    [~BRAS-GigabitEthernet1/0/1.1] bas
    [*BRAS-GigabitEthernet1/0/1.1-bas] multicast copy by-session
    [*BRAS-GigabitEthernet1/0/1.1-bas] quit
    [*BRAS-GigabitEthernet1/0/1.1] quit
    [*BRAS] commit

  8. Configure basic multicast functions.

    [~BRAS] multicast routing-enable
    [*BRAS] interface gigabitethernet 1/0/0
    [*BRAS-GigabitEthernet1/0/0] undo shutdown
    [*BRAS-GigabitEthernet1/0/0] ip address 10.1.1.1 255.255.255.0
    [*BRAS-GigabitEthernet1/0/0] pim sm
    [*BRAS-GigabitEthernet1/0/0] quit
    [*BRAS] commit
    [~BRAS] interface gigabitethernet 1/0/1.1
    [*BRAS-GigabitEthernet1/0/1.1] pim sm
    [*BRAS-GigabitEthernet1/0/1.1] igmp enable
    [*BRAS-GigabitEthernet1/0/1.1] quit
    [*BRAS] commit

  9. Verify the configuration.

    # Run the display multicast group-ip command to display information about users of a specified multicast group. The command output shows that users with ID 1280 and 1281 joined a multicast program whose group address is 225.0.0.1.
    [~BRAS] display multicast group-ip 225.0.0.1 out-interface GigabitEthernet 1/0/1.1
      User ID    User IP                     User type    Interface
    
      1280       4.0.255.251                 Local        GigabitEthernet1/0/1.1
      1281       4.0.255.250                 Local        GigabitEthernet1/0/1.1
    
      Local user number :2
      Remote user number:0
      Total user number :2 
    # Run the display multicast user-id command to display information about the multicast programs that a specified user joined on a BAS interface.
    [~BRAS] display multicast user-id 1280
      User information:
      User ID             :1280
      User IPv4 address   :4.0.255.251
      Gateway IPv4 address:4.0.0.1
      BRAS interface      :GigabitEthernet1/0/1.1
      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
    
    
      Total:1
    # Run the display pim routing-table command to display PIM routing entries.
    [~BRAS] 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/1(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/0
             Upstream neighbor: NULL
             RPF prime neighbor: NULL
         Downstream interface(s) information:
         Total number of downstreams: 1
            1: GigabitEthernet1/0/1(bas)
                 Protocol: pim-sm, UpTime: 01:37:51, Expires: -  

Configuration Files

#
sysname BRAS
#
multicast routing-enable
#
ip pool ipv4 bas local
 gateway 4.0.0.1 255.255.0.0
 section 1 4.0.0.1 4.0.255.255
#
aaa
 #
 authentication-scheme none
  authentication-mode none
 #
 accounting-scheme none
  accounting-mode none
 #
 domain ipv4
  authentication-scheme none
  accounting-scheme none
  ip-pool ipv4
#
interface Virtual-Template100
 ppp authentication-mode chap
#
interface GigabitEthernet1/0/0
 undo shutdown
 ip address 10.1.1.1 255.255.255.0
 pim sm
#
interface GigabitEthernet1/0/1.1
 user-vlan 2 
 pppoe-server bind Virtual-Template 100
 pim sm
 igmp enable
 bas
 #
  access-type layer2-subscriber default-domain authentication ipv4
  multicast copy by-session
#
return  
Translation
Download
Updated: 2019-01-03

Document ID: EDOC1100055017

Views: 44283

Downloads: 97

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