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

Configuration Guide - IP Multicast

S7700 and S9700 V200R013C00

This document describes the configurations of IP multicast, including IP multicast basics, IGMP, MLD, IPv4 PIM, IPv6 PIM, MSDP, multicast VPN, layer 3 multicast CAC, IPv4 multicast route management, IPv6 multicast route management, IGMP snooping, MLD snooping, static multicast MAC address, multicast VLAN replication, layer 2 multicast CAC, multicast network management.
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 Basic VSI-based IGMP Snooping Functions

Configuring Basic VSI-based IGMP Snooping Functions

Context

Basic VSI-based IGMP snooping functions enable a switch to create and maintain a Layer 2 multicast forwarding table and implement on-demand multicast data transmission at the data link layer on a VPLS network.

Pre-configuration Tasks

Before configuring basic VSI-based IGMP snooping functions, create a virtual switching instance (VSI).

Configuration Procedure

Enabling IGMP Snooping and Configuring the IGMP Snooping Version are mandatory.

Enabling IGMP Snooping

Context

Other IGMP snooping functions can be configured for virtual private LAN service (VPLS) only after IGMP snooping is enabled globally and for VPLS. Other IGMP snooping functions take effect in a virtual switching instance (VSI) only after IGMP snooping is enabled in the VSI.

By default, IGMP snooping is disabled globally and for VPLS on the switch.

NOTE:

When configuring VSI-based IGMP snooping on a device with double control units, configure Label Distribution Protocol Graceful Restart (LDP GR) on the switch to ensure normal multicast forwarding in case of an active/standby switchover. For details about LDP GR, see MPLS LDP Configuration in the S7700 and S9700 V200R013C00 Configuration Guide - MPLS.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run igmp-snooping enable

    IGMP snooping is enabled globally.

  3. Run igmp-snooping over-vpls enable

    IGMP snooping is enabled for VPLS.

  4. Run vsi vsi-name

    The VSI view is displayed.

  5. Run igmp-snooping enable

    IGMP snooping is enabled in the VSI.

Configuring the IGMP Snooping Version

Context

Internet Group Management Protocol (IGMP) manages multicast group members and runs on the network segments where Layer 3 multicast devices connect to user hosts. IGMP has three protocol versions: V1, V2, and V3. You can specify the IGMP snooping version on a Layer 2 device to enable it to process IGMP messages of specified versions. Generally, the IGMP snooping version on a Layer 2 device should be the same as the IGMP version used on the Layer 3 multicast device. If IGMP is disabled on the Layer 3 multicast device, set the IGMP snooping version to be the same as or later than the IGMP version running on user hosts.

Devices in the same virtual switching instance (VSI) must run the same IGMP version. When hosts in a VSI run different IGMP versions, configure an appropriate IGMP snooping version to ensure that the Layer 2 device to process IGMP messages from all the hosts.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run vsi vsi-name

    The VSI view is displayed.

  3. Run igmp-snooping version version

    The IGMP snooping version is configured.

    By default, the switch can process IGMPv1 and IGMPv2 messages but not IGMPv3 messages.

(Optional) Configuring a Static Router Port

Context

By default, dynamic port learning is enabled in a virtual switching instance (VSI). A switch decides whether to add dynamic router ports by monitoring IGMP Query messages. When a dynamic router port does not receive an IGMP Query message before it times out, the switch deletes the interface from the router port list.

If a switch needs to forward IGMP Report/Leave messages from an interface for a long period of time, configure this interface as a static router port.

Interfaces on a virtual private LAN service (VPLS) network include pseudo wire (PW) side interfaces and attachment circuit (AC) side interfaces. The methods for configuring PW-side and AC-side interfaces as static router ports are different.

