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 V200R010C00

This document describes IP multicast basics and how to configure IP multicast features, including IGMP/MLD, PIM (IPv4&IPv6), MSDP, multicast VPN, Layer 3 multicast CAC, Layer 2 multicast CAC, IGMP/MLD snooping, and multicast VLAN, IPv4&IPv6 multicast route management, static multicast MAC address, multicast network.
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 VLAN-based Membership Fast-Update

Configuring VLAN-based Membership Fast-Update

Context

The switch can be configured to rapidly update memberships when a multicast group member joins or leaves the multicast group. This improves the efficiency and user experience of multicast services.

Configuration Process

You can perform the following configuration tasks in any sequence.

Setting the Aging Time of Group Member Ports

Context

A switch sets the aging time of a group member port based on IGMP messages received on the member 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.

When deploying a Layer 2 multicast network, ensure that all Layer 2 multicast devices use the same parameter values to calculate the aging time of dynamic group member ports, especially the IGMP snooping general query interval. Otherwise, errors will occur in Layer 2 multicast forwarding.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    vlan vlan-id

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

    NOTE:

    The default general query interval defined in RFC documents is 125 seconds, but some vendors define their own default general query intervals. It is recommended that all devices on a multicast network use the same general query intervals (including IGMP and IGMP snooping general query intervals). On Huawei modular switches, the default values of the IGMP general query interval and IGMP snooping general query interval are both 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 Dynamic Router Ports

Context

A router port sends IGMP Report/Leave messages to an upstream Layer 3 device and receives multicast packets from the upstream device. When IGMP snooping is enabled on a device, the device 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 or Protocol Independent Multicast (PIM) Hello 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:

    vlan vlan-id

    The VLAN view is displayed.

  3. Run:

    igmp-snooping router-aging-time router-aging-time

    The aging time is set for dynamic router ports.

    By default, the aging time of router ports that the switch learns from General IGMP Query messages is 180 seconds, and the aging time of router ports that the switch learns from PIM Hello messages is the Holdtime value in PIM Hello messages.

Configuring Fast Leave for Member Ports

Context

When the switch receives IGMP Leave messages from a group member port, fast leave allows the switch to immediately delete forwarding entries of the member port but does not reset the aging timer.

NOTE:
  • Enable fast leave in a VLAN only when each interface in the VLAN is connected to one receiver host.

  • Fast leave takes effect for member ports in a VLAN only when the switch can process IGMPv2 messages.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    vlan vlan-id

    The VLAN view is displayed.

  3. Run:

    igmp-snooping prompt-leave [ group-policy acl-number [ default-permit ] ]

    Fast leave is configured for group member ports in the VLAN.

    By default, no member port is allowed to fast leave a multicast group.

    If you do not specify group-policy when configuring fast leave, this function takes effect for all groups. To specify a group policy in the command, create an ACL and configure ACL rules before running the command. The ACL rules filter groups differently depending on whether default-permit is specified in the command:
    • If default-permit is not specified in the command, the group policy prevents member ports in the VLAN from fast leaving any group by default. Specify the permit keyword in the rule command to allow member ports in the VLAN to fast leave the specified groups.
    • If default-permit is specified in the command, the group policy allows member ports in the VLAN to fast leave all groups by default. Specify the deny keyword in the rule command to prevent member ports in the VLAN from fast leaving the specified groups.
    For details on how to configure an ACL, see ACL Configuration in the S7700 and S9700 V200R010C00 Configuration Guide - Security.

Configuring Host-based Fast Leave

Context

The host-based fast leave function enables a switch to delete a host from the host list of a group immediately after receiving an IGMP Leave message from the host. If the deleted host is the last receiver host connected to the group member port, the switch deletes the forwarding entry of the group from the port, without waiting the aging timer of the port to expire. This conserves bandwidth and system resources.

NOTE:

