< Home

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.

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. (Optional) Run igmp-snooping querier enable

    The IGMP snooping querier function is enabled in the VLAN.

    This configuration is recommended in the multicast VLAN view. If the upstream device is the gateway with IGMP enabled, you do not need to perform step 5.

  6. Run multicast-vlan enable

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

  7. 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.

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

  8. (Optional) Run multicast-vlan send-query prune-source-port

    Query messages received in the multicast VLAN are prevented from being sent back to the upstream interface through user VLANs.

    By default, if an upstream interface belongs to a multicast VLAN and a user VLAN, Query messages sent to the multicast VLAN can be sent back from the upstream interface through the user VLAN. To prevent Query messages from being sent back to the upstream device, run this command in the multicast VLAN.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >