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 a Static Multicast MAC Address

Configuring a Static Multicast MAC Address

Pre-configuration Tasks

Before configuring a static multicast MAC address on an interface, create a VLAN and add the interface to the VLAN.

Context

By default, Layer 2 devices broadcast all received multicast data packets in a VLAN. This wastes network bandwidth and threatens network security. One way to reduce broadcast packets is to configure Internet Group Management Protocol (IGMP) snooping or Multicast Listener Discovery (MLD) snooping on the switch to create Layer 2 multicast forwarding entries. Another method is to configure static multicast MAC addresses on interfaces to create multicast MAC address entries.

After a multicast MAC address is configured on interfaces, multicast packets destined for the multicast MAC address are forwarded only to the specified interfaces 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 l2-multicast forwarding-mode mac

    The multicast data forwarding mode in a VLAN is set to MAC address-based forwarding.

    By default, multicast data is forwarded in a VLAN based on IP addresses.

  4. Run quit

    Return to the system view.

  5. Configure a static multicast MAC address using either of the following methods:

    • Configure a static multicast MAC address on one interface:

      1. Run interface interface-type interface-number

        The interface view is displayed.

      2. Run mac-address multicast mac-address vlan vlan-id

        A multicast MAC address is configured on the interface.

    • Configure a static multicast MAC address on multiple interfaces:

      Run mac-address multicast mac-address interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10> vlan vlan-id

      A static multicast MAC address is configured on multiple interfaces.

      The interface numbers must be consecutive and the specified interfaces must be on the same interface card. interface-number2 must be larger than interface-number1.

Verifying the Configuration

After completing the configuration, run the following commands in any view to check static multicast MAC addresses.

  • Run the display mac-address multicast [ [ mac-address ] vlan vlan-id ] command to check the configured static multicast MAC address entries.
  • Run the display mac-address multicast [ vlan vlan-id ] total-number command to check the number of configured static multicast MAC address entries.
Translation
Download
Updated: 2019-04-08

Document ID: EDOC1100065742

Views: 46400

Downloads: 46

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