Host-based fast leave takes effect in a VLAN only when the switch can process IGMPv2 messages in the VLAN.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    vlan vlan-id

    The VLAN view is displayed.

  3. Run:

    igmp-snooping host-based prompt-leave

    Host-based fast leave is enabled.

    By default, host-based fast leave is disabled.

Sending IGMP Query Messages upon Topology Changes

Context

When a Layer 2 network topology changes, the forwarding path of multicast packets may change. When a fault occurs on a link, the switch sends IGMP Query messages and the multicast members reply with IGMP Report messages. The switch then updates information about multicast member ports based on the IGMP Report messages. In this way, multicast packets can be switched to new forwarding paths quickly.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    igmp-snooping send-query enable

    The switch is configured to send IGMP Query messages upon topology changes.

    By default, the switch does not send IGMP Query messages upon topology changes.

    This command enables the switch to send IGMP Query messages (the source IP address is 192.168.0.1 by default) upon topology changes, and update information about multicast member ports quickly, shortening the interruption of multicast packet forwarding to the downstream members.

  3. (Optional) Run:

    igmp-snooping send-query source-address ip-address

    The source IP address of IGMP Query messages is configured.

    By default, the source IP address of IGMP Query messages sent upon topology changes is 192.168.0.1. If this IP address is used by another device on the network, use this command to set a different IP address.

Enabling Fast Multicast Forwarding Path Switching upon STP Topology Changes

Context

When a Layer 2 network topology changes, multicast forwarding paths may change. Sending IGMP Query Messages upon Topology Changes enables multicast data flows to be switched to new forwarding paths within a relatively short time. However, the downstream device may not receive Query messages immediately after convergence of the Layer 2 network, because Query messaged are sent after a certain interval (60 seconds by default). As a result, multicast traffic cannot be rapidly switched to the new forwarding paths.

If the Layer 2 network is running the Spanning Tree Protocol (STP), you can enable fast multicast forwarding path switching upon STP topology changes. When the STP topology changes, this function quickly changes the ports in Forwarding state into router ports to direct multicast data flows to new forwarding paths.

NOTE:
  • This function takes effect only when STP is used as the loop prevention protocol on a Layer 2 network and the STP operation mode is Multiple Spanning Tree Protocol (MSTP), Rapid Spanning Tree Protocol (RSTP), or STP.
  • With this function configured, the switch sets all ports in Forwarding state as router ports when the STP topology changes. Multicast data flows are forwarded to all the router ports before the router ports are aged out. This will cause increase in multicast traffic.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    igmp-snooping fast-switch enable

    Fast multicast forwarding path switching upon STP topology changes is enabled.

    By default, this function is disabled.

Deleting IGMP Snooping Entries of DHCP Snooping Users Immediately After Users Go Offline

Context

When IGMP snooping is enabled for Dynamic Host Control Protocol (DHCP) snooping users, the switch does not delete the IGMP snooping entry of a user immediately after the user goes offline. The multicast flow requested by the user is still transmitted until the IGMP snooping entry of the user is aged out.

You can configure the switch to delete the IGMP snooping entry of a DHCP snooping user immediately after the user goes offline, so that the multicast flow requested by the user is immediately terminated.

For details about DHCP snooping, see DHCP Snooping Configuration in the S7700 and S9700 V200R010C00 Configuration Guide - Security.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    dhcp-snooping user-offline remove igmp-snooping

    The switch is configured to delete IGMP snooping entries of DHCP snooping users immediately after the users go offline.

    By default, the switch does not delete IGMP snooping entries of DHCP snooping users immediately after the users go offline.

Checking the Configuration

Prerequisites

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

Procedure

  • Run the display igmp-snooping [ vlan [ vlan-id ] ] configuration command to check the IGMP snooping configuration.
  • Run the display l2-multicast forwarding-table vlan [ vlan-id ] [ [ source-address source-address ] group-address { group-address | router-group } ] command to check the multicast forwarding table in a VLAN.
Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000141903

Views: 145114

Downloads: 111

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