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...
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.
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.
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.
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. •...
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.
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.
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: •...
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.
• 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.
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 •...
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. •...
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: •...
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.
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.
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...
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).
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. •...
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.
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.
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.
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. •...
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.
# 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...
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.
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.
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...
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.
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.
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.
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.
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...
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...
[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...
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 •...
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.
• 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.
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.
• 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: •...
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. •...
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.
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.
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.
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.
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.
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.
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...
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.
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.
# 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...
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...
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.
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.
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.
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.
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.
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.
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...
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.
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.
[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.
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.
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.
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 •...
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.
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),...