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

CX11x, CX31x, CX710 (Earlier Than V6.03), and CX91x Series Switch Modules V100R001C10 Configuration Guide 12

The documents describe the configuration of various services supported by the CX11x&CX31x&CX91x series switch modules The description covers configuration examples and function configurations.
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 Multicast VLAN Replication

Configuring Multicast VLAN Replication

This section describes the procedures for configuring multicast VLAN replication.

Configuring Multicast VLAN Replication Based on User VLANs

Multicast VLAN replication based on user VLANs enables the device to copy and send multicast data to different user VLANs, reducing bandwidth consumption by the upper-layer device.

Configuration Process

Perform the configuration in the following sequence:

Configuring a User VLAN

Context

When you configure multicast VLAN replication based on user VLANs, you must enable Layer 2 IGMP snooping in user VLANs.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    igmp snooping enable

    IGMP snooping is enabled globally.

  3. Run:

    vlan vlan-id

    A VLAN is created, and the VLAN view is displayed.

  4. Run:

    igmp snooping enable

    IGMP snooping is enabled in the VLAN.

  5. Run:

    commit

    The configuration is committed.

Binding User VLANs to a Multicast VLAN

Context

Multicast VLAN replication is implemented based on the multicast VLAN, which aggregates multicast flows from the network side. It allows the device to copy and deliver multicast packets in user VLANs. When you configure multicast VLAN replication based on user VLANs, you must enable Layer 2 multicast snooping in the multicast VLAN.

If two devices connect to the same user VLAN and both have the multicast VLAN configured, hosts in the user VLAN will receive two copies of a multicast flow. To avoid this problem, enable querier election for user VLANs in the multicast VLAN view on both the devices. Only the device that wins the querier election can generate Layer 2 multicast forwarding entries according to received Report messages.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    igmp snooping enable

    IGMP snooping is enabled globally.

  3. Run:

    vlan vlan-id

    A VLAN is created, and the VLAN view is displayed.

  4. Run:

    igmp snooping enable

    IGMP snooping is enabled in the VLAN.

  5. Run:

    multicast vlan enable

    Multicast VLAN is enabled and the current VLAN is configured as a multicast VLAN.

  6. Run:

    multicast vlan user-vlan { vlan-id1 [ to vlan-id2 ] } &<1-10>

    The binding between a multicast VLAN and user VLANs is configured and user VLANs are bound to a multicast VLAN.

    NOTE:

    When you configure the binding between a multicast VLAN and user VLANs, a user VLAN can be bound to only one multicast VLAN.

  7. (Optional) Run:

    multicast vlan igmp-querier-election user-vlan { vlan-id1 [ to vlan-id2 ] } &<1-10>

    The querier election is enabled for the user VLANs.

    By default, the querier election is disabled.

    NOTE:

    Before enabling querier election, ensure that a source IP address has been configured on each switch for the Query messages sent by the device using the igmp snooping send-query source-address command.

  8. Run:

    commit

    The configuration is committed.

Adding Interfaces to VLANs

Context

After a multicast VLAN and a user VLAN are configured, you can add a network-side interface to the multicast VLAN and a user-side interface to the user VLAN.

Procedure

  1. Add network-side the interface to the multicast VLAN. For details, see Dividing a LAN into VLANs Based on Ports.
  2. Add the user-side interface to the user VLAN. For details, see Dividing a LAN into VLANs Based on Ports.
Checking the Configuration

Prerequisites

The configuration of multicast VLAN replication is complete.

Procedure

  • Run the display multicast vlan mvlan [ vlan-id ] command to view information about a multicast VLAN.
  • Run the display multicast vlan user-vlan [ vlan-id ] command to view information about a user VLAN.

Configuring Interface-based Multicast VLAN Replication

Interface-based multicast VLAN replication ensures multicast service isolation of users in the same user VLAN and improves control on multicast service flows.

Configuration Process

Perform the configuration in the following sequence:

Configuring a User VLAN

Context

When you configure interface-based multicast VLAN replication, you must enable Layer 2 IGMP snooping in user VLANs.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    igmp snooping enable

    IGMP snooping is enabled globally.

  3. Run:

    vlan vlan-id

    A VLAN is created, and the VLAN view is displayed.

  4. Run:

    igmp snooping enable

    IGMP snooping is enabled in the VLAN.

  5. Run:

    commit

    The configuration is committed.

Configuring IGMP Snooping in a Multicast VLAN

Context

When configuring interface-based multicast VLAN replication, you only need to enable Layer 2 IGMP snooping but not multicast VLAN replication in a multicast VLAN.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    igmp snooping enable

    IGMP snooping is enabled globally.

  3. Run:

    vlan vlan-id

    A VLAN is created, and the VLAN view is displayed.

  4. Run:

    igmp snooping enable

    IGMP snooping is enabled in the VLAN.

  5. Run:

    commit

    The configuration is committed.

Binding User VLANs to a Multicast VLAN

Context

A user VLAN can be bound to a multicast VLAN on a user side interface. A user VLAN cannot be bound to more than one multicast VLAN on the same interface.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    interface interface-type interface-number

    The interface view is displayed.

  3. Run:

    multicast layer-2 bind vlan vlan-id1 [ to vlan-id2 ] mvlan mvlan-id

    User VLANs are bound to a multicast VLAN on the interface.

  4. Run:

    commit

    The configuration is committed.

Adding Interfaces to VLANs

Context

After a multicast VLAN and a user VLAN are configured, you can add a network-side interface to the multicast VLAN and a user-side interface to the user VLAN.

Procedure

  1. Add network-side the interface to the multicast VLAN. For details, see Dividing a LAN into VLANs Based on Ports.
  2. Add the user-side interface to the user VLAN. For details, see Dividing a LAN into VLANs Based on Ports.
Checking the Configuration

Prerequisites

The configuration of interface-based multicast VLAN replication is complete.

Procedure

  • Run the display multicast layer-2 bind [ mvlan vlan-id ] command to view the binding relationship between multicast VLANs and user VLANs on the interface.
Translation
Download
Updated: 2019-08-09

Document ID: EDOC1000041694

Views: 59737

Downloads: 3623

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