Multicast overview NOTE: This document focuses on the IP multicast technology and device operations. Unless otherwise stated, the term multicast in this document refers to IP multicast. 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.
Page 7
must send a 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 Figure 3, Host B, Host D and Host E are receivers of the information. They 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. To summarize, multicast has the following advantages: •...
Table 1 Comparing TV transmission and multicast transmission TV 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.
ASM model In the ASM model, any sender can send information to a multicast group as a multicast source, and numbers of receivers can join a multicast group, which is identified by a group address, and can obtain multicast information addressed to that multicast group. In this model, receivers do not determine the positions of the multicast sources in advance.
Page 11
IP multicast addresses IPv4 multicast addresses Internet Assigned Numbers Authority (IANA) assigned the Class D address space (224.0.0.0 to 239.255.255.255) for 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.16 Designated Subnetwork Bandwidth Management (SBM) 224.0.0.17 All SBMs 224.0.0.18 Virtual Router Redundancy Protocol (VRRP) IPv6 multicast addresses Figure 4 IPv6 multicast format The following describes the meanings of the fields of an IPv6 multicast address: • 0xFF—The most significant eight bits are 11111111, which indicates that this address is an IPv6 multicast address.
Page 13
Value Meaning Admin-local scope Site-local scope 6, 7, 9 through D Unassigned Organization-local scope 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 When a unicast IP packet is transmitted over Ethernet, the destination MAC address is the MAC address of the receiver.
Figure 7 An example of IPv6-to-MAC address mapping 128-bit IPv6 address F F 1 E 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 F 3 0 E 0 1 0 1 …...
Page 15
Typically, the internet group management protocol (IGMP) or multicast listener discovery protocol (MLD) is used between hosts and Layer 3 multicast devices that directly connected to the hosts. These protocols define the mechanism of establishing and maintaining group memberships between hosts and Layer 3 multicast devices.
In the traditional multicast-on-demand mode, when users in different VLANs on a Layer 2 device need multicast information, the upstream Layer 3 device needs to forward a separate copy of the multicast data to each VLAN of the Layer 2 device. When the multicast VLAN or IPv6 multicast VLAN feature is enabled on the Layer 2 device, the Layer 3 multicast device sends only one copy of the multicast data to the multicast VLAN or IPv6 multicast VLAN on the Layer 2 device.
IGMP snooping configuration This chapter includes these sections: • IGMP snooping overview • IGMP snooping configuration task list • Displaying and maintaining IGMP snooping • IGMP snooping configuration examples • Troubleshooting IGMP snooping configuration IGMP snooping overview Internet Group Management Protocol (IGMP) snooping is a multicast constraining mechanism that runs on Layer 2 devices to manage and control multicast groups.
• Facilitating the implementation of per-host accounting Basic concepts in IGMP snooping IGMP snooping related ports As shown in Figure 11, Router A connects to the multicast source, IGMP snooping runs on Switch A and Switch B, and Host A and Host C are receiver hosts—also called "multicast group members". Figure 11 IGMP snooping related ports IGMP snooping involves the following ports: •...
Message before Timer Description Action after expiry expiry aging timer port, the switch sets a which the source port from its router port timer initialized to the address is not 0.0.0.0 or list. dynamic router port PIM hello aging time. When a port dynamically joins a multicast group, The switch removes this...
• If an entry in the forwarding table exists for the reported group and the port is included in the outgoing port list, which means that this port is already a dynamic member port, the switch resets the aging timer for that port. NOTE: A switch does not forward an IGMP report through a non-router port.
Figure 12 Network diagram for IGMP snooping proxying As shown in Figure 12, Switch A works as an IGMP snooping proxy. As a host from the perspective of the querier Router A, Switch A represents its attached hosts to send membership reports and leave messages to Router A.
Configuring basic functions of IGMP snooping Configuration prerequisites Before you configure the basic functions of IGMP snooping, complete the following tasks: • Configure the corresponding VLANs • Determine the version of IGMP snooping Enabling IGMP snooping Follow these steps to enable IGMP snooping: To do...
CAUTION: If you switch IGMP snooping from version 3 to version 2, the system will clear all IGMP snooping forwarding entries from dynamic joins, and will: • Keep forwarding entries for version 3 static (*, G) joins. • Clear forwarding entries from version 3 static (S, G) joins, which will be restored when IGMP snooping is switched back to version 3.
Configuring IGMP snooping port functions Configuration prerequisites Before you configure IGMP snooping port functions, complete the following tasks: • Enable IGMP snooping in the VLAN • Configure the corresponding port groups • Determine the aging time of dynamic router ports •...
Configuring static ports If all the hosts attached to a port are interested in the multicast data addressed to a particular multicast group or the multicast data that a particular multicast source sends to a particular group, configure static (*, G) or (S, G) joining on that port, namely configure the port as a group-specific or source-and-group-specific static member port.
To do... Use the command... Remarks Enter system view system-view — interface interface-type interface-number Enter Ethernet interface/Layer 2 Required aggregate interface view or port Use either approach group view port-group manual port-group-name igmp-snooping host-join Required Configure simulated (*, G) or (S, group-address [ source-ip G) joining Disabled by default...
Disabling a port or a group of ports from changing into dynamic router ports The following problems exist in a multicast access network: • Upon receiving an IGMP general query or a PIM Hello message from a connected host, a switch port becomes a dynamic router port.
Enabling IGMP snooping querier In an IP multicast network running IGMP, a multicast router or Layer 3 multicast switch is responsible for sending IGMP general queries, so that all Layer 3 multicast devices can establish and maintain multicast forwarding entries to forward multicast traffic correctly at the network layer. This router or Layer 3 switch is called "IGMP querier".
To do... Use the command... Remarks Optional Configure the IGMP last-member last-member-query-interval interval query interval 1 second by default Configuring IGMP queries and responses in a VLAN Follow these steps to configure IGMP queries and responses in a VLAN: To do... Use the command...
Configuring IGMP snooping proxying Configuration prerequisites Before you configure IGMP snooping proxying in a VLAN, complete the following tasks: • Enable IGMP snooping in the VLAN • Determine the source IP address for the IGMP reports sent by the proxy •...
• Enable IGMP snooping in the VLAN • Determine the ACL rules for multicast group filtering • Determine the maximum number of multicast groups that can pass the ports • Determine the 802.1p precedence for IGMP messages Configuring a multicast group filter On an IGMP snooping–enabled switch, a multicast group filter enables the service provider to define restrictions on multicast programs available to different users.
Configuring multicast source port filtering globally Follow these steps to configure multicast source port filtering globally: To do... Use the command... Remarks Enter system view system-view — igmp-snooping Enter IGMP snooping view — Required Enable multicast source port source-deny port interface-list filtering Disabled by default Configuring multicast source port filtering on a port or a group of ports...
subsequent IGMP reports from the same multicast group to the Layer 3 device. This helps reduce the number of packets being transmitted over the network. Follow these steps to configure IGMP report suppression: To do... Use the command... Remarks system-view Enter system view —...
To address such situations, enable the multicast group replacement function on the switch or on certain ports. When the number of multicast groups joined on the switch or on a port reaches the limit, one of the following occurs: • If the multicast group replacement feature is enabled, the newly joined multicast group automatically replaces an existing multicast group with the lowest address.
Configuring 802.1p precedence for IGMP messages in a VLAN Follow these steps to configure 802.1p precedence for IGMP messages in a VLAN: To do... Use the command... Remarks Enter system view system-view — vlan vlan-id Enter VLAN view — Required Configure 802.1p precedence for igmp-snooping dot1p-priority The default 802.1p precedence...
Page 37
• Multicast data for group 224.1.1.1 can be forwarded through GigabitEthernet 1/0/3 and GigabitEthernet 1/0/4 of Switch A even if Host A and Host B accidentally, temporarily stop receiving multicast data. Figure 13 Network diagram for group policy simulated joining configuration Configuration procedure Configure IP addresses Configure an IP address and subnet mask for each interface according to...
Page 38
# Configure a multicast group filter so that the hosts in VLAN 100 can join only the 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 hosts for multicast group 224.1.1.1.
Static port configuration example Network requirements • As shown in Figure 14, Router A connects to a multicast source—Source—through GigabitEthernet 1/0/2, and to Switch A through GigabitEthernet 1/0/1. • IGMPv2 will run on Router A, and IGMPv2 snooping will run on Switch A, Switch B and Switch C, with Router A acting as the IGMP querier.
Page 40
# Enable IP multicast routing, enable PIM-DM on each interface, and enable IGMP on GigabitEthernet 1/0/1. <RouterA> system-view [RouterA] multicast routing-enable [RouterA] interface gigabitethernet 1/0/1 [RouterA-GigabitEthernet1/0/1] igmp enable [RouterA-GigabitEthernet1/0/1] pim dm [RouterA-GigabitEthernet1/0/1] quit [RouterA] interface gigabitethernet 1/0/2 [RouterA-GigabitEthernet1/0/2] pim dm [RouterA-GigabitEthernet1/0/2] quit Configure Switch A # Enable IGMP snooping globally.
Page 41
[SwitchC-vlan100] quit # Configure GigabitEthernet 1/0/3 and GigabitEthernet 1/0/5 as static member ports for multicast group 224.1.1.1. [SwitchC] interface gigabitethernet 1/0/3 [SwitchC-GigabitEthernet1/0/3] igmp-snooping static-group 224.1.1.1 vlan 100 [SwitchC-GigabitEthernet1/0/3] quit [SwitchC] interface gigabitethernet 1/0/5 [SwitchC-GigabitEthernet1/0/5] igmp-snooping static-group 224.1.1.1 vlan 100 [SwitchC-GigabitEthernet1/0/5] quit Verify the configuration # Display the information of the IGMP snooping groups in VLAN 100 on Switch A.
Router port(s):total 1 port. GE1/0/2 (D) ( 00:01:23 ) IP group(s):the following ip group(s) match to one mac group. IP group address:224.1.1.1 (0.0.0.0, 224.1.1.1): Attribute: Host Port Host port(s):total 2 port. GE1/0/3 GE1/0/5 MAC group(s): MAC group address:0100-5e01-0101 Host port(s):total 2 port. GE1/0/3 GE1/0/5 The output shows that GigabitEthernet 1/0/3 and GigabitEthernet 1/0/5 on Switch C have become...
Page 43
Configuration procedure Configure switch A # Enable IGMP snooping globally. <SwitchA> system-view [SwitchA] igmp-snooping [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 and the function of dropping unknown multicast traffic in VLAN 100.
Received IGMPv3 specific queries:0. Received IGMPv3 specific sg queries:0. Sent IGMPv3 specific queries:0. Sent IGMPv3 specific sg queries:0. Received error IGMP messages:0. IGMP snooping proxying configuration example Network requirements As shown in Figure 16, Router A connects to a multicast source through port GigabitEthernet 1/0/2, and to Switch A through port GigabitEthernet 1/0/1.
Page 45
Configure Switch A # Enable IGMP snooping globally. <SwitchA> system-view [SwitchA] igmp-snooping [SwitchA-igmp-snooping] quit # Create VLAN 100, assign ports GigabitEthernet 1/0/1 through GigabitEthernet 1/0/4 to this VLAN, and enable IGMP snooping and IGMP snooping proxying in the VLAN. [SwitchA] vlan 100 [SwitchA-vlan100] port gigabitethernet 1/0/1 to gigabitethernet 1/0/4 [SwitchA-vlan100] igmp-snooping enable [SwitchA-vlan100] igmp-snooping proxying enable...
Total 1 IGMP Group reported Group Address Last Reporter Uptime Expires 224.1.1.1 0.0.0.0 00:00:06 00:02:04 When Host A leaves the multicast group, it sends an IGMP leave message to Switch A. Receiving the message, Switch A removes port GigabitEthernet 1/0/3 from the member port list of the forwarding entry for the group;...
If IGMP snooping is disabled only for the corresponding VLAN, just use the igmp-snooping enable command in VLAN view to enable IGMP snooping in the corresponding VLAN. Configured multicast group policy fails to take effect Symptom Although a multicast group policy has been configured to allow hosts to join specific multicast groups, the hosts can still receive multicast data addressed to other multicast groups.
Multicast VLAN configuration This chapter includes these sections: • Introduction to multicast VLAN • Multicast VLAN configuration task list • Configuring multicast VLAN • Displaying and maintaining multicast VLAN • Multicast VLAN configuration examples Introduction to multicast VLAN In the traditional multicast programs-on-demand mode shown in Figure 17, when hosts (Host A, Host B and Host C) that belong to different VLANs require multicast programs on demand service, the...
Figure 18 Port-based multicast VLAN After the configuration, upon receiving an IGMP message on a user port, Switch A tags the message with the multicast VLAN ID and relays it to the IGMP querier, so that IGMP snooping can uniformly manage the router ports and member ports in the multicast VLAN.
Configuration prerequisites Before you configure port-based multicast VLAN, complete the following tasks: • Create VLANs as required • Enable IGMP snooping in the VLAN to be configured as a multicast VLAN • Enable IGMP snooping in all user VLANs Configuring user port attributes Configure the user ports as hybrid ports that permit packets of the specified user VLAN to pass, and configure the user VLAN to which the user ports belong as the default VLAN.
To do... Use the command... Remarks Configure the specified VLAN as a Required multicast VLAN and enter multicast multicast-vlan vlan-id Not a multicast VLAN by default VLAN view Required Assign ports to the multicast VLAN port interface-list By default, a multicast VLAN has no ports.
Page 52
• Switch A's GigabitEthernet1/0/1 belongs to VLAN 10, GigabitEthernet1/0/2 through GigabitEthernet1/0/4 belong to VLAN 2 through VLAN 4 respectively, and Host A through Host C are attached to GigabitEthernet1/0/2 through GigabitEthernet1/0/4 of Switch A respectively. • The multicast source sends multicast data to multicast group 224.1.1.1. Host A, Host B, and Host C are receivers of the multicast group.
Page 53
# Create VLAN 10, assign GigabitEthernet1/0/1 to VLAN 10, and enable IGMP snooping in this VLAN. [SwitchA] vlan 10 [SwitchA-vlan10] port gigabitethernet 1/0/1 [SwitchA-vlan10] igmp-snooping enable [SwitchA-vlan10] quit # Create VLAN 2 and enable IGMP snooping in the VLAN. [SwitchA] vlan 2 [SwitchA-vlan2] igmp-snooping enable [SwitchA-vlan2] quit The configuration for VLAN 3 and VLAN 4 is similar.
Page 54
Vlan(id):10. Total 1 IP Group(s). Total 1 IP Source(s). Total 1 MAC Group(s). Router port(s):total 1 port(s). GE1/0/1 IP group(s):the following ip group(s) match to one mac group. IP group address:224.1.1.1 (0.0.0.0, 224.1.1.1): Host port(s):total 3 port(s). GE1/0/2 GE1/0/3 GE1/0/4 MAC group(s): MAC group address:0100-5e01-0101 Host port(s):total 3 port(s).
MLD snooping configuration This chapter includes these sections: • MLD snooping overview • MLD snooping configuration task list • Displaying and maintaining MLD snooping • MLD snooping configuration examples • Troubleshooting MLD snooping MLD snooping overview Multicast Listener Discovery (MLD) snooping is an IPv6 multicast constraining mechanism that runs on Layer 2 switches to manage and control IPv6 multicast groups.
• Facilitating the implementation of per-host accounting. Basic concepts in MLD snooping MLD snooping related ports As shown in Figure 21, Router A connects to the multicast source, MLD snooping runs on Switch A and Switch B, Host A and Host C are receiver hosts—namely, IPv6 multicast group members. Figure 21 MLD snooping related ports Receiver Router A...
Message before Timer Description Action after expiry expiry aging timer port, the switch sets a which the source port from its router port timer initialized to the address is not 0::0 or list. dynamic router port aging IPv6 PIM hello. time.
• If a forwarding table entry exists for the reported IPv6 multicast group, but the port is not included in the outgoing port list for that group, the switch adds the port as a dynamic member port to the outgoing port list, and starts a member port aging timer for that port. •...
Figure 22 Network diagram for MLD snooping proxying As shown in Figure 22, Switch A works as an MLD snooping proxy. As a host from the perspective of the querier Router A, Switch A represents its attached hosts to send their membership reports and done messages to Router A.
Page 60
Task Remarks Enabling MLD snooping Required Configuring basic functions of Configuring the version of MLD snooping Optional MLD snooping Configuring IPv6 static multicast MAC address entries Optional Configuring aging timers for dynamic ports Optional Configuring static ports Optional Configuring MLD snooping port Configuring simulated joining Optional functions...
Configuring basic functions of MLD snooping Configuration prerequisites Before you configure the basic functions of MLD snooping, complete the following tasks: • Configure the corresponding VLANs • Determine the version of MLD snooping Enabling MLD snooping Follow these steps to enable MLD snooping: To do...
CAUTION: If you switch MLD snooping from version 2 to version 1, the system will clear all MLD snooping forwarding entries from dynamic joining, and will: • Keep forwarding entries from version 2 static (*, G) joining • Clear forwarding entries from version 2 static (S, G) joining, which will be restored when MLD snooping is switched back to version 2 For more information about static joining, see "Configuring static...
NOTE: • For more information about the mac-address multicast command, see the IP Multicast Command Reference. • When configuring a static multicast MAC address entry in system view, the configuration is effective for the specified interface. When configuring a static multicast MAC address entry in interface view or port group view, the configuration is effective only for the current interface or interfaces in the current port group.
To do... Use the command... Remarks Enter system view system-view — Enter VLAN view vlan vlan-id — Optional Configure dynamic router port mld-snooping router-aging-time interval aging time 260 seconds by default Optional Configure dynamic member port mld-snooping host-aging-time aging time interval 260 seconds by default Configuring static ports...
A simulated host acts like a real host, as follows: • When a port is configured as a simulated member host, the switch sends an unsolicited MLD report through that port. • After a port is configured as a simulated member host, the switch responds to MLD general queries by sending MLD reports through that port.
Configuring fast leave processing on a port or a group of ports Follow these steps to configure fast leave processing on a port or a group of ports: To do... Use the command... Remarks Enter system view system-view — interface interface-type Enter Ethernet interface/Layer 2 interface-number Required...
• Determine the MLD general query interval • Determine the MLD last-member query interval • Determine the maximum response time for MLD general queries • Determine the source IPv6 address of MLD general queries • Determine the source IPv6 address of MLD multicast-address-specific queries Enabling MLD snooping querier In an IPv6 multicast network that is running MLD, a multicast router or Layer 3 multicast switch sends periodic MLD general queries, so that all Layer 3 multicast devices can establish and maintain...
To do... Use the command... Remarks Enter system view system-view — Enter MLD snooping view mld-snooping — Optional Configure the maximum response max-response-time interval time for MLD general queries 10 seconds by default Optional Configure the MLD last-member last-listener-query-interval query interval interval 1 second by default Configuring MLD queries and responses in a VLAN...
Configuring MLD snooping proxying Configuration prerequisites Before you configure MLD snooping proxying in a VLAN, complete the following tasks: • Enable MLD snooping in the VLAN • Determine the source IPv6 address for the MLD reports sent by the proxy •...
Configuring an MLD snooping policy Configuration prerequisites Before you configure an MLD snooping policy, complete the following tasks: • Enable MLD snooping in the VLAN • Determine the IPv6 ACL rule for IPv6 multicast group filtering • Determine the maximum number of IPv6 multicast groups that can pass the ports •...
Configuring IPv6 multicast source port filtering With the IPv6 multicast source port filtering feature enabled on a port, the port can be connected with IPv6 multicast receivers only rather than with multicast sources, because the port will block all IPv6 multicast data packets but it will permit multicast protocol packets to pass.
Configuring MLD report suppression When a Layer 2 device receives an MLD report from an IPv6 multicast group member, the Layer 2 device forwards the message to the Layer 3 device directly connected with it. Thus, when multiple members belonging to an IPv6 multicast group exist on the Layer 2 device, the Layer 3 device directly connected with it will receive duplicate MLD reports from these members.
Configuring IPv6 multicast group replacement Under special circumstances, the number of IPv6 multicast groups that a switch or a port joins might exceed the upper limit. In addition, in some specific applications, an IPv6 multicast group newly joined on the switch must replace an existing IPv6 multicast group automatically. A typical example is channel switching.
To do... Use the command... Remarks Enter system view system-view — Enter MLD snooping view mld-snooping — Required Configure 802.1p precedence for dot1p-priority priority-number The default 802.1p precedence for MLD Messages MLD messages is 0. Configuring 802.1p precedence for MLD messages in a VLAN Follow these steps to configure 802.1p precedence for MLD messages in a VLAN: To do...
MLD snooping configuration examples IPv6 group policy and simulated joining configuration example Network requirements • As shown in Figure 23, Router A connects to the IPv6 multicast source through GigabitEthernet 1/0/2 and to Switch A through GigabitEthernet 1/0/1. Router A is the MLD querier on the subnet. •...
Page 76
[RouterA-GigabitEthernet1/0/2] pim ipv6 dm [RouterA-GigabitEthernet1/0/2] quit Configure Switch A # Enable MLD snooping globally. <SwitchA> system-view [SwitchA] mld-snooping [SwitchA-mld-snooping] quit # Create VLAN 100, assign GigabitEthernet 1/0/1 through GigabitEthernet 1/0/4 to this VLAN, and enable MLD snooping and the function of dropping IPv6 unknown multicast traffic in the VLAN. [SwitchA] vlan 100 [SwitchA-vlan100] port gigabitethernet 1/0/1 to gigabitethernet 1/0/4 [SwitchA-vlan100] mld-snooping enable...
Attribute: Host Port Host port(s):total 2 port(s). GE1/0/3 (D) ( 00:03:23 ) GE1/0/4 (D) ( 00:04:10 ) MAC group(s): MAC group address:3333-0000-0101 Host port(s):total 2 port(s). GE1/0/3 GE1/0/4 The output shows that GigabitEthernet 1/0/3 and GigabitEthernet 1/0/4 of Switch A have joined IPv6 multicast group FF1E::101.
Page 78
Figure 24 Network diagram for static port configuration Configuration procedure Enable IPv6 forwarding and configure IPv6 addresses Enable IPv6 forwarding and configure an IPv6 address and prefix length for each interface according Figure Configure Router A # Enable IPv6 multicast routing, enable IPv6 PIM-DM on each interface, and enable MLD on GigabitEthernet 1/0/1.
Page 79
[SwitchA-GigabitEthernet1/0/3] mld-snooping static-router-port vlan 100 [SwitchA-GigabitEthernet1/0/3] quit Configure Switch B # Enable MLD snooping globally. <SwitchB> system-view [SwitchB] mld-snooping [SwitchB-mld-snooping] quit # Create VLAN 100, assign GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 to this VLAN, and enable MLD snooping in the VLAN. [SwitchB] vlan 100 [SwitchB-vlan100] port gigabitethernet 1/0/1 gigabitethernet 1/0/2 [SwitchB-vlan100] mld-snooping enable...
GE1/0/3 IP group(s):the following ip group(s) match to one mac group. IP group address:FF1E::101 (::, FF1E::101): Attribute: Host Port Host port(s):total 1 port(s). GE1/0/2 (D) ( 00:03:23 ) MAC group(s): MAC group address:3333-0000-0101 Host port(s):total 1 port(s). GE1/0/2 The output shows that GigabitEthernet 1/0/3 of Switch A has become a static router port. # Display the detailed MLD snooping group information in VLAN 100 on Switch C.
Page 81
• MLDv1 runs on all the receivers and MLDv1 snooping runs on all the switches. Switch A, which is close to the multicast sources, acts as the MLD snooping querier. • To prevent flooding of unknown multicast traffic within the VLAN, be sure to configure all the switches to drop unknown multicast data packets.
[SwitchB-vlan100] port gigabitethernet 1/0/1 to gigabitethernet 1/0/4 # Enable the MLD snooping feature and the function of dropping unknown IPv6 multicast data packets in VLAN 100. [SwitchB-vlan100] mld-snooping enable [SwitchB-vlan100] mld-snooping drop-unknown [SwitchB-vlan100] quit Configurations of Switch C and Switch D are similar to the configuration of Switch B. Verify the configuration When the MLD snooping querier starts to work, all the switches but the querier receive MLD general queries.
Page 83
Figure 26 Network diagram for MLD snooping proxying configuration Configuration procedure Configure IPv6 addresses for interfaces Configure an IP address and prefix length for each interface according to Figure 26. The configuration steps are out the scope of this document. Configure Router A # Enable IPv6 multicast routing, enable IPv6 PIM-DM on each interface, and enable MLD on port GigabitEthernet 1/0/1.
Page 84
port GigabitEthernet 1/0/1—a router port—to Router A. Use the display mld-snooping group command and the display mld group command to display information about MLD snooping groups and MLD multicast groups. For example: # Display information about MLD snooping groups on Switch A. [SwitchA] display mld-snooping group Total 1 IP Group(s).
Port flags: D-Dynamic port, S-Static port, C-Copy port Subvlan flags: R-Real VLAN, C-Copy VLAN Vlan(id):100. Total 1 IP Group(s). Total 1 IP Source(s). Total 1 MAC Group(s). Router port(s):total 1 port(s). GE1/0/1 IP group(s):the following ip group(s) match to one mac group. IP group address:FF1E::101 (::, FF1E::101): Host port(s):total 1 port(s).
Page 86
Solution Use the display acl ipv6 command to check the configured IPv6 ACL rule. Make sure that the IPv6 ACL rule conforms to the IPv6 multicast group policy to be implemented. Use the display this command in MLD snooping view or the corresponding interface view to check whether the correct IPv6 multicast group policy has been applied.
Figure 28 Port-based IPv6 multicast VLAN After the configuration, upon receiving an MLD message on a user port, Switch A tags the message with the IPv6 multicast VLAN ID and relays it to the MLD querier, so that MLD snooping can uniformly manage the router ports and member ports in the IPv6 multicast VLAN.
Configuration prerequisites Before you configure port-based IPv6 multicast VLAN, complete the following tasks: • Create VLANs as required • Enable MLD snooping in the VLAN to be configured as an IPv6 multicast VLAN • Enable MLD snooping in all user VLANs Configuring user port attributes Configure the user ports as hybrid ports to permit packets of the specified user VLAN to pass and configure the user VLAN to which the user ports belong as the default VLAN.
To do... Use the command... Remarks IPv6 multicast VLAN view configured by default Required Assign port(s) to the IPv6 port interface-list By default, an IPv6 multicast multicast VLAN VLAN has no ports. Configure IPv6 multicast VLAN ports in interface view or port group view Follow these steps to configure IPv6 multicast VLAN ports in interface view or port group view: To do…...
Page 91
• The IPv6 multicast source sends IPv6 multicast data to IPv6 multicast group FF1E::101. Host A, Host B, and Host C are receivers of the IPv6 multicast group. • Configure the port-based IPv6 multicast VLAN feature so that Router A just sends IPv6 multicast data to Switch A through the IPv6 multicast VLAN and Switch A forward the IPv6 multicast data to the receivers that belong to different user VLANs.
Page 92
[SwitchA-vlan10] mld-snooping enable [SwitchA-vlan10] quit # Create VLAN 2 and enable MLD snooping in the VLAN. [SwitchA] vlan 2 [SwitchA-vlan2] mld-snooping enable [SwitchA-vlan2] quit The configuration for VLAN 3 and VLAN 4 is similar. The detailed configuration steps are omitted. # Configure GigabitEthernet 1/0/2 as a hybrid port.
Page 93
Router port(s):total 1 port(s). GE1/0/1 IP group(s):the following ip group(s) match to one mac group. IP group address:FF1E::101 (::, FF1E::101): Host port(s):total 3 port(s). GE1/0/2 GE1/0/3 GE1/0/4 MAC group(s): MAC group address:3333-0000-0101 Host port(s):total 3 port(s). GE1/0/2 GE1/0/3 GE1/0/4 The output shows that MLD snooping is maintaining router ports and member ports in 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 •...
Index A C D I M N T IGMP snooping configuration examples,31 IGMP snooping configuration task list,17 Accessing Hewlett Packard Enterprise Support,91 IGMP snooping overview,12 Accessing updates,91 Introduction to IPv6 multicast VLAN,82 Introduction to multicast,1 Introduction to multicast VLAN,43 Configuring an IGMP snooping policy,26 IPv6 multicast VLAN configuration examples,85 Configuring an MLD snooping policy,65 IPv6 multicast VLAN configuration task list,83...
Need help?
Do you have a question about the ASX6600 and is the answer not in the manual?
Questions and answers