Procedure

  • Configure a PW-side interface as a static router port.
    1. Run system-view

      The system view is displayed.

    2. Run vsi vsi-name

      The VSI view is displayed.

    3. (Optional) Run undo igmp-snooping router-learning

      Dynamic learning of router ports is disabled in the VSI.

    4. Run igmp-snooping static-router-port remote-peer ip-address [ negotiation-vc-id vc-id ]

      The interface is configured as a static router port.

  • Configure an AC-side interface as a static router port. The configuration method varies according to the type of AC-side interface:

    • If the AC-side interface bound to a VSI is a VLANIF interface, configure the Layer 2 interface in the corresponding VLAN as a static router port. For details, see (Optional) Configuring a Static Router Port in "VLAN-based IGMP Snooping Configuration."

    • If the AC-side interface bound to a VSI is a physical interface that has been switched to Layer 3 mode using the undo portswitch command, perform the following steps to configure the interface as a static router port:

      1. Run system-view

        The system view is displayed.

      2. (Optional) Disable router port learning in the VSI.

        1. Run vsi vsi-name

          The VSI view is displayed.

        2. Run undo igmp-snooping router-learning

          Dynamic router port learning is disabled.

        3. Run quit

          Exit from the VSI view.

      3. Run interface interface-type interface-number

        The interface view is displayed.

      4. Run igmp-snooping static-router-port vsi vsi-name

        The interface is configured as a static router port.

(Optional) Configuring a Static Member Port

Context

By default, a switch dynamically adds member ports by listening to Report messages. If a dynamic member port does not receive an IGMP Report message from a multicast group within the aging time, the switch deletes the interface from the outbound interface list of the multicast group.

If the hosts connected to an interface need to receive multicast data for a specific multicast group or source-group for a long time, configure the interface as a static member port by binding the group or source-group to the interface.

Interfaces on a virtual private LAN service (VPLS) network include pseudo wire (PW) side interfaces and attachment circuit (AC) side interfaces. The methods for statically binding a group to PW-side and AC-side interfaces are different.

Procedure

  • Statically bind a group to a PW-side interface.
    1. Run system-view

      The system view is displayed.

    2. Run vsi vsi-name

      The VSI view is displayed.

    3. Run l2-multicast static-group [ source-address source-address ] group-address group-address remote-peer ip-address [ negotiation-vc-id vc-id ]

      The interface is manually added to a multicast group and becomes a static member port.

  • Statically bind a group to an AC-side interface. The configuration method varies according to the AC-side interface type:

    • If the AC-side interface bound to a VSI is a VLANIF interface, bind a group to the Layer 2 interface in the corresponding VLAN. For details, see (Optional) Configuring a Static Member Port in "VLAN-based IGMP Snooping Configuration."

    • If the AC-side interface bound to a VSI is a physical interface that has been switched to Layer 3 mode using the undo portswitch command, perform the following steps to bind a group to the AC-side interface:

      1. Run system-view

        The system view is displayed.

      2. Run interface interface-type interface-number

        The interface view is displayed.

      3. Run l2-multicast static-group [ source-address source-address ] group-address group-address1 [ to group-address2 ] vsi vsi-name

        A group is statically bound to the interface. The interface then becomes a static group member.

(Optional) Configuring the Router-Alert Option in IGMP Messages

Context

By default, the switch does not check whether IGMP messages contain the Router-Alert option in the header and sends all the IGMP messages to the upper-layer routing protocol. To improve device performance, reduce transmission cost, and enhance protocol security, configure the switch to discard IGMP messages without the Router-Alert option.

By default, the switch sends IGMP messages with the Router-Alert option.

For details about the Router-Alert option, see RFC 2113.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run vsi vsi-name

    The VSI view is displayed.

  3. Run igmp-snooping require-router-alert

    The switch is configured to drop received IGMP messages without the Router-Alert option in the IP header.

  4. Run igmp-snooping send-router-alert

    The switch is configured to send IGMP messages with the Router-Alert option in the IP header.

Verifying the Basic IGMP Snooping Function Configuration

Prerequisites

The configuration of IGMP snooping is complete in a VSI.

Procedure

  • Run the display igmp-snooping [ vsi [ vsi-name ] ] configuration command to check the IGMP snooping configuration.
  • Run the display igmp-snooping [ vsi [ vsi-name ] ] command to check the IGMP snooping running parameters in a VSI.
  • Run the display igmp-snooping statistics vsi [ vsi-name ] command to check the IGMP snooping statistics in a VSI.
  • Run the display igmp-snooping port-info [ vsi vsi-name [ group-address group-address ] ] [ verbose ] command to check information about member ports of a multicast group in a VSI.
  • Run the display igmp-snooping router-port vsi [ vsi-name ] command to check information about router ports in a VSI
  • Run the display l2-multicast forwarding-table vsi [ vsi-name ] [ group-address { group-address | router-group } ] command to check the multicast forwarding table of a VSI.
Translation
Download
Updated: 2019-04-08

Document ID: EDOC1100065742

Views: 47706

Downloads: 46

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