HP FlexFabric 5700 Switch Series IP Multicast Configuration Guide Part number: 5998-6682 Software version: Release 2416 Document version: 6W100-20150130...
Page 2
The only warranties for HP 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.
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 ································································································································································ 5 ...
Page 4
Static port configuration example ······················································································································· 33 IGMP snooping querier configuration example ································································································· 36 Troubleshooting IGMP snooping ·································································································································· 39 Layer 2 multicast forwarding cannot function ···································································································· 39 Multicast group policy does not work ················································································································· 39 Configuring PIM snooping ········································································································································ 41 ...
Page 5
Sub-VLAN-based IPv6 multicast VLAN configuration example ········································································· 98 Port-based IPv6 multicast VLAN configuration example ················································································· 101 Support and other resources ·································································································································· 105 Contacting HP ······························································································································································ 105 Subscription service ············································································································································ 105 Related information ······················································································································································ 105 ...
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. By using multicast technology, a network operator can easily provide bandwidth-critical and time-critical information services.
Page 7
a separate copy of the same information to each of these hosts. Sending many copies can place a tremendous pressure on the information source and the network bandwidth. Unicast is not suitable for batch transmission of information. 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 3 Multicast transmission 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.
For a better understanding of the multicast concept, you can compare multicast transmission to the transmission of TV programs. 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.
Multicast models Based on how the receivers treat the multicast sources, the multicast models include any-source multicast (ASM), source-filtered multicast (SFM), and source-specific multicast (SSM). ASM model In the ASM model, any multicast sources can send information to a multicast group. Receivers can join a multicast group and get multicast information addressed to that multicast group from any multicast sources.
Multicast addresses IP multicast addresses IPv4 multicast addresses: • IANA assigns the Class D address block (224.0.0.0 to 239.255.255.255) to IPv4 multicast. Table 2 Class D IP address blocks and description Address block Description Reserved permanent group addresses. The IP address 224.0.0.0 is reserved.
Page 12
Address Description 224.0.0.13 All Protocol Independent Multicast (PIM) routers. 224.0.0.14 RSVP encapsulation. 224.0.0.15 All Core-Based Tree (CBT) routers. 224.0.0.16 Designated SBM. 224.0.0.17 All SBMs. 224.0.0.18 VRRP. • IPv6 multicast addresses: Figure 4 IPv6 multicast format The following describes the fields of an IPv6 multicast address: 0xFF—The most significant eight bits are 1 1 1 1 1 1 1 1.
Page 13
Table 5 Values of the Scope field Value Meaning 0, F Reserved. Interface-local scope. Link-local scope. Subnet-local scope. Admin-local scope. Site-local scope. 6, 7, 9 through D Unassigned. Organization-local scope. Global scope. Group ID—The Group ID field contains 1 12 bits. It uniquely identifies an IPv6 multicast group in the scope that the Scope field defines.
Figure 7 An example of IPv6-to-MAC address mapping IMPORTANT: Because of the duplicate mapping from multicast IP address to multicast MAC address, the device might inadvertently send multicast protocol packets as multicast data in Layer 2 forwarding. To avoid this, do not use the IP multicast addresses that are mapped to multicast MAC addresses 0100-5E00-00xx and 3333-0000-00xx (where "x"...
Page 15
Figure 8 Positions of Layer 3 multicast protocols Multicast group management protocols: • Internet Group Management Protocol (IGMP) and Multicast Listener Discovery (MLD) protocol are multicast group management protocols. Typically, they run between hosts and Layer 3 multicast devices that directly connect to the hosts to establish and maintain the multicast group memberships.
Figure 9 Positions of Layer 2 multicast protocols IGMP snooping and MLD snooping: • IGMP snooping and MLD snooping run on Layer 2 devices as multicast constraining mechanisms to improve multicast forwarding efficiency. They generate Layer 2 multicast forwarding tables by listening to IGMP or MLD messages exchanged between the hosts and Layer 3 multicast devices.
whether the packet will be forwarded or discarded. The RPF check mechanism is the basis for most multicast routing protocols to implement multicast forwarding. Multicast support for VPNs Multicast support for VPNs refers to multicast applied in VPNs. Introduction to VPN instances VPNs must be isolated from one another and from the public network.
Page 18
The PE devices also implements information exchange and data conversion between the public • network and VPN instances. For example, as shown in Figure 10, a multicast source in VPN A sends multicast data to a multicast group. Only receivers that belong to both the multicast group and VPN A can receive the multicast data. The multicast data is multicast both in VPN A and on the public network.
Configuring IGMP snooping Overview IGMP snooping runs on a Layer 2 switch 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 1 1, when IGMP snooping is not enabled, the Layer 2 switch floods multicast packets...
Page 20
Figure 12 IGMP snooping related ports The following describes the ports involved in IGMP snooping: Router port—Layer 3 multicast device-side port. Layer 3 multicast devices include designated • routers (DRs) and IGMP queriers. In Figure 12, Ten-GigabitEthernet 1/0/1 of Switch A and Ten-GigabitEthernet 1/0/1 of Switch B are the router ports.
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 switch 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.
When the switch receives an IGMP leave message on a dynamic member port, the switch first examines whether a forwarding entry matches the group address in the message. If no match is found, the switch discards the IGMP leave message. •...
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 Enable IGMP snooping By default, IGMP snooping is globally and enter igmp-snooping globally disabled. IGMP-snooping view. Return to system view. quit Enter VLAN view. vlan vlan-id Enable IGMP snooping for the By default, IGMP snooping is igmp-snooping enable VLAN.
When the number of forwarding entries on the device reaches the upper limit, the device does not automatically remove any existing entries. To allow new entries to be created, HP recommends that you manually remove some entries.
Step Command Remarks Set the global aging timer for host-aging-time interval The default setting is 260 seconds. dynamic member ports globally. Setting the aging timers for the dynamic ports in a VLAN Step Command Remarks Enter system view. system-view Enter VLAN view. vlan vlan-id Set the aging timer for the igmp-snooping router-aging-time...
Configuring a port as a simulated member host When a port is configured as a simulated member host, it is equivalent to an independent host in the following ways: • It sends an unsolicited IGMP report when you complete the configuration. It responds to IGMP general queries with IGMP reports.
Enabling fast-leave processing on a port Step Command Remarks Enter system view. system-view Enter Layer 2 Ethernet interface interface-type interface view or Layer 2 interface-number aggregate interface view. Enable fast-leave processing igmp-snooping fast-leave [ vlan By default, fast-leave processing is on the port.
IGMP querier elections. However, it might affect IGMP querier elections if it sends IGMP general queries with a low source IP address. On a TRILL network, if an RB acts as both the IGMP snooping querier and the AVF of a VLAN, HP •...
You can configure parameters for IGMP queries and responses for the current VLAN in VLAN view or globally for all VLANs in IGMP-snooping view. The configuration made in VLAN view takes priority over the configuration made in IGMP-snooping view. Configuring the global parameters for IGMP queries and responses Step Command Remarks...
Configuring source IP addresses for IGMP messages A Layer 2 device does not enlist the port that receives an IGMP query whose source IP address is 0.0.0.0 on a port as a dynamic router port. This might prevent multicast forwarding entries from being correctly created at the data link layer and eventually cause multicast traffic forwarding failures.
Setting the 802.1p priority for IGMP messages globally Step Command Remarks Enter system view. system-view Enter IGMP-snooping view. igmp-snooping Set the 802.1p priority for By default, the 802.1p priority for dot1p-priority priority-number IGMP messages. IGMP messages is not configured. Setting the 802.1p priority for IGMP messages in a VLAN Step Command Remarks...
Configuring a multicast group policy on a port Step Command Remarks Enter system view. system-view Enter Layer 2 Ethernet interface interface-type interface view or Layer 2 interface-number aggregate interface view. Configure a multicast group igmp-snooping group-policy By default, multicast group policies policy on the port.
Step Command Remarks Enter VLAN view. vlan vlan-id Enable dropping unknown By default, this feature is disabled. igmp-snooping drop-unknown multicast data for the VLAN. Unknown multicast data is flooded. Enabling IGMP report suppression This feature enables the switch to forward only the first IGMP report for a multicast group to its directly connected Layer 3 device.
application. Without this feature, the switch discards IGMP reports for new groups, and the user cannot change to the new channel. Configuration 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 | multicast group entries.
Page 37
Configuration procedure Assign an IP address and subnet mask to each interface according to Figure 13. (Details not shown.) Configure Router A: # Enable IP multicast routing. <RouterA> system-view [RouterA] multicast routing [RouterA-mrib] quit # Enable IGMP on Ten-GigabitEthernet 1/0/1. [RouterA] interface ten-gigabitethernet 1/0/1 [RouterA-Ten-GigabitEthernet1/0/1] igmp enable [RouterA-Ten-GigabitEthernet1/0/1] quit...
(0.0.0.0, 224.1.1.1) Host slots (0 in total): Host ports (2 in total): XGE1/0/3 (00:03:23) XGE1/0/4 (00:04:10) The output shows the following information: Host A and Host B have joined the multicast group 224.1.1.1 through the member ports • Ten-GigabitEthernet 1/0/4 and Ten-GigabitEthernet 1/0/3 on Switch A, respectively. Host A and Host B have failed to join the multicast group 224.2.2.2.
Page 39
Figure 14 Network diagram Configuration procedure Assign an IP address and subnet mask to each interface as shown in Figure 14. (Details not shown.) On Router A: # Enable IP multicast routing. <RouterA> system-view [RouterA] multicast routing [RouterA-mrib] quit # Enable IGMP on Ten-GigabitEthernet 1/0/1. [RouterA] interface ten-gigabitethernet 1/0/1 [RouterA-Ten-GigabitEthernet1/0/1] igmp enable [RouterA-Ten-GigabitEthernet1/0/1] quit...
Page 40
[SwitchA-vlan100] igmp-snooping enable [SwitchA-vlan100] quit # Configure Ten-GigabitEthernet 1/0/3 as a static router port. [SwitchA] interface ten-gigabitethernet 1/0/3 [SwitchA-Ten-GigabitEthernet1/0/3] igmp-snooping static-router-port vlan 100 [SwitchA-Ten-GigabitEthernet1/0/3] quit Configure Switch B: # Enable IGMP snooping globally. <SwitchB> system-view [SwitchB] igmp-snooping [SwitchB-igmp-snooping] quit # Create VLAN 100, and assign Ten-GigabitEthernet 1/0/1 and Ten-GigabitEthernet 1/0/2 to the VLAN.
The output shows that Ten-GigabitEthernet 1/0/3 on Switch A has become a static router port. # Display information about the static IGMP snooping forwarding entries in VLAN 100 on Switch C. [SwitchC] display igmp-snooping static-group vlan 100 Total 1 entries. VLAN 100: Total 1 entries.
Page 42
Figure 15 Network diagram Configuration procedure Configure Switch A: # Enable IGMP snooping globally. <SwitchA> system-view [SwitchA] igmp-snooping [SwitchA-igmp-snooping] quit # Create VLAN 100, and assign Ten-GigabitEthernet 1/0/1 through Ten-GigabitEthernet 1/0/3 to the VLAN. [SwitchA] vlan 100 [SwitchA-vlan100] port ten-gigabitethernet 1/0/1 to ten-gigabitethernet 1/0/3 # Enable IGMP snooping, and enable dropping unknown multicast packets for VLAN 100.
Page 43
[SwitchB] vlan 100 [SwitchB-vlan100] port ten-gigabitethernet 1/0/1 to ten-gigabitethernet 1/0/4 # 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 Ten-GigabitEthernet 1/0/1 through Ten-GigabitEthernet 1/0/3...
If IGMP snooping is enabled globally but not enabled for the VLAN, use the igmp-snooping enable command in VLAN view to enable IGMP snooping for the VLAN. If the problem persists, contact HP Support. Multicast group policy does not work...
Page 45
Use the display igmp-snooping command to verify that dropping unknown multicast data is enabled. If not, use the igmp-snooping drop-unknown command to enable dropping unknown multicast data. If the problem persists, contact HP Support.
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.
Page 47
Forwards all multicast data to all router ports in the VLAN. 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 •...
Displaying and maintaining PIM snooping Execute display commands in any view and reset commands in user view. Task Command display pim-snooping neighbor [ vlan vlan-id ] [ slot Display PIM snooping neighbor information. slot-number ] [ verbose ] display pim-snooping routing-table [ vlan vlan-id ] Display PIM snooping routing entries.
Page 49
Figure 17 Network diagram Configuration procedure Assign an IP address and subnet mask to each interface according to Figure 17. (Details not shown.) Configure OSPF on all the routers. (Details not shown.) Configure Router A: # Enable IP multicast routing. <RouterA>...
If IGMP snooping is not enabled, enable IGMP snooping globally, and then enable IGMP snooping and PIM snooping for the VLAN. If PIM snooping is not enabled, enable PIM snooping for the VLAN. If the problem persists, contact HP Support.
Configuring multicast VLANs Overview As shown in Figure 18, 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 54
Figure 19 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.
Multicast VLAN configuration task list Tasks 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.
Step Command Remarks Assign the specified VLANs to By default, a multicast VLAN does the multicast VLAN as subvlan vlan-list not have any sub-VLANs. sub-VLANs. Configuring a port-based multicast VLAN To configure a port-based multicast VLAN, perform the following steps: Configure a VLAN as the multicast VLAN.
If the total number of the entries exceeds the upper limit value that you are setting, the system does not automatically remove existing entries or create new entries. In this case, HP recommends that you remove excess entries manually.
Step Command Remarks Enter system view. system-view Set the maximum number of multicast VLAN forwarding multicast-vlan entry-limit limit The default setting is 4000. entries. Displaying and maintaining multicast VLANs Execute display commands in any view and reset commands in user view. Task Command Display information about multicast...
Page 59
Figure 21 Network diagram Configuration procedure Configure Switch A: # Enable IP multicast routing. <SwitchA> system-view [SwitchA] multicast routing [SwitchA-mrib] quit # Create VLAN 20, and assign Ten-GigabitEthernet 1/0/2 to this VLAN. [SwitchA] vlan 20 [SwitchA-vlan20] port ten-gigabitethernet 1/0/2 [SwitchA-vlan20] quit # Assign an IP address to VLAN-interface 20, and enable PIM-DM on this interface.
Page 60
[SwitchA-Vlan-interface10] quit Configure Switch B: # Enable IGMP snooping. <SwitchB> system-view [SwitchB] igmp-snooping [SwitchB-igmp-snooping] quit # Create VLAN 2, assign Ten-GigabitEthernet 1/0/2 to this VLAN, and enable IGMP snooping in this VLAN. [SwitchB] vlan 2 [SwitchB-vlan2] port ten-gigabitethernet 1/0/2 [SwitchB-vlan2] igmp-snooping enable [SwitchB-vlan2] quit # Create VLAN 3, assign Ten-GigabitEthernet 1/0/3 to this VLAN, and enable IGMP snooping in this VLAN.
Port list(0 in total): # Display multicast VLAN forwarding entries on Switch B. [SwitchB] display multicast-vlan group Total 1 entries. Multicast VLAN 10: Total 1 entries. (0.0.0.0, 224.1.1.1) Sub-VLANs (3 in total): VLAN 2 VLAN 3 VLAN 4 The output shows that the multicast VLAN (VLAN 10) contains sub-VLANs VLAN 2 through VLAN 4. Switch B will replicate the multicast data of VLAN 10 to VLAN 2 through VLAN 4.
Page 62
Configuration procedure Configure Switch A: # Enable IP multicast routing. <SwitchA> system-view [SwitchA] multicast routing [SwitchA-mrib] quit # Create VLAN 20, and assign Ten-GigabitEthernet 1/0/2 to this VLAN. [SwitchA] vlan 20 [SwitchA-vlan20] port ten-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 63
# Create VLAN 4, and enable IGMP snooping for the VLAN. [SwitchB] vlan 4 [SwitchB-vlan4] igmp-snooping enable [SwitchB-vlan4] quit # Configure Ten-GigabitEthernet 1/0/2 as a hybrid port, and configure VLAN 2 as the PVID of the hybrid port. [SwitchB] interface ten-gigabitethernet 1/0/2 [SwitchB-Ten-GigabitEthernet1/0/2] port link-type hybrid [SwitchB-Ten-GigabitEthernet1/0/2] port hybrid pvid vlan 2 # Assign Ten-GigabitEthernet 1/0/2 to VLAN 2 and VLAN 10 as an untagged VLAN member.
Page 64
Sub-VLAN list(0 in total): Port list(0 in total): XGE1/0/2 XGE1/0/3 XGE1/0/4 # Display IGMP snooping forwarding entries for the dynamic multicast groups on Switch B. [SwitchB] display igmp-snooping group Total 1 entries. VLAN 10: Total 1 entries. (0.0.0.0, 224.1.1.1) Host slots (0 in total): Host ports (3 in total): XGE1/0/2 (00:03:23)
Configuring MLD snooping Overview MLD snooping runs on a Layer 2 switch 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 23, when MLD snooping is not enabled, the Layer 2 switch floods IPv6 multicast...
Page 66
Figure 24 MLD snooping related ports The following describes the ports involved in MLD snooping, as shown in Figure Router port—Layer 3 multicast device-side port. Layer 3 multicast devices include designated • routers and MLD queriers. In Figure 24, Ten-GigabitEthernet 1/0/1 of Switch A and Ten-GigabitEthernet 1/0/1 of Switch B are the router ports.
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 switch 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 no match is found, the switch discards the MLD done message. • • If a match is found but the receiving port is not in the forwarding entry, the switch discards the MLD done message. If a match is found and the receiving port is in the forwarding entry, the switch forwards the done •...
Tasks at a glance Configuring MLD snooping policies: • (Optional.) Configuring an IPv6 multicast group policy • (Optional.) Configuring IPv6 multicast source port filtering • (Optional.) Enabling dropping unknown IPv6 multicast data • (Optional.) Enabling MLD report suppression • (Optional.) Setting the maximum number of IPv6 multicast groups on a port •...
Step Command Remarks Enable MLD snooping By default, MLD snooping is globally and enter mld-snooping globally disabled. MLD-snooping view. Return to system view. quit Enter VLAN view. vlan vlan-id Enable MLD snooping for the By default, MLD snooping is mld-snooping enable VLAN.
When the number of forwarding entries on the device reaches the upper limit, the device does not automatically remove any existing entries. To allow new entries to be created, HP recommends that you manually remove some entries.
Step Command Remarks Set the aging timer for dynamic member ports host-aging-time interval The default setting is 260 seconds. globally. Setting the aging timers for the dynamic ports in a VLAN Step Command Remarks Enter system view. system-view Enter VLAN view. vlan vlan-id Set the aging timer for the mld-snooping router-aging-time...
Configuring a port as a simulated member host When a port is configured as a simulated member host, it is equivalent to an independent host in the following ways: • It sends an unsolicited MLD report when you complete the configuration. It responds to MLD general queries with MLD reports.
Enabling fast-leave processing on a port Step Command Remarks Enter system view. system-view Enter Layer 2 Ethernet interface interface-type interface view or Layer 2 interface-number aggregate interface view. Enable fast-leave processing mld-snooping fast-leave [ vlan By default, fast-leave processing is on the port.
MLD general queries with a low source IPv6 address. • On a TRILL network, if an RB acts as both the MLD snooping querier and the AVF of a VLAN, HP recommends that you configure the designated port as a static router port. Otherwise, MLD snooping forwarding entries cannot be created.
You can configure parameters for MLD queries and responses for the current VLAN in VLAN view or globally for all VLANs in MLD-snooping view. The configuration made in VLAN view takes priority over the configuration made in MLD-snooping view. Configuring parameters for MLD queries and responses globally Step Command Remarks...
You can also change the source IPv6 address of MLD reports or leave messages sent by a simulated member host. To configure the source IP addresses for MLD messages in a VLAN: Step Command Remarks Enter system view. system-view Enter VLAN view. vlan vlan-id The default setting is the IPv6 link-local address of the current...
Setting the 802.1p priority for MLD messages globally Step Command Remarks Enter system view. system-view Enter MLD-snooping view. mld-snooping Set the 802.1p priority for By default, the 802.1p priority for dot1p-priority priority-number MLD messages. MLD messages is not configured. Setting the 802.1p priority for MLD messages in a VLAN Step Command Remarks...
Configuring an IPv6 multicast group policy on a port Step Command Remarks Enter system view. system-view Enter Layer 2 Ethernet interface interface-type interface view or Layer 2 interface-number aggregate interface view. By default, IPv6 multicast group Configure an IPv6 multicast mld-snooping group-policy policies are not configured on the group policy on the port.
Step Command Remarks Enter system view. system-view Enter VLAN view. vlan vlan-id Enable dropping unknown By default, this feature is disabled. IPv6 multicast data for the mld-snooping drop-unknown Unknown IPv6 multicast data is VLAN flooded. Enabling MLD report suppression This feature enables the switch to forward only the first MLD report for an IPv6 multicast group to its directly connected Layer 3 device.
Enabling the IPv6 multicast group replacement feature This feature enables the switch to replace an existing IPv6 multicast group with a newly joined group when the number of groups exceeds the upper limit. This feature is typically used in the channel switching application.
Task Command Display information about Layer 2 display ipv6 l2-multicast mac forwarding [ mac-address ] [ vlan IPv6 MAC multicast group entries. vlan-id ] [ slot slot-number ] Display MLD snooping status. display mld-snooping [ global | vlan vlan-id ] Display information about dynamic display mld-snooping group [ ipv6-group-address | MLD snooping forwarding entries.
Page 83
Figure 25 Network diagram Receiver Host A Source Receiver XGE1/0/4 XGE1/0/2 XGE1/0/1 XGE1/0/1 XGE1/0/3 1::2/64 2001::1/64 Switch A Host B XGE1/0/2 1::1/64 Router A MLD querier Host C VLAN 100 Configuration procedure Assign an IPv6 address and prefix length to each interface according to Figure 25.
[SwitchA-vlan100] quit # Configure IPv6 multicast group filtering 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 Verifying the configuration # Send MLD reports from Host A and Host B to join the IPv6 multicast groups FF1E::101 and FF1E::202.
Page 85
NOTE: If no static router port is configured, IPv6 multicast transmission is interrupted for a while after the path of Switch A—Switch B—Switch C is blocked. The reason is that at least one MLD query/response exchange is required before the new path can forward IPv6 multicast packets. For more information about the STP, see Layer 2—LAN Switching Configuration Guide.
Page 86
[SwitchA] mld-snooping [SwitchA-mld-snooping] quit # Create VLAN 100, and assign Ten-GigabitEthernet 1/0/1 through Ten-GigabitEthernet 1/0/3 to the VLAN. [SwitchA] vlan 100 [SwitchA-vlan100] port ten-gigabitethernet 1/0/1 to ten-gigabitethernet 1/0/3 # Enable MLD snooping for VLAN 100. [SwitchA-vlan100] mld-snooping enable [SwitchA-vlan100] quit # Configure Ten-GigabitEthernet 1/0/3 as a static router port.
Verifying the configuration # Display information about the static router ports in VLAN 100 on Switch A. [SwitchA] display mld-snooping static-router-port vlan 100 VLAN 100: Router slots (1 in total): Router ports (1 in total): XGE1/0/3 The output shows that Ten-GigabitEthernet 1/0/3 on Switch A has become a static router port. # Display information about the static MLD snooping forwarding entries in VLAN 100 on Switch C.
Page 88
Figure 27 Network diagram Configuration procedure Configure Switch A: # Enable MLD snooping globally. <SwitchA> system-view [SwitchA] mld-snooping [SwitchA-mld-snooping] quit # Create VLAN 100, and assign Ten-GigabitEthernet 1/0/1 through Ten-GigabitEthernet 1/0/3 to the VLAN. [SwitchA] vlan 100 [SwitchA-vlan100] port ten-gigabitethernet 1/0/1 to ten-gigabitethernet 1/0/3 # Enable MLD snooping, and enable dropping unknown IPv6 multicast packets for VLAN 100.
Page 89
[SwitchB-vlan100] quit Configure Switch C: # Enable MLD snooping globally. <SwitchC> system-view [SwitchC] mld-snooping [SwitchC-mld-snooping] quit # Create VLAN 100, and assign Ten-GigabitEthernet 1/0/1 through Ten-GigabitEthernet 1/0/3 to the VLAN. [SwitchC] vlan 100 [SwitchC-vlan100] port ten-gigabitethernet 1/0/1 to ten-gigabitethernet 1/0/3 # Enable MLD snooping, and enable dropping unknown multicast packets for VLAN 100.
If MLD snooping is enabled globally but not enabled for the VLAN, use the mld-snooping enable command in VLAN view to enable MLD snooping for the VLAN. If the problem persists, contact HP Support. IPv6 multicast group policy does not work...
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.
Page 92
Maintains the router ports according to the received IPv6 PIM hello messages that IPv6 PIM-capable routers send. Broadcasts all other types of received IPv6 PIM messages except PIM hello messages in the VLAN. 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.
Step Command Remarks (Optional.) Set the aging The default setting is 210 seconds. time for the IPv6 PIM snooping global A global downstream port or a ipv6 pim-snooping graceful-restart downstream ports and global router port is a Layer 2 join-aging-time interval global router ports on the aggregate interface that acts as a new master device in IRF...
Page 94
Figure 29 Network diagram Configuration procedure Assign an IPv6 address and prefix length for each interface according to Figure 29. (Details not shown.) Configure OSPFv3 on all the routers. (Details not shown.) Configure Router A: # Enable IPv6 multicast routing globally. <RouterA>...
If MLD snooping is not enabled, enable MLD snooping globally, and then enable MLD snooping and IPv6 PIM snooping for the VLAN. If IPv6 PIM snooping is not enabled, enable IPv6 PIM snooping for the VLAN. If the problem persists, contact HP Support.
Configuring IPv6 multicast VLANs Overview As shown in Figure 30, 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 99
Figure 31 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.
IPv6 multicast VLAN configuration task list Tasks 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...
Step Command Remarks Configure a VLAN as an IPv6 By default, a VLAN is not an IPv6 multicast VLAN and enter its ipv6 multicast-vlan vlan-id multicast VLAN. view. Assign the specified VLANs to By default, an IPv6 multicast VLAN does the IPv6 multicast VLAN as subvlan vlan-list not have any sub-VLANs.
Step Command Remarks By default, a hybrid port permits only VLAN 1. Configure the current user port to permit IPv6 multicast VLAN port hybrid vlan vlan-id-list untagged For more information about this and to untag the packets. command, see Layer 2—LAN Switching Command Reference.
If the total number of entries exceeds the upper limit value that you are setting, the system does not automatically remove existing entries or create new entries. In this case, HP recommends that you remove excess entries manually. To set the maximum number of IPv6 multicast VLAN forwarding entries:...
Page 104
Figure 33 Network diagram 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 Ten-GigabitEthernet 1/0/2 to this VLAN. [SwitchA] vlan 20 [SwitchA-vlan20] port ten-gigabitethernet 1/0/2 [SwitchA-vlan20] quit # Assign an IPv6 address to VLAN-interface 20, and enable IPv6 PIM-DM.
Page 105
[SwitchA-Vlan-interface10] quit Configure Switch B: # Enable MLD snooping globally. <SwitchB> system-view [SwitchB] mld-snooping [SwitchB-mld-snooping] quit # Create VLAN 2, assign Ten-GigabitEthernet 1/0/2 to this VLAN, and enable MLD snooping for this VLAN. [SwitchB] vlan 2 [SwitchB-vlan2] port ten-gigabitethernet 1/0/2 [SwitchB-vlan2] mld-snooping enable [SwitchB-vlan2] quit # Create VLAN 3, assign Ten-GigabitEthernet 1/0/3 to this VLAN, and enable MLD snooping for...
Port list(0 in total): # Display IPv6 multicast VLAN forwarding entries on Switch B. [SwitchB] display ipv6 multicast-vlan group Total 1 entries. IPv6 multicast VLAN 10: Total 1 entries. (::, FF1E::101) Sub-VLANs (3 in total): VLAN 2 VLAN 3 VLAN 4 The output shows that the IPv6 multicast VLAN (VLAN 10) contains sub-VLANs VLAN 2 through VLAN 4.
Page 107
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 Ten-GigabitEthernet 1/0/2 to this VLAN. [SwitchA] vlan 20 [SwitchA-vlan20] port ten-gigabitethernet 1/0/2 [SwitchA-vlan20] quit # Assign an IPv6 address to VLAN-interface 20, and enable IPv6 PIM-DM on this interface. [SwitchA] interface vlan-interface 20 [SwitchA-Vlan-interface20] ipv6 address 1::2 64 [SwitchA-Vlan-interface20] ipv6 pim dm...
Page 108
[SwitchB-vlan3] quit # Create VLAN 4, and enable MLD snooping for the VLAN. [SwitchB] vlan 4 [SwitchB-vlan4] mld-snooping enable [SwitchB-vlan4] quit # Configure Ten-GigabitEthernet 1/0/2 as a hybrid port, and configure VLAN 2 as the PVID of the hybrid port. [SwitchB] interface ten-gigabitethernet 1/0/2 [SwitchB-Ten-GigabitEthernet1/0/2] port link-type hybrid [SwitchB-Ten-GigabitEthernet1/0/2] port hybrid pvid vlan 2...
Page 109
IPv6 multicast VLAN 10: Sub-VLAN list(0 in total): Port list(0 in total): XGE1/0/2 XGE1/0/3 XGE1/0/4 # Display MLD snooping forwarding entries for the dynamic IPv6 multicast groups on Switch B. [SwitchB] display mld-snooping group Total 1 entries. VLAN 10: Total 1 entries. (::, FF1E::101) Host slots (0 in total): Host ports (3 in total):...
Related information Documents To find related documents, browse to the Manuals page of the HP Business Support Center website: http://www.hp.com/support/manuals For related documentation, navigate to the Networking section, and select a networking category. •...
Conventions This section describes the conventions used in this documentation set. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. Italic Italic text represents arguments that you replace with actual values. Square brackets enclose syntax choices (keywords or arguments) that are optional. Braces enclose a set of required syntax choices separated by vertical bars, from which { x | y | ...
Page 112
Network topology icons 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.