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 Associating a Multicast VLAN with Specified User VLANs

Example for Associating a Multicast VLAN with Specified User VLANs

This section provides an example for associating a multicast VLAN with specified user VLANs.

Context

On the network shown in Figure 18-22, Device A's GE 1/0/1 connects to Device B, and Device A's GE 1/0/2 and GE 1/0/3 connect to VLAN 100 and VLAN 200 respectively. Users in VLAN 100 and VLAN 200 request data from the same multicast source. Therefore, Device A requests a separate copy of data for VLAN 100 and VLAN 200 from Device B, consuming bandwidth resources and increasing the workload of Device B.

To resolve this issue, configure a multicast VLAN (VLAN 10) on Device A for the two user VLANs, so that Device A uses VLAN 10 to request only one copy of data from Device B and then replicates a separate copy for VLAN 100 and VLAN 200.

Figure 18-22 Associating a multicast VLAN with specified user VLANs
NOTE:

Interfaces 1 through 3 in this example are GE 1/0/1, GE 1/0/2, GE 1/0/3, respectively.



Configuration Roadmap

The configuration roadmap is as follows:

  1. Create a multicast VLAN and user VLANs.

  2. Enable the multicast VLAN function.

  3. Associate the multicast VLAN with the user VLANs.

  4. Add Device A's interfaces to VLANs.

Data Preparation

To complete the configuration, you need the following data:

  • Device A's interface connected to an upstream device: GE 1/0/1; GE 1/0/1's VLAN ID: 10

  • Device A's interfaces connected to user VLANs: GE 1/0/2 and GE 1/0/3; GE 1/0/2's VLAN ID: 100; GE 1/0/3's VLAN ID: 200

Procedure

  1. Create a multicast VLAN and user VLANs.

    # Create a multicast VLAN.

    <HUAWEIA> system-view
    [~HUAWEI] sysname DeviceA
    [*HUAWEI] commit
    [~DeviceA] igmp-snooping enable
    [*DeviceA] vlan 10
    [*DeviceA-vlan10] igmp-snooping enable
    [*DeviceA-vlan10] commit
    [~DeviceA-vlan10] quit

    # Create user VLANs.

    [~DeviceA] vlan batch 100 200
    [*DeviceA] commit

  2. Enable the multicast VLAN function.

    [~DeviceA] vlan 10
    [*DeviceA-vlan10] multicast-vlan enable
    [*DeviceA-vlan10] commit

  3. Associate the multicast VLAN with the user VLANs.

    [~DeviceA-vlan10] multicast-vlan user-vlan 100
    [*DeviceA-vlan10] multicast-vlan user-vlan 200
    [*DeviceA-vlan10] commit
    [~DeviceA-vlan10] quit

  4. Add Device A's interfaces to VLANs.

    # Add GE 1/0/1 to VLAN 10.

    [~DeviceA] interface gigabitethernet 1/0/1
    [~DeviceA-GigabitEthernet1/0/1] undo shutdown
    [~DeviceA-GigabitEthernet1/0/1] portswitch
    [*DeviceA-GigabitEthernet1/0/1] port trunk allow-pass vlan 10
    [*DeviceA-GigabitEthernet1/0/1] commit
    [~DeviceA-GigabitEthernet1/0/1] quit

    # Add GE 1/0/2 to VLAN 100.

    [~DeviceA] interface gigabitethernet 1/0/2
    [~DeviceA-GigabitEthernet1/0/2] undo shutdown
    [~DeviceA-GigabitEthernet1/0/2] portswitch
    [*DeviceA-GigabitEthernet1/0/2] port trunk allow-pass vlan 100
    [*DeviceA-GigabitEthernet1/0/2] commit
    [~DeviceA-GigabitEthernet1/0/2] quit

    # Add GE 1/0/3 to VLAN 200.

    [~DeviceA] interface gigabitethernet 1/0/3
    [~DeviceA-GigabitEthernet1/0/3] undo shutdown
    [~DeviceA-GigabitEthernet1/0/3] portswitch
    [*DeviceA-GigabitEthernet1/0/3] port trunk allow-pass vlan 200
    [*DeviceA-GigabitEthernet1/0/3] commit
    [~DeviceA-GigabitEthernet1/0/3] quit

  5. Verify the configuration.

    After completing the configurations, run the display multicast-vlan command to view configurations of the multicast VLAN.

    [~DeviceA] display multicast-vlan vlan 10
     Multicast-vlan         : 10
     User-vlan Number       : 2
     IGMP snooping state    : Enable
     User-vlan              Snooping-state
     -----------------------------------------------
     100                    IGMP Enable
     200                    IGMP Enable

    Run the display user-vlan command to view configurations of the user VLANs.

    [~DeviceA] display user-vlan vlan
     Total user vlan   2
     user-vlan  snooping-state  multicast-vlan  snooping-state
     ---------------------------------------------------------
     100       IGMP Enable     10             IGMP Enable
     200       IGMP Enable     10             IGMP Enable

    The command output shows the user VLAN IDs and the multicast VLAN ID of the user VLANs.

Configuration Files

DeviceA configuration file

#
sysname DeviceA
#
vlan batch 10 100 200
#
igmp-snooping enable
#
vlan 10
 igmp-snooping enable
 multicast-vlan enable
 multicast-vlan user-vlan 100 200
#
interface gigabitethernet 1/0/1
 portswitch
 undo shutdown
 port trunk allow-pass vlan 10
#
interface gigabitethernet 1/0/2
 portswitch
 undo shutdown
 port trunk allow-pass vlan 100
#
interface gigabitethernet 1/0/3
 portswitch
 undo shutdown
 port trunk allow-pass vlan 200
#
return
Translation
Download
Updated: 2019-01-03

Document ID: EDOC1100055017

Views: 44227

Downloads: 97

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