HPE FlexNetwork 5130 EI Series Configuration Manual

HPE FlexNetwork 5130 EI Series Configuration Manual

Ip multicast
Hide thumbs Also See for FlexNetwork 5130 EI Series:
Table of Contents

Advertisement

HPE FlexNetwork 5130 EI Switch Series
IP Multicast Configuration Guide
Part number:5998-5477s
Software version: Release 3111P02 and later
Document version: 6W101-20161010

Advertisement

Table of Contents
loading

Summary of Contents for HPE FlexNetwork 5130 EI Series

  • Page 1 HPE FlexNetwork 5130 EI Switch Series IP Multicast Configuration Guide Part number:5998-5477s Software version: Release 3111P02 and later Document version: 6W101-20161010...
  • Page 2 © Copyright 2015, 2016 Hewlett Packard Enterprise Development LP The information contained herein is subject to change without notice. The only warranties for Hewlett Packard Enterprise products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. Hewlett Packard Enterprise shall not be liable for technical or editorial errors or omissions contained herein.
  • Page 3: Table Of Contents

    Contents Multicast overview ··························································································· 1     Introduction to multicast ····································································································································· 1   Information transmission techniques ·········································································································· 1   Multicast features ······································································································································· 3   Common notations in multicast ·················································································································· 4   Multicast benefits and applications ············································································································ 4   Multicast models ················································································································································ 4  ...
  • Page 4   Troubleshooting PIM snooping ························································································································ 42   PIM snooping does not work on a Layer 2 device ··················································································· 42 Configuring multicast VLANs ········································································ 43     Overview ·························································································································································· 43   Multicast VLAN configuration task list ·············································································································· 45   Configuring a sub-VLAN-based multicast VLAN ······························································································ 45  ...
  • Page 5   Configuring IPv6 PIM snooping ······················································································································· 80   Displaying and maintaining IPv6 PIM snooping ······························································································· 81   IPv6 PIM snooping configuration example ······································································································· 81   Troubleshooting IPv6 PIM snooping ················································································································ 84   IPv6 PIM snooping does not work on a Layer 2 device ··········································································· 84 Configuring IPv6 multicast VLANs ································································...
  • Page 6: Multicast Overview

    Multicast overview Introduction to multicast As a technique that coexists with unicast and broadcast, the multicast technique effectively addresses the issue of point-to-multipoint data transmission. By enabling high-efficiency point-to-multipoint data transmission over a network, multicast greatly saves network bandwidth and reduces network load.
  • Page 7 Broadcast In broadcast transmission, the information source sends information to all hosts on the subnet, even if some hosts do not need the information. Figure 2 Broadcast transmission Figure 2, only Host B, Host D, and Host E need the information. If the information is broadcast to the subnet, Host A and Host C also receive it.
  • Page 8: Multicast Features

    Figure 3 Multicast transmission Figure 3, the multicast source sends only one copy of the information to a multicast group. Host B, Host D, and Host E, which are information receivers, must join the multicast group. The routers on the network duplicate and forward the information based on the distribution of the group members. Finally, the information is correctly delivered to Host B, Host D, and Host E.
  • Page 9: Common Notations In Multicast

    Table 1 Comparing TV program transmission and multicast transmission TV program transmission Multicast transmission A TV station transmits a TV program through a A multicast source sends multicast data to a multicast channel. group. A user tunes the TV set to the channel. A receiver joins the multicast group.
  • Page 10: Ip Multicast Architecture

    multicast sources. In this model, receivers do not know the positions of the multicast sources in advance. SFM model The SFM model is derived from the ASM model. To a multicast source, the two models appear to have the same multicast membership architecture. The SFM model functionally extends the ASM model.
  • Page 11 Address block Description group addresses. A packet destined for an address in this block will not be forwarded beyond the local subnet regardless of the TTL value in the IP header. Globally scoped group addresses. This block includes the following types of designated group addresses: 224.0.1.0 to 238.255.255.255 •...
  • Page 12 Figure 4 IPv6 multicast format The following describes the fields of an IPv6 multicast address: 0xFF—The most significant eight bits are 11111111. Flags—The Flags field contains four bits. Figure 5 Flags field format Table 4 Flags field description Description Reserved, set to 0. •...
  • Page 13: Multicast Protocols

    Value Meaning Global scope. Group ID—The Group ID field contains 112 bits. It uniquely identifies an IPv6 multicast group in the scope that the Scope field defines. Ethernet multicast MAC addresses • IPv4 multicast MAC addresses: As defined by IANA, the most significant 24 bits of an IPv4 multicast MAC address are 0x01005E.
  • Page 14 Layer 3 multicast refers to IP multicast working at the network layer. Layer 3 multicast protocols—IGMP, MLD, PIM, IPv6 PIM, MSDP, MBGP, and IPv6 MBGP. Layer 2 multicast refers to IP multicast working at the data link layer. Layer 2 multicast protocols—IGMP snooping, MLD snooping, PIM snooping, IPv6 PIM snooping, multicast VLAN, and IPv6 multicast VLAN.
  • Page 15 forwarding mechanism, PIM has dense mode (often referred to as "PIM-DM") and sparse mode (often referred to as "PIM-SM"). An inter-domain multicast routing protocol is used for delivering multicast information between two ASs. So far, mature solutions include Multicast Source Discovery Protocol (MSDP) and MBGP.
  • Page 16: Multicast Packet Forwarding Mechanism

    Multicast packet forwarding mechanism In a multicast model, multicast receivers of a multicast group are usually located at different areas on the network. They are identified by the same multicast group address. To deliver multicast packets to these receivers, a multicast source encapsulates the multicast data in an IP packet with the multicast group address as the destination address.
  • Page 17: Configuring Igmp Snooping

    Configuring IGMP snooping Overview IGMP snooping runs on a Layer 2 device as a multicast constraining mechanism to improve multicast forwarding efficiency. It creates Layer 2 multicast forwarding entries from IGMP packets that are exchanged between the hosts and the router. As shown in Figure 10, when IGMP snooping is not enabled, the Layer 2 device floods multicast...
  • Page 18 Figure 11 IGMP snooping related ports Receiver Router A Switch A GE1/0/1 GE1/0/2 Host A GE1/0/3 Host B Receiver GE1/0/1 Source GE1/0/2 Host C Switch B Router port Member port Multicast packets Host D The following describes the ports involved in IGMP snooping: •...
  • Page 19: How Igmp Snooping Works

    How IGMP snooping works The ports in this section are dynamic ports. For information about how to configure and remove static ports, see "Configuring static ports." IGMP messages types include general query, IGMP report, and leave message. An IGMP snooping-enabled Layer 2 device performs differently depending on the message. General query The IGMP querier periodically sends IGMP general queries to all hosts and routers on the local subnet to check for the existence of multicast group members.
  • Page 20: Protocols And Standards

    • If a match is found but the receiving port is not in the forwarding entry, the Layer 2 device discards the IGMP leave message. • If a match is found and the receiving port is in the forwarding entry, the Layer 2 device forwards the leave message to all router ports in the VLAN.
  • Page 21: Configuring Basic Igmp Snooping Features

    Tasks at a glance Configuring IGMP snooping policies: • (Optional.) Configuring a multicast group policy • (Optional.) Configuring multicast source port filtering • (Optional.) Enabling dropping unknown multicast data • (Optional.) Enabling IGMP report suppression • (Optional.) Setting the maximum number of multicast groups on a port •...
  • Page 22: Specifying An Igmp Snooping Version

    Step Command Remarks Enter VLAN view. vlan vlan-id Enable IGMP snooping for By default, IGMP snooping is igmp-snooping enable the VLAN. disabled for a VLAN. Specifying an IGMP snooping version Different IGMP snooping versions can process different versions of IGMP messages. •...
  • Page 23: Configuring Igmp Snooping Port Features

    To set the maximum number of IGMP snooping forwarding entries: Step Command Remarks Enter system view. system-view Enter IGMP-snooping view. igmp-snooping Set the maximum number of The default setting is IGMP snooping forwarding entry-limit limit 4294967295. entries. Configuring IGMP snooping port features Before you configure IGMP snooping port features, complete the following tasks: •...
  • Page 24: Configuring Static Ports

    Step Command Remarks dynamic member ports in the interval seconds. VLAN. Configuring static ports You can configure the following types of static ports: • Static member port—When you configure a port as a static member port for a multicast group, all hosts attached to the port will receive multicast data for the group.
  • Page 25: Enabling Fast-Leave Processing

    Step Command Remarks interface view or Layer 2 interface-number aggregate interface view. igmp-snooping host-join Configure the port as a By default, the port is not a group-address [ source-ip simulated member host. simulated member host. source-address ] vlan vlan-id Enabling fast-leave processing This feature enables the switch to immediately remove a port from the forwarding entry for a multicast group when the port receives a leave massage.
  • Page 26: Configuring The Igmp Snooping Querier

    To solve these problems, you can disable a port from becoming a dynamic router port. This also improves network security and the control over receiver hosts. To disable a port from becoming a dynamic router port: Step Command Remarks Enter system view. system-view Enter Layer 2 Ethernet interface interface-type...
  • Page 27: Configuring Parameters For Igmp Queries And Responses

    Configuring parameters for IGMP queries and responses CAUTION: To avoid mistakenly deleting multicast group members, make sure the IGMP general query interval is greater than the maximum response time for IGMP general queries. You can modify the IGMP general query interval based on the actual condition of the network. A receiver host starts a timer for each multicast group that it has joined when it receives an IGMP query (general query or group-specific query).
  • Page 28: Configuration Prerequisites

    Configuration prerequisites Before you configure parameters for IGMP messages in a VLAN, complete the following tasks: • Enable IGMP snooping for the VLAN. • Determine the source IP address of IGMP general queries. • Determine the source IP address of IGMP group-specific queries. •...
  • Page 29: Setting The 802.1P Priority For Igmp Messages

    Step Command Remarks messages. VLAN interface does not have an IP address, the source IP address is 0.0.0.0. Setting the 802.1p priority for IGMP messages When congestion occurs on outgoing ports of the Layer 2 device, it forwards IGMP messages in their 802.1p priority order, from highest to lowest.
  • Page 30: Configuring Multicast Source Port Filtering

    Configuring a multicast group policy globally Step Command Remarks Enter system view. system-view Enter IGMP-snooping view. igmp-snooping By default, no multicast group Configure a multicast group group-policy acl-number [ vlan policies exist. Hosts can join all policy globally. vlan-list ] multicast groups.
  • Page 31: Enabling Igmp Report Suppression

    To enable dropping unknown multicast data for a VLAN: Step Command Remarks Enter system view. system-view Enter VLAN view. vlan vlan-id By default, this feature is disabled. Enable dropping unknown Unknown multicast data is flooded igmp-snooping drop-unknown multicast data for the VLAN. in the VLAN to which the data belongs.
  • Page 32: Displaying And Maintaining Igmp Snooping

    channel switching application. Without this feature, the switch discards IGMP reports for new groups, and the user cannot change to the new channel. Configuration restrictions and guidelines When you enable the multicast group replacement feature, follow these guidelines: • This configuration takes effect only on the multicast groups that a port joins dynamically. •...
  • Page 33: Igmp Snooping Configuration Examples

    Task Command Display information about Layer 2 IP display l2-multicast ip [ group group-address | source multicast groups. source-address ] * [ vlan vlan-id ] [ slot slot-number ] Display information about Layer 2 IP display l2-multicast ip forwarding [ group group-address | source source-address ] * [ vlan vlan-id ] [ slot slot-number ] multicast group entries.
  • Page 34 Figure 12 Network diagram Receiver Host A Source Receiver GE1/0/4 GE1/0/2 GE1/0/1 1.1.1.2/24 10.1.1.1/24 GE1/0/1 GE1/0/3 Switch A Host B GE1/0/2 1.1.1.1/24 Router A IGMP querier Host C VLAN 100 Configuration procedure Assign an IP address and subnet mask to each interface according to Figure 12.
  • Page 35: Static Port Configuration Example

    # Configure a multicast group policy so that the hosts in VLAN 100 can join only multicast group 224.1.1.1. [SwitchA] acl number 2001 [SwitchA-acl-basic-2001] rule permit source 224.1.1.1 0 [SwitchA-acl-basic-2001] quit [SwitchA] igmp-snooping [SwitchA-igmp-snooping] group-policy 2001 vlan 100 [SwitchA-igmp-snooping] quit # Configure GigabitEthernet 1/0/3 and GigabitEthernet 1/0/4 as simulated member hosts of multicast group 224.1.1.1.
  • Page 36 along the path of Switch A—Switch B—Switch C. When this path is blocked, a minimum of one IGMP query-response cycle must be completed before multicast data flows to the receivers along the path of Switch A—Switch C. In this case, the multicast delivery is interrupted during the process.
  • Page 37 [SwitchA-igmp-snooping] quit # Create VLAN 100, and assign GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3 to the VLAN. [SwitchA] vlan 100 [SwitchA-vlan100] port gigabitethernet 1/0/1 to gigabitethernet 1/0/3 # Enable IGMP snooping for VLAN 100. [SwitchA-vlan100] igmp-snooping enable [SwitchA-vlan100] quit # Configure GigabitEthernet 1/0/3 as a static router port. [SwitchA] interface gigabitethernet 1/0/3 [SwitchA-GigabitEthernet1/0/3] igmp-snooping static-router-port vlan 100 [SwitchA-GigabitEthernet1/0/3] quit...
  • Page 38: Igmp Snooping Querier Configuration Example

    Router slots (0 in total): Router ports (1 in total): GE1/0/3 The output shows that GigabitEthernet 1/0/3 on Switch A has become a static router port. # Display static IGMP snooping group entries in VLAN 100 on Switch C. [SwitchC] display igmp-snooping static-group vlan 100 Total 1 entries.
  • Page 39 Figure 14 Network diagram Source 1 Source 2 VLAN 100 192.168.1.10/24 192.168.1.20/24 Receiver Receiver GE1/0/2 GE1/0/2 GE1/0/1 GE1/0/3 GE1/0/3 GE1/0/1 Host A GE1/0/4 Host B Switch A Switch B Querier Receiver Receiver GE1/0/2 GE1/0/1 GE1/0/2 GE1/0/3 GE1/0/1 Host D Host C Switch D Switch C Configuration procedure...
  • Page 40 # Enable IGMP snooping, and enable dropping unknown multicast packets for VLAN 100. [SwitchB-vlan100] igmp-snooping enable [SwitchB-vlan100] igmp-snooping drop-unknown [SwitchB-vlan100] quit Configure Switch C: # Enable IGMP snooping globally. <SwitchC> system-view [SwitchC] igmp-snooping [SwitchC-igmp-snooping] quit # Create VLAN 100, and assign GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3 to the VLAN.
  • Page 41: Troubleshooting Igmp Snooping

    Troubleshooting IGMP snooping Layer 2 multicast forwarding cannot function Symptom Layer 2 multicast forwarding cannot function on the switch. Solution To resolve the problem: Use the display igmp-snooping command to display IGMP snooping status. If IGMP snooping is not enabled, use the igmp-snooping command in system view to enable IGMP snooping globally, and then use the igmp-snooping enable command in VLAN view to enable IGMP snooping for the VLAN.
  • Page 42: Configuring Pim Snooping

    Configuring PIM snooping Overview PIM snooping runs on Layer 2 devices. It works with IGMP snooping to analyze received PIM messages, and adds the ports that are interested in specific multicast data to a PIM snooping routing entry. In this way, the multicast data can be forwarded to only the ports that are interested in the data. Figure 15 Multicast packet transmission without or with PIM snooping Multicast packet transmission Multicast packet transmission when...
  • Page 43: Configuring Pim Snooping

    Each PIM router in the VLAN, whether interested in the multicast data or not, can receive all multicast data and all PIM messages except PIM hello messages. • When the Layer 2 switch runs both IGMP snooping and PIM snooping, it performs the following actions: a.
  • Page 44: Pim Snooping Configuration Example

    Task Command display pim-snooping neighbor [ vlan vlan-id ] Display PIM snooping neighbor information. [ slot slot-number ] [ verbose ] display pim-snooping routing-table [ vlan vlan-id ] Display PIM snooping routing entries. [ slot slot-number ] [ verbose ] display pim-snooping router-port [ vlan vlan-id ] Display PIM snooping router port information .
  • Page 45 Configure Router A: # Enable IP multicast routing. <RouterA> system-view [RouterA] multicast routing [RouterA-mrib] quit # Enable PIM-SM on each interface. [RouterA] interface gigabitethernet 1/0/1 [RouterA-GigabitEthernet1/0/1] pim sm [RouterA-GigabitEthernet1/0/1] quit [RouterA] interface gigabitethernet 1/0/2 [RouterA-GigabitEthernet1/0/2] pim sm [RouterA-GigabitEthernet1/0/2] quit # Configure GigabitEthernet 1/0/2 as a C-BSR and a C-RP. [RouterA] pim [RouterA-pim] c-bsr 10.1.1.1 [RouterA-pim] c-rp 10.1.1.1...
  • Page 46 # Enable IGMP on GigabitEthernet 1/0/1. [RouterD] interface gigabitethernet 1/0/1 [RouterD-GigabitEthernet1/0/1] igmp enable [RouterD-GigabitEthernet1/0/1] quit # Enable PIM-SM on GigabitEthernet 1/0/2. [RouterD] interface gigabitethernet 1/0/2 [RouterD-GigabitEthernet1/0/2] pim sm [RouterD-GigabitEthernet1/0/2] quit Configure Switch A: # Enable IGMP snooping globally. <SwitchA> system-view [SwitchA] igmp-snooping [SwitchA-igmp-snooping] quit # Create VLAN 100, assign GigabitEthernet 1/0/1 through GigabitEthernet 1/0/4 to this VLAN,...
  • Page 47: Troubleshooting Pim Snooping

    VLAN 100: Total 2 entries. (*, 224.1.1.1) Upstream neighbor: 10.1.1.1 Upstream Slots (0 in total): Upstream Ports (1 in total): GE1/0/1 Downstream Slots (0 in total): Downstream Ports (1 in total): GE1/0/3 Expires: 00:03:01, FSM: J (*, 225.1.1.1) Upstream neighbor: 10.1.1.2 Upstream Slots (0 in total): Upstream Ports (1 in total): GE1/0/2...
  • Page 48: Configuring Multicast Vlans

    Configuring multicast VLANs Overview As shown in Figure 17, Host A, Host B, and Host C are in different VLANs and the same multicast group. When Switch A (Layer 3 device) receives multicast data for that group, it sends three copies of the multicast data to Switch B (Layer 2 device).
  • Page 49 Figure 18 Sub-VLAN-based multicast VLAN IGMP snooping manages router ports in the multicast VLAN and member ports in each sub-VLAN. When Switch A receives multicast data from the multicast source, it sends only one copy of the multicast data to the multicast VLAN on Switch B. Then, Switch B sends a separate copy to each sub-VLAN of the multicast VLAN.
  • Page 50: Multicast Vlan Configuration Task List

    Multicast VLAN configuration task list Task at a glance (Required.) Perform one of the following tasks: • Configuring a sub-VLAN-based multicast VLAN • Configuring a port-based multicast VLAN Configuring user port attributes Assigning user ports to a multicast VLAN (Optional.) Setting the maximum number of multicast VLAN forwarding entries If you have configured both a sub-VLAN-based multicast VLAN and a port-based multicast VLAN on a device, the port-based multicast VLAN configuration takes effect.
  • Page 51: Configuring A Port-Based Multicast Vlan

    Configuring a port-based multicast VLAN To configure a port-based multicast VLAN, perform the following steps: Configure a VLAN as the multicast VLAN. Configure the attributes for user ports that are connected to the multicast receivers. Assign the user ports to the multicast VLAN. You can assign a port to a multicast VLAN only when the port is an Ethernet port or a Layer 2 aggregate interface.
  • Page 52: Setting The Maximum Number Of Multicast Vlan Forwarding Entries

    Assigning ports to a multicast VLAN in multicast VLAN view Step Command Remarks Enter system view. system-view Configure a VLAN as a multicast VLAN and enter multicast-vlan vlan-id By default, a VLAN is not a multicast VLAN. multicast VLAN view. Assign ports to the By default, a multicast VLAN does not have port interface-list...
  • Page 53: Multicast Vlan Configuration Examples

    Task Command Display information about multicast display multicast-vlan group [ source-address | group-address | groups in multicast VLANs. slot slot-number | verbose | vlan vlan-id ] * display multicast-vlan forwarding-table [ group-address [ mask Display information about multicast { mask-length | mask } ] | source-address [ mask { mask-length | VLAN forwarding entries.
  • Page 54 <SwitchA> system-view [SwitchA] multicast routing [SwitchA-mrib] quit # Create VLAN 20, and assign GigabitEthernet 1/0/2 to this VLAN. [SwitchA] vlan 20 [SwitchA-vlan20] port gigabitethernet 1/0/2 [SwitchA-vlan20] quit # Assign an IP address to VLAN-interface 20, and enable PIM-DM on this interface. [SwitchA] interface vlan-interface 20 [SwitchA-Vlan-interface20] ip address 1.1.1.2 24 [SwitchA-Vlan-interface20] pim dm...
  • Page 55: Port-Based Multicast Vlan Configuration Example

    [SwitchB-vlan4] quit # Create VLAN 10, and enable IGMP snooping for this VLAN. [SwitchB] vlan 10 [SwitchB-vlan10] igmp-snooping enable [SwitchB-vlan10] quit # Configure GigabitEthernet 1/0/1 as a hybrid port, and assign it to VLAN 10 as a tagged VLAN member. [SwitchB] interface gigabitethernet 1/0/1 [SwitchB-GigabitEthernet1/0/1] port link-type hybrid [SwitchB-GigabitEthernet1/0/1] port hybrid vlan 10 tagged...
  • Page 56 Configure a port-based multicast VLAN on Switch B to meet the following requirements: • Switch A sends multicast data to Switch B through the multicast VLAN. • Switch B forwards the multicast data to the receivers in different user VLANs. Figure 21 Network diagram Source IGMP querier...
  • Page 57 <SwitchB> system-view [SwitchB] igmp-snooping [SwitchB-igmp-snooping] quit # Create VLAN 10, assign GigabitEthernet 1/0/1 to VLAN 10, and enable IGMP snooping for this VLAN. [SwitchB] vlan 10 [SwitchB-vlan10] port gigabitethernet 1/0/1 [SwitchB-vlan10] igmp-snooping enable [SwitchB-vlan10] quit # Create VLAN 2, and enable IGMP snooping for the VLAN. [SwitchB] vlan 2 [SwitchB-vlan2] igmp-snooping enable [SwitchB-vlan2] quit...
  • Page 58 # Configure VLAN 10 as a multicast VLAN. [SwitchB] multicast-vlan 10 # Assign GigabitEthernet 1/0/2 and GigabitEthernet 1/0/3 to VLAN 10. [SwitchB-mvlan-10] port gigabitethernet 1/0/2 to gigabitethernet 1/0/3 [SwitchB-mvlan-10] quit # Assign GigabitEthernet 1/0/4 to VLAN 10. [SwitchB] interface gigabitethernet 1/0/4 [SwitchB-GigabitEthernet1/0/4] port multicast-vlan 10 [SwitchB-GigabitEthernet1/0/4] quit Verifying the configuration...
  • Page 59: Configuring Mld Snooping

    Configuring MLD snooping Overview MLD snooping runs on a Layer 2 device as an IPv6 multicast constraining mechanism to improve multicast forwarding efficiency. It creates Layer 2 multicast forwarding entries from MLD messages that are exchanged between the hosts and the router. As shown in Figure 22, when MLD snooping is not enabled, the Layer 2 device floods IPv6 multicast...
  • Page 60 Figure 23 MLD snooping related ports Receiver Router A Switch A GE1/0/1 GE1/0/2 Host A GE1/0/3 Host B Receiver GE1/0/1 Source GE1/0/2 Host C Switch B Router port Member port IPv6 multicast packets Host D The following describes the ports involved in MLD snooping, as shown in Figure •...
  • Page 61: How Mld Snooping Works

    How MLD snooping works The ports in this section are dynamic ports. For information about how to configure and remove static ports, see "Configuring static ports." MLD messages include general query, MLD report, and done message. An MLD snooping-enabled Layer 2 device performs differently depending on the MLD message. General query The MLD querier periodically sends MLD general queries to all hosts and routers on the local subnet to check for the existence of IPv6 multicast group members.
  • Page 62: Protocols And Standards

    • If a match is found and the receiving port is in the forwarding entry, the Layer 2 device forwards the done message to all router ports in the VLAN. The Layer 2 device does not immediately remove the port from the forwarding entry for that group. Instead, it restarts the aging timer for the port.
  • Page 63: Configuring Basic Mld Snooping Features

    The MLD snooping configurations made on Layer 2 aggregate interfaces do not interfere with the configurations made on member ports. In addition, the configurations made on Layer 2 aggregate interfaces do not take part in aggregation calculations. The configuration made on a member port of the aggregate group takes effect after the port leaves the aggregate group.
  • Page 64: Setting The Maximum Number Of Mld Snooping Forwarding Entries

    • MLDv1 snooping can process MLDv1 messages, but it floods MLDv2 messages in the VLAN instead of processing them. • MLDv2 snooping can process MLDv1 and MLDv2 messages. If you change MLDv2 snooping to MLDv1 snooping, the system does the following: •...
  • Page 65: Configuring Mld Snooping Port Features

    Configuring MLD snooping port features Before you configure MLD snooping port features, complete the following tasks: • Enable MLD snooping for the VLAN. • Determine the aging timer for dynamic router ports. • Determine the aging timer for dynamic member ports. •...
  • Page 66: Configuring A Port As A Simulated Member Host

    The static member port does not respond to MLD queries. When you complete or cancel this configuration, the port does not send an unsolicited report or done message. • Static router port—When you configure a port as a static router port for an IPv6 multicast group, all IPv6 multicast data for the group received on the port will be forwarded.
  • Page 67: Disabling A Port From Becoming A Dynamic Router Port

    Configuration restrictions and guidelines When you enable fast-leave processing feature, follow these restrictions and guidelines: • Do not enable fast-leave processing on a port that have multiple receiver hosts attached in a VLAN. If fast-leave processing is enabled, after a receiver host leaves an IPv6 multicast group, the other receivers cannot receive IPv6 multicast data for the group.
  • Page 68: Configuring The Mld Snooping Querier

    Step Command Remarks By default, a port can become a Disable the port from dynamic router port. mld-snooping router-port-deny becoming a dynamic router [ vlan vlan-list ] This configuration does not affect port. the static router port configuration. Configuring the MLD snooping querier This section describes how to configure an MLD snooping querier.
  • Page 69: Configuring Parameters For Mld Messages

    To speed up the response of hosts to MLD queries and to avoid simultaneous timer expirations which cause MLD report traffic bursts, you must correctly set the maximum response time. • The maximum response time for MLD general queries is set by the max-response-time command.
  • Page 70: Configuring Source Ipv6 Addresses For Mld Messages

    Configuring source IPv6 addresses for MLD messages Changing the source IPv6 address of MLD queries might affect MLD querier election within the subnet. To configure the source IP address for MLD queries in a VLAN: Step Command Remarks Enter system view. system-view Enter VLAN view.
  • Page 71: Setting The 802.1P Priority For Mld Messages

    Setting the 802.1p priority for MLD messages When congestion occurs on outgoing ports of the Layer 2 device, it forwards MLD messages in their 802.1p priority order, from highest to lowest. You can assign a higher 802.1p priority to MLD messages that are created or forwarded by the switch.
  • Page 72: Configuring Ipv6 Multicast Source Port Filtering

    Step Command Remarks Enter MLD-snooping view. mld-snooping By default, no IPv6 multicast Configure an IPv6 multicast group-policy acl6-number [ vlan group policies exist. Hosts can group policy globally. vlan-list ] join all IPv6 multicast groups. Configuring an IPv6 multicast group policy on a port Step Command Remarks...
  • Page 73: Enabling Mld Report Suppression

    To enable dropping unknown IPv6 multicast data for a VLAN: Step Command Remarks Enter system view. system-view Enter VLAN view. vlan vlan-id By default, this feature is disabled. Enable dropping unknown Unknown IPv6 multicast data is IPv6 multicast data for the mld-snooping drop-unknown flooded in the VLAN to which the VLAN.
  • Page 74: Enabling Ipv6 Multicast Group Replacement

    Enabling IPv6 multicast group replacement This feature enables the switch to replace an existing IPv6 multicast group with a newly joined IPv6 multicast group when the number of groups exceeds the upper limit. This feature is typically used in the channel switching application. Without this feature, the switch discards MLD reports for new groups, and the user cannot change to the new channel.
  • Page 75: Mld Snooping Configuration Examples

    Task Command display mld-snooping group [ ipv6-group-address | Display dynamic MLD snooping ipv6-source-address ] * [ vlan vlan-id ] [ verbose ] [ slot group entries. slot-number ] display mld-snooping static-group [ ipv6-group-address | Display static MLD snooping group ipv6-source-address ] * [ vlan vlan-id ] [ verbose ] [ slot entries.
  • Page 76 Figure 24 Network diagram Configuration procedure Assign an IPv6 address and prefix length to each interface according to Figure 24. (Details not shown.) Configure Router A: # Enable IPv6 multicast routing. <RouterA> system-view [RouterA] ipv6 multicast routing [RouterA-mrib6] quit # Enable MLD on GigabitEthernet 1/0/1. [RouterA] interface gigabitethernet 1/0/1 [RouterA-GigabitEthernet1/0/1] mld enable [RouterA-GigabitEthernet1/0/1] quit...
  • Page 77: Static Port Configuration Example

    # Configure an IPv6 multicast group policy so that the hosts in VLAN 100 can join only the IPv6 multicast group FF1E::101. [SwitchA] acl ipv6 number 2001 [SwitchA-acl6-basic-2001] rule permit source ff1e::101 128 [SwitchA-acl6-basic-2001] quit [SwitchA] mld-snooping [SwitchA–mld-snooping] group-policy 2001 vlan 100 [SwitchA–mld-snooping] quit # Configure GigabitEthernet 1/0/3 and GigabitEthernet 1/0/4 as simulated member hosts to join IPv6 multicast group FF1E::101.
  • Page 78 attached to Switch C only along the path of Switch A—Switch B—Switch C. When this path is blocked, a minimum of one MLD query-response cycle must be completed before IPv6 multicast data flows to the receivers along the path of Switch A—Switch C. In this case, the multicast delivery is interrupted during the process.
  • Page 79 [SwitchA-mld-snooping] quit # Create VLAN 100, and assign GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3 to the VLAN. [SwitchA] vlan 100 [SwitchA-vlan100] port gigabitethernet 1/0/1 to gigabitethernet 1/0/3 # Enable MLD snooping for VLAN 100. [SwitchA-vlan100] mld-snooping enable [SwitchA-vlan100] quit # Configure GigabitEthernet 1/0/3 as a static router port. [SwitchA] interface gigabitethernet 1/0/3 [SwitchA-GigabitEthernet1/0/3] mld-snooping static-router-port vlan 100 [SwitchA-GigabitEthernet1/0/3] quit...
  • Page 80: Mld Snooping Querier Configuration Example

    Router slots (1 in total): Router ports (1 in total): GE1/0/3 The output shows that GigabitEthernet 1/0/3 on Switch A has become a static router port. # Display static MLD snooping group entries in VLAN 100 on Switch C. [SwitchC] display mld-snooping static-group vlan 100 Total 1 entries).
  • Page 81 Figure 26 Network diagram Source 1 Source 2 VLAN 100 1::10/64 1::20/64 Receiver Receiver GE1/0/2 GE1/0/2 GE1/0/1 GE1/0/3 GE1/0/3 GE1/0/1 Host A GE1/0/4 Host B Switch A Switch B Querier Receiver Receiver GE1/0/2 GE1/0/1 GE1/0/2 GE1/0/3 GE1/0/1 Host D Host C Switch D Switch C Configuration procedure...
  • Page 82 Configure Switch C: # Enable MLD snooping globally. <SwitchC> system-view [SwitchC] mld-snooping [SwitchC-mld-snooping] quit # Create VLAN 100, and assign GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3 to the VLAN. [SwitchC] vlan 100 [SwitchC-vlan100] port gigabitethernet 1/0/1 to gigabitethernet 1/0/3 # Enable MLD snooping, and enable dropping unknown IPv6 multicast packets for VLAN 100. [SwitchC-vlan100] mld-snooping enable [SwitchC-vlan100] mld-snooping drop-unknown [SwitchC-vlan100] quit...
  • Page 83: Troubleshooting Mld Snooping

    Troubleshooting MLD snooping Layer 2 multicast forwarding cannot function Symptom Layer 2 multicast forwarding cannot function through MLD snooping. Solution To resolve the problem: Use the display mld-snooping command to display MLD snooping status. If MLD snooping is not enabled, use the mld-snooping command in system view to enable MLD snooping globally.
  • Page 84: Configuring Ipv6 Pim Snooping

    Configuring IPv6 PIM snooping Overview IPv6 PIM snooping runs on Layer 2 devices. It works with MLD snooping to analyze received IPv6 PIM messages, and adds the ports that are interested in specific multicast data to an IPv6 PIM snooping routing entry. In this way, the multicast data can be forwarded to only the ports that are interested in the data.
  • Page 85: Configuring Ipv6 Pim Snooping

    b. Broadcasts all other types of received IPv6 PIM messages except PIM hello messages in the VLAN. c. Forwards all multicast data to all router ports in the VLAN. Each IPv6 PIM-capable router in the VLAN, whether interested in the multicast data or not, can receive all multicast data and all IPv6 PIM messages except IPv6 PIM hello messages.
  • Page 86: Displaying And Maintaining Ipv6 Pim Snooping

    Displaying and maintaining IPv6 PIM snooping Execute display commands in any view and reset commands in user view. Task Command Display IPv6 PIM snooping neighbor display ipv6 pim-snooping neighbor [ vlan vlan-id ] [ slot information. slot-number ] [ verbose ] Display IPv6 PIM snooping routing display ipv6 pim-snooping routing-table [ vlan vlan-id ] [ slot entries.
  • Page 87 Configuration procedure Assign an IPv6 address and prefix length for each interface according to Figure 28. (Details not shown.) Configure RIPng on all the routers. (Details not shown.) Configure Router A: # Enable IPv6 multicast routing globally. <RouterA> system-view [RouterA] ipv6 multicast routing [RouterA-mrib6] quit # Enable IPv6 PIM-SM on each interface.
  • Page 88 # Enable IPv6 multicast routing globally. <RouterD> system-view [RouterD] ipv6 multicast routing [RouterD-mrib6] quit # Enable MLD on GigabitEthernet 1/0/1. [RouterD] interface gigabitethernet 1/0/1 [RouterD-GigabitEthernet1/0/1] mld enable [RouterD-GigabitEthernet1/0/1] quit # Enable IPv6 PIM-SM on GigabitEthernet 1/0/2. [RouterD] interface gigabitethernet 1/0/2 [RouterD-GigabitEthernet1/0/2] ipv6 pim sm [RouterD-GigabitEthernet1/0/2] quit Configure Switch A:...
  • Page 89: Troubleshooting Ipv6 Pim Snooping

    The output shows that Router A, Router B, Router C, and Router D are IPv6 PIM snooping neighbors. # On Switch A, display IPv6 PIM snooping routing entries for VLAN 100. [SwitchA] display pim-snooping ipv6 routing-table vlan 100 Total 2 entries. FSM flag: NI-no info, J-join, PP-prune pending VLAN 100: Total 2 entries.
  • Page 90: Configuring Ipv6 Multicast Vlans

    Configuring IPv6 multicast VLANs Overview As shown in Figure 29, Host A, Host B, and Host C are in different VLANs and the same IPv6 multicast group. When Switch A (Layer 3 device) receives IPv6 multicast data for that group, it sends three copies of the data to Switch B (Layer 2 device).
  • Page 91 Figure 30 Sub-VLAN-based multicast VLAN MLD snooping manages router ports in the IPv6 multicast VLAN and member ports in each sub-VLAN. When Switch A receives IPv6 multicast data from the multicast source, it sends only one copy of the IPv6 multicast data to the IPv6 multicast VLAN on Switch B. Then, Switch B sends a separate copy to each sub-VLAN of the IPv6 multicast VLAN.
  • Page 92: Ipv6 Multicast Vlan Configuration Task List

    IPv6 multicast VLAN configuration task list Task at a glance (Required.) Perform one of the following tasks: • Configuring a sub-VLAN-based IPv6 multicast VLAN • Configuring a port-based IPv6 multicast VLAN Configuring user port attributes Assigning user ports to an IPv6 multicast VLAN (Optional.) Setting the maximum number of IPv6 multicast VLAN forwarding entries If you have configured both a sub-VLAN-based IPv6 multicast VLAN and a port-based IPv6 multicast...
  • Page 93: Configuring A Port-Based Ipv6 Multicast Vlan

    Configuring a port-based IPv6 multicast VLAN To configure a port-based IPv6 multicast VLAN, perform the following steps: Configure a VLAN as an IPv6 multicast VLAN. Configure the attributes for user ports that are connected to the multicast receivers. Assign the user ports to the IPv6 multicast VLAN. You can assign a port to an IPv6 multicast VLAN only when the port is an Ethernet port or a Layer 2 aggregate interface.
  • Page 94: Setting The Maximum Number Of Ipv6 Multicast Vlan Forwarding Entries

    Assigning ports to an IPv6 multicast VLAN in IPv6 multicast VLAN view Step Command Remarks Enter system view. system-view Configure an IPv6 VLAN as By default, a VLAN is not an IPv6 an IPv6 multicast VLAN and ipv6 multicast-vlan vlan-id multicast VLAN.
  • Page 95: Ipv6 Multicast Vlan Configuration Examples

    Task Command Display information about IPv6 display ipv6 multicast-vlan group [ ipv6-source-address | multicast groups in IPv6 multicast ipv6-group-address | slot slot-number | verbose | vlan vlan-id ] * VLANs. display ipv6 multicast-vlan forwarding-table Display IPv6 multicast VLAN [ ipv6-source-address [ prefix-length ] | ipv6-group-address forwarding entries.
  • Page 96 Configuration procedure Configure Switch A: # Enable IPv6 multicast routing globally. <SwitchA> system-view [SwitchA] ipv6 multicast routing [SwitchA-mrib6] quit # Create VLAN 20, and assign GigabitEthernet 1/0/2 to this VLAN. [SwitchA] vlan 20 [SwitchA-vlan20] port gigabitethernet 1/0/2 [SwitchA-vlan20] quit # Assign an IPv6 address to VLAN-interface 20, and enable IPv6 PIM-DM. [SwitchA] interface vlan-interface 20 [SwitchA-Vlan-interface20] ipv6 address 1::2 64 [SwitchA-Vlan-interface20] ipv6 pim dm...
  • Page 97: Port-Based Ipv6 Multicast Vlan Configuration Example

    [SwitchB] vlan 4 [SwitchB-vlan4] port gigabitethernet 1/0/4 [SwitchB-vlan4] mld-snooping enable [SwitchB-vlan4] quit # Create VLAN 10, and enable MLD snooping for this VLAN. [SwitchB] vlan 10 [SwitchB-vlan10] mld-snooping enable [SwitchB-vlan10] quit # Configure GigabitEthernet 1/0/1 as a hybrid port, and assign it to VLAN 10 as a tagged VLAN member.
  • Page 98 • Switch A acts as the MLD querier. • The IPv6 multicast source sends IPv6 multicast data to IPv6 multicast group FF1E::101. Host A, Host B, and Host C are receivers. They belong to VLAN 2 through VLAN 4, respectively. Configure a port-based IPv6 multicast VLAN on Switch B to achieve the following goals: •...
  • Page 99 [SwitchA-Vlan-interface10] mld enable [SwitchA-Vlan-interface10] quit Configure Switch B: # Enable MLD snooping globally. <SwitchB> system-view [SwitchB] mld-snooping [SwitchB-mld-snooping] quit # Create VLAN 10, assign GigabitEthernet 1/0/1 to VLAN 10, and enable MLD snooping for this VLAN. [SwitchB] vlan 10 [SwitchB-vlan10] port gigabitethernet 1/0/1 [SwitchB-vlan10] mld-snooping enable [SwitchB-vlan10] quit # Create VLAN 2, and enable MLD snooping for the VLAN.
  • Page 100 # Assign GigabitEthernet 1/0/4 to VLAN 4 and VLAN 10 as an untagged VLAN member. [SwitchB-GigabitEthernet1/0/4] port hybrid vlan 4 untagged [SwitchB-GigabitEthernet1/0/4] port hybrid vlan 10 untagged [SwitchB-GigabitEthernet1/0/4] quit # Configure VLAN 10 as an IPv6 multicast VLAN. [SwitchB] ipv6 multicast-vlan 10 # Assign GigabitEthernet 1/0/2 and GigabitEthernet 1/0/3 to VLAN 10.
  • Page 101: Document Conventions And Icons

    Document conventions and icons Conventions This section describes the conventions used in the documentation. Port numbering in examples The port numbers in this document are for illustration only and might be unavailable on your device. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown.
  • Page 102: Network Topology Icons

    Network topology icons Convention Description Represents a generic network device, such as a router, switch, or firewall. Represents a routing-capable device, such as a router or Layer 3 switch. Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports Layer 2 forwarding and other Layer 2 features.
  • Page 103: Support And Other Resources

    Support and other resources Accessing Hewlett Packard Enterprise Support • For live assistance, go to the Contact Hewlett Packard Enterprise Worldwide website: www.hpe.com/assistance • To access documentation and support services, go to the Hewlett Packard Enterprise Support Center website: www.hpe.com/support/hpesc Information to collect •...
  • Page 104: Websites

    For more information and device support details, go to the following website: www.hpe.com/info/insightremotesupport/docs Documentation feedback Hewlett Packard Enterprise is committed to providing documentation that meets your needs. To help us improve the documentation, send any errors, suggestions, or comments to Documentation Feedback (docsfeedback@hpe.com). When submitting your feedback, include the document title,...
  • Page 105 part number, edition, and publication date located on the front cover of the document. For online help content, include the product name, product version, help edition, and publication date located on the legal notices page.
  • Page 106: Index

    Index IP multicast IGMP snooping fast leave Numerics processing, IP multicast IGMP snooping max number IGMP snooping message 802.1p priority, multicast groups on port, MLD snooping 802.1p message priority, IP multicast IGMP snooping multicast group policy, IP multicast IGMP snooping multicast group policy (global), IP multicast IGMP snooping policy IP multicast IGMP snooping multicast group...
  • Page 107 MLD snooping policy, IP multicast IGMP snooping fast-leave processing (global), MLD snooping port features, IP multicast IGMP snooping fast-leave processing MLD snooping simulated member host (on port), port, IP multicast IGMP snooping report MLD snooping static ports, suppression, multicast IGMP message source IP address IP multicast MLD snooping fast-leave processing (IGMP snooping), (global),...
  • Page 108 multicast source port filtering, policy configuration, general query port feature configuration, IPv6 multicast MLD snooping, protocols and standards, group querier configuration, 21, IGMP snooping multicast group querier enable, replacement, query/response parameter configuration, IP multicast IGMP snooping multicast group policy, related ports, MLD snooping IPv6 multicast group report suppression, replacement,...
  • Page 109 IGMP snooping leave message, protocols and standards, IGMP snooping max forwarding entries, SFM model, IGMP snooping max number groups on SSM model, port, transmission technique, IGMP snooping membership report, transmission techniques, IGMP snooping message 802.1p priority, troubleshooting IGMP snooping, IGMP snooping multicast group troubleshooting IGMP snooping Layer 2 multicast replacement, forwarding,...
  • Page 110 port -based, IP multicast IGMP snooping member port, port-based configuration, IPv6 multicast MLD snooping member port, port-based user port assignment, membership report port-based user port attribute IP multicast IGMP snooping, configuration, IPv6 multicast MLD snooping, sub-VLAN-based, message sub-VLAN-based configuration, IGMP snooping message 802.1p priority, IPv6 PIM snooping IP multicast IGMP snooping leave, configuration, 79, 80,...
  • Page 111 max forwarding entries, IP multicast packet forwarding, message parameter configuration, IPv6 multicast port-based VLAN user port assignment, message source IPv6 address, IPv6 multicast port-based VLAN user port policy configuration, attribute configuration, port feature configuration, MLD snooping group policy+simulated joining protocols and standards, configuration (VLAN), querier configuration, 63, MLD snooping IPv6 multicast source port...
  • Page 112 IP multicast PIM snooping IP multicast IGMP snooping router port, configuration, 38, IP multicast IGMP snooping static port, IPv6 PIM snooping configuration, 79, 80, IP multicast IGMP snooping static port PIM snooping configuration, configuration, parameter IP multicast PIM snooping configuration, 38, IP multicast IGMP message parameters IP multicast port-based IPv6 multicast VLAN, (IGMP snooping),...
  • Page 113 procedure configuring IPv6 multicast MLD snooping basic features, assigning IPv6 multicast port-based VLAN user port, configuring IPv6 multicast MLD snooping group policy, configuring IGMP snooping group policy+simulated joining, configuring IPv6 multicast MLD snooping group policy (global), configuring IGMP snooping simulated member host, configuring IPv6 multicast MLD snooping group policy (port),...
  • Page 114 displaying IP multicast PIM snooping, setting IPv6 multicast MLD snooping dynamic port aging timers (VLAN), displaying IPv6 multicast VLAN, setting IPv6 multicast MLD snooping max displaying IPv6 PIM snooping, forwarding entries, displaying MLD snooping, setting IPv6 multicast VLAN max forwarding displaying multicast VLAN, entries, enabling IGMP snooping,...
  • Page 115 IPv6 multicast MLD snooping general IP multicast IGMP snooping fast leave query, processing, IPv6 multicast MLD snooping membership IP multicast IGMP snooping max forwarding report, entries, MLD snooping message parameters, IP multicast IGMP snooping multicast group policy, MLD snooping querier configuration, IP multicast IGMP snooping multicast source port MLD snooping querier enable, filtering,...
  • Page 116 sub-VLAN-based IPv6 multicast VLAN configuration, IP multicast model, static IP multicast notation, IP multicast IGMP snooping static port, IP multicast IGMP snooping static port configuration, setting MLD snooping static port configuration, IGMP snooping message 802.1p priority, sub-VLAN-based IPv6 multicast VLAN IGMP snooping message 802.1p priority configuration, 87, (global),...
  • Page 117 IPv6 PIM snooping on Layer 2 device, IPv6 multicast MLD snooping fast-leave processing enable, Layer 2 IPv6 multicast MLD snooping forwarding, IPv6 multicast MLD snooping querier configuration, 75, IPv6 multicast VLAN. See IPv6 multicast VLAN unicast MLD snooping 802.1p message priority, IP multicast transmission technique, MLD snooping dynamic port aging timers, MLD snooping group policy+simulated joining...

Table of Contents