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 VSI-based Membership Fast-Update

Configuring VSI-based Membership Fast-Update

Pre-configuration Tasks

Configuring Basic VSI-based IGMP Snooping Functions

If user hosts on a Layer 2 network run only IGMPv1 or IGMPv2, enable source-specific multicast (SSM) mapping on the switch to provide SSM services for these hosts.

Configuration Procedure

You can perform the following configuration tasks in any sequence.

Setting the Aging Time of Group Member Ports

Context

The switch sets the aging time of a member port depending on IGMP messages received on the port:
  • When the member port receives a Report message from a downstream host, the switch sets the aging time to: Robustness variable x General Query interval + Maximum response time for General Query messages.

  • When the member port receives a Leave message from a downstream host, the switch sets the aging time to: Last member query interval x Robustness variable.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run vsi vsi-name

    The VSI view is displayed.

  3. Run igmp-snooping query-interval query-interval

    The IGMP snooping general query interval is set.

    By default, the IGMP snooping general query interval is 60 seconds.

  4. Run igmp-snooping robust-count robust-count

    The IGMP snooping robustness variable is set.

    By default, the IGMP snooping robustness variable is 2.

  5. Run igmp-snooping max-response-time max-response-time

    The IGMP snooping maximum response time is set.

    By default, the IGMP snooping maximum response time is 10 seconds.

  6. Run igmp-snooping lastmember-queryinterval lastmember-queryinterval

    The IGMP snooping last member query interval is set.

    By default, the IGMP snooping last member query interval is 1 second.

Setting the Aging Time of Router Ports

Context

A router port sends IGMP Report messages to an upstream Layer 3 device and receives multicast data packets from the upstream device. When IGMP snooping is enabled on a switch, the switch can learn entries of the dynamic router port to monitor the sending of multicast data. When network congestion or flapping occurs, the dynamic router port does not receive General IGMP Query messages before it times out. The switch deletes the interface from the router port list, which will cause service interruption. To avoid service interruption, set a longer aging time.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run vsi vsi-name

    The VSI view is displayed.

  3. Run igmp-snooping router-aging-time router-aging-time

    The aging time of dynamic router ports is set.

    By default, the aging time of router ports that the switch learns from General IGMP Query messages is 180 seconds.

Configuring Fast Leave

Context

When an interface receives an IGMP Leave message from a host, the switch immediately deletes the forwarding entry of the interface without waiting for aging of the forwarding entry. This is called fast leave.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run vsi vsi-name

    The VSI view is displayed.

  3. Run igmp-snooping prompt-leave [ group-policy acl-number ]

    Fast leave is enabled in the VSI.

    By default, fast leave is disabled.

    NOTE:

    Fast leave takes effect for interfaces in a VSI only when the switch can process IGMPv2 messages.

    If you do not specify group-policy when configuring fast leave, this function applies to all groups. To specify a group policy in the command, create an ACL and configure rules for the ACL before running the command. The default ACL rule denies all multicast groups. If you do not want to apply fast leave to a group, use the rule permit source any command. For details on how to configure an ACL, see ACL Configuration in the S7700 and S9700 V200R013C00 Configuration Guide - Security.

Enabling Forwarding of IGMP Protocol Packets to the Backup PW

Context

On a network shown in Figure 11-8, PE3 is dual-homed to PE1 and PE2 across a virtual private line service (VPLS) network, and set up master and backup pseudo wires (PWs) with them to enhance link reliability. The PW to PE1 is the master PW, and that to PE2 is the backup one.

If PE3 is not configured to send IGMP Report messages to the backup PW, Report messages sent in response to the IGMP Query messages from CE1 will not be sent upstream over the backup PW. If the link or PE1 on the master PW fails, PE2 cannot resume multicast data forwarding immediately because it has no matching Layer 2 multicast forwarding entries. As a result, services will be interrupted for a relatively long time.

To enable fast failover of multicast traffic to the backup link or PE, configure PE3 to forward IGMP Report messages to the backup PW. In this way, PE2 on the backup PW can create Layer 2 multicast forwarding entries. Once the backup PW changes to the master state, multicast data traffic can be forwarded over this PW immediately to ensure normal multicast services.

NOTE:

After this function is enabled, PE3 can receive two copies of identical multicast data when the link and PE on the master PW are working normally. PE3, however, does not forward the multicast data received from the backup PW to the receiver. Therefore, this function does not affect multicast services on the network.

In Figure 11-8, if the positions of the source and receiver are swapped, you need to configure PE3 to forward IGMP Query messages to the backup PW.

Figure 11-8  Before and after a PE is configured to forward IGMP Report messages to the backup PW

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run vsi vsi-name

    The VSI view is displayed.

  3. Run l2-multicast backup-query forward [ source-mac-replace ]

    The switch is configured to forward IGMP Query messages to the backup PW.

  4. Run l2-multicast backup-report forward [ source-mac-replace ]

    The switch is configured to forward IGMP Report/Leave messages to the backup PW.

Verifying the Membership Fast-Update Configuration

Prerequisites

After the configuration of membership fast-update is complete, you can run the following commands in any view to check the IGMP snooping configuration and forwarding entries.

Procedure

  • Run the display igmp-snooping [ vsi [ vsi-name ] ] configuration command to check the IGMP snooping configuration.
  • Run the display l2-multicast forwarding-table vsi [ vsi-name ] [ group-address { group-address | router-group } ] command to check the multicast forwarding table in a VSI.
Translation
Download
Updated: 2019-04-08

Document ID: EDOC1100065742

Views: 41622

Downloads: 40

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