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 the VLAN-based IGMP Snooping Policy

Configuring the VLAN-based IGMP Snooping Policy

Context

An IGMP snooping policy controls multicast programs for users, enhancing multicast network control and security.

Configuration Process

You can perform the following configuration tasks in any sequence.

Configuring a Multicast Group Policy

Context

A multicast group policy determines which multicast groups the hosts in a VLAN can join. It applies only to dynamic multicast groups. Before configuring a multicast group policy, create an access control list (ACL) and define rules. For details on how to configure an ACL, see ACL Configuration in the S7700 and S9700 V200R010C00 Configuration Guide - Security.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    vlan vlan-id

    The VLAN view is displayed.

  3. Run:

    igmp-snooping group-policy acl-number [ version version-number ] [ default-permit ]

    A multicast group policy is configured.

    By default, hosts in a VLAN can join any multicast group. If the IGMP version is not specified for a multicast group policy, the switch applies the policy to all received IGMP messages regardless of version.

    NOTE:
    When configuring an ACL to be referenced by a multicast group policy in a VLAN, pay attention to the following points:
    • If the default-permit keyword is not specified in the multicast group policy configuration command, specify the permit keyword in the rule command to allow hosts in the VLAN to join the specified groups.
    • If the default-permit keyword is specified in the multicast group policy configuration command, specify the deny keyword in the rule command to prevent hosts in the VLAN from joining the specified groups.

Filtering Multicast Data on an Interface

Context

You can configure the switch to filter out multicast data packets from a specified VLAN on an 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-source-deny [ vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> ]

    The switch is configured to filter out multicast data from the specified VLANs.

    NOTE:

    You must specify a VLAN to which the interface has already been added. Otherwise, the configuration does not take effect.

    This command can discard only multicast data packets that meet both of the following conditions:
    • The destination MAC address is an IP multicast MAC address (IPv4 MAC address starting with 0x01005E or IPv6 multicast MAC address starting with 0x3333).
    • The packet encapsulation protocol is UDP.

Dropping Unknown Multicast Flows

Context

Unknown multicast flows are those that do not match any entry in the multicast forwarding table or match multicast forwarding entries with an empty outbound interface list. These flows are not requested by users. The default method that a switch uses to process unknown multicast flows depends on whether Layer 2 multicast is enabled and which Layer 2 multicast forwarding mode is used:
  • If Layer 2 multicast is not enabled on the switch, the switch broadcasts unknown multicast flows in the corresponding VLAN.

  • If Layer 2 multicast is enabled, the switch broadcasts unknown multicast flows in the corresponding VLAN in MAC address-based forwarding mode and drops unknown multicast flows in IP address-based forwarding mode.

If a switch broadcasts unknown multicast flows in a VLAN, you can configure the switch to drop unknown multicast flows, reducing instant bandwidth usage.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    vlan vlan-id

    The VLAN view is displayed.

  3. Run:

    multicast drop-unknown

    The switch is configured to drop unknown multicast flows.

    NOTE:

    After the multicast drop-unknown command is configured, the switch drops all unknown IPv4 and IPv6 multicast packets, including the protocol packets that are transparently transmitted within the VLAN and use the reserved multicast address.

Configuring the Multicast Hash Algorithm

Context

To improve multicast forwarding performance, the switch uses a hash algorithm to learn multicast addresses. When a large number of multicast hash collisions occur, the switch will fail to learn some multicast addresses. If this occurs, you can change the multicast hash algorithm to reduce hash collisions.

MAC addresses are randomly distributed on a network, so the best hash algorithm cannot be determined. The default hash algorithm is the best algorithm in most cases, so changing the hash algorithm is not recommended.

After changing the hash algorithm, restart the switch for the configuration to take effect.

Default Configuration

The default multicast hash algorithm is crc-32-lower.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    set multicast-hash-mode { crc-32-upper | crc-32-lower | lsb | crc-16-upper | crc-16-lower }

    The multicast hash algorithm is specified.

    NOTE:

    This command is not supported by X series cards.

Checking the Configuration

Prerequisites

After the IGMP snooping policy configuration is complete, run the following commands in any view to check the policy configuration and usage.

Procedure

  • Run the display igmp-snooping [ vlan [ vlan-id ] ] configuration command to check the IGMP snooping configuration.

    The command output displays the IGMP snooping policy configuration in the VLAN.

  • Run the display l2-multicast forwarding-table vlan [ vlan-id ] [ [ source-address source-address ] group-address { group-address | router-group } ] command to check the Layer 2 multicast forwarding table in a VLAN.

    You can check the application of a Layer 2 multicast policy by viewing Layer 2 multicast forwarding entries.

Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000141903

Views: 145960

Downloads: 111

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