H3C s3100-52P Operation Manual
H3C s3100-52P Operation Manual

H3C s3100-52P Operation Manual

Multicast
Hide thumbs Also See for s3100-52P:
Table of Contents

Advertisement

Operation Manual - Multicast
H3C S3100-52P Ethernet Switch
Chapter 1 Multicast Overview ...................................................................................................... 1-1
1.1 Multicast Overview............................................................................................................. 1-1
1.1.1 Information Transmission in the Unicast Mode....................................................... 1-1
1.1.2 Information Transmission in the Broadcast Mode................................................... 1-2
1.1.3 Information Transmission in the Multicast Mode..................................................... 1-3
1.1.4 Roles in Multicast .................................................................................................... 1-4
1.1.5 Advantages and Applications of Multicast .............................................................. 1-5
1.2 Multicast Models ................................................................................................................ 1-6
1.3 Multicast Architecture ........................................................................................................ 1-7
1.3.1 Multicast Protocols ................................................................................................ 1-10
1.4 Multicast Packet Forwarding Mechanism ........................................................................ 1-12
1.4.1 Implementation of the RPF Mechanism................................................................ 1-13
1.4.2 RPF Check ............................................................................................................ 1-13
Chapter 2 Common Multicast Configuration.............................................................................. 2-1
2.1 Common Multicast Configuration....................................................................................... 2-1
2.1.1 Configuring Suppression on the Multicast Source Port .......................................... 2-1
2.1.2 Configuring a Multicast MAC Address Entry........................................................... 2-2
2.1.3 Configuring Dropping Unknown Multicast Packets ................................................. 2-3
2.2 Displaying Common Multicast Configuration..................................................................... 2-4
Chapter 3 IGMP Snooping Configuration ................................................................................... 3-1
3.1 IGMP Snooping Overview ................................................................................................. 3-1
3.1.1 Principle of IGMP Snooping .................................................................................... 3-1
3.1.2 Basic Concepts in IGMP Snooping ......................................................................... 3-2
3.1.3 Work Mechanism of IGMP Snooping ...................................................................... 3-3
3.2 IGMP Snooping Configuration Task List ........................................................................... 3-5
3.2.1 Enabling IGMP Snooping........................................................................................ 3-6
3.2.2 Configuring the Version of IGMP Snooping ............................................................ 3-6
3.2.3 Configuring Timers .................................................................................................. 3-7
3.2.4 Configuring Fast Leave Processing ........................................................................ 3-8
3.2.5 Configuring a Multicast Group Filter........................................................................ 3-9
3.2.7 Configuring IGMP Snooping Querier .................................................................... 3-11
3.2.9 Configuring Static Member Port for a Multicast Group ......................................... 3-13
3.2.10 Configuring a Static Router Port ......................................................................... 3-14
3.2.11 Configuring a Port as a Simulated Group Member ............................................. 3-14
3.2.12 Configuring a VLAN Tag for Query Messages.................................................... 3-16

Table of Contents

i
Table of Contents

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the s3100-52P and is the answer not in the manual?

Questions and answers

Summary of Contents for H3C s3100-52P

  • Page 1: Table Of Contents

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Table of Contents Table of Contents Chapter 1 Multicast Overview ...................... 1-1 1.1 Multicast Overview......................1-1 1.1.1 Information Transmission in the Unicast Mode............1-1 1.1.2 Information Transmission in the Broadcast Mode........... 1-2 1.1.3 Information Transmission in the Multicast Mode.............
  • Page 2 Operation Manual – Multicast H3C S3100-52P Ethernet Switch Table of Contents 3.2.13 Configuring Multicast VLAN ................3-16 3.3 Displaying and Maintaining IGMP Snooping ..............3-18 3.4 IGMP Snooping Configuration Examples ................ 3-19 3.4.1 Configuring IGMP Snooping ................. 3-19 3.4.2 Configuring Multicast VLAN .................. 3-21...
  • Page 3: Chapter 1 Multicast Overview

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 1 Multicast Overview Chapter 1 Multicast Overview Note: In this manual, the term “router” refers to a router in the generic sense and a Layer 3 Ethernet switch running an IP multicast protocol.
  • Page 4: Information Transmission In The Broadcast Mode

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 1 Multicast Overview Host A Receiver Host B Source Host C Server Receiver Host D Receiver Packets for Host B Packets for Host D Host E Packets for Host E Figure 1-1 Information transmission in the unicast mode Assume that Hosts B, D and E need this information.
  • Page 5: Information Transmission In The Multicast Mode

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 1 Multicast Overview Host A Receiver Host B Source Host C Server Receiver Host D Receiver Packets for all the network Host E Figure 1-2 Information transmission in the broadcast mode Assume that Hosts B, D, and E need the information.
  • Page 6: Roles In Multicast

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 1 Multicast Overview Host A Receiver Host B Source Host C Server Receiver Host D Receiver Packets for the multicast group Host E Figure 1-3 Information transmission in the multicast mode Assume that Hosts B, D and E need the information.
  • Page 7: Advantages And Applications Of Multicast

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 1 Multicast Overview A router that supports Layer 3 multicast is called multicast router or Layer 3 multicast device. In addition to providing multicast routing, a multicast router can also manage multicast group members.
  • Page 8: Multicast Models

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 1 Multicast Overview Multicast provides the following applications: Applications of multimedia and flow media, such as Web TV, Web radio, and real-time video/audio conferencing. Communication for training and cooperative operations, such as remote education.
  • Page 9: Multicast Architecture

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 1 Multicast Overview 1.3 Multicast Architecture The purpose of IP multicast is to transmit information from a multicast source to receivers in the multicast mode and to satisfy information requirements of receivers.
  • Page 10 Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 1 Multicast Overview packets. Class D address must not appear in the IP address field of a source IP address of IP packets. Class E IP addresses are reserved for future use.
  • Page 11 Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 1 Multicast Overview Table 1-3 Reserved IP multicast addresses Class D address range Description 224.0.0.1 Address of all hosts 224.0.0.2 Address of all multicast routers 224.0.0.3 Unassigned Distance Vector Multicast Routing Protocol 224.0.0.4...
  • Page 12: Multicast Protocols

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 1 Multicast Overview II. Ethernet multicast MAC address When a unicast IP packet is transported in an Ethernet network, the destination MAC address is the MAC address of the receiver. When a multicast packet is transported in an Ethernet network, a multicast MAC address is used as the destination address because the destination is a group with an uncertain number of members.
  • Page 13 Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 1 Multicast Overview I. Layer 3 multicast protocols Layer 3 multicast protocols include multicast group management protocols and multicast routing protocols. Figure 1-5 describes where these multicast protocols are in a network.
  • Page 14: Multicast Packet Forwarding Mechanism

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 1 Multicast Overview For the SSM model, multicast routes are not divided into inter-domain routes and intra-domain routes. Since receivers know the position of the multicast source, channels established through PIM-SM are sufficient for multicast information transport.
  • Page 15: Implementation Of The Rpf Mechanism

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 1 Multicast Overview To process the same multicast information from different peers received on different interfaces of the same device, every multicast packet is subject to a Reverse Path Forwarding (RPF) check on the incoming interface. The result of the RPF check determines whether the packet will be forwarded or discarded.
  • Page 16 Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 1 Multicast Overview independently maintain any type of unicast route; instead, it relies on the existing unicast routing information in creating multicast routing entries. When performing an RPF check, a router searches its unicast routing table. The specific process is as follows: The router automatically chooses an optimal unicast route by searching its unicast routing table, using the IP address of the “packet source”...
  • Page 17: Chapter 2 Common Multicast Configuration

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 2 Common Multicast Configuration Chapter 2 Common Multicast Configuration Note: In this manual, the term “router” refers to a router in the generic sense and a Layer 3 Ethernet switch running an IP multicast protocol.
  • Page 18: Configuring A Multicast Mac Address Entry

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 2 Common Multicast Configuration II. Configuring multicast source port suppression in Ethernet port view Follow these steps to configure multicast source port suppression in Ethernet port view: To do... Use the command...
  • Page 19: Configuring Dropping Unknown Multicast Packets

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 2 Common Multicast Configuration Note: If the multicast MAC address entry to be created already exists, the system gives you a prompt. If you want to add a port to a multicast MAC address entry created through the mac-address multicast command, you need to remove the entry first, create this entry again, and then add the specified port to the forwarding ports of this entry.
  • Page 20: Displaying Common Multicast Configuration

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 2 Common Multicast Configuration 2.2 Displaying Common Multicast Configuration Follow these commands to display common multicast configuration: To do... Use the command... Remarks Display the statistics display multicast-source-deny Available in information about multicast...
  • Page 21: Chapter 3 Igmp Snooping Configuration

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 3 IGMP Snooping Configuration Chapter 3 IGMP Snooping Configuration When configuring IGMP snooping, go to these sections for information you are interested in: IGMP Snooping Overview IGMP Snooping Configuration Task List...
  • Page 22: Basic Concepts In Igmp Snooping

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 3 IGMP Snooping Configuration Multicast packet transmission Multicast packet transmission without IGMP Snooping when IGMP Snooping runs Multicast router Multicast router Source Source Layer 2 switch Layer 2 switch Host A...
  • Page 23: Work Mechanism Of Igmp Snooping

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 3 IGMP Snooping Configuration Router port: A router port is a port on the Layer 3 multicast device (DR or IGMP querier) side of the Ethernet switch. In the figure, Ethernet 1/0/1 of Switch A and Ethernet 1/0/1 of Switch B are router ports.
  • Page 24 Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 3 IGMP Snooping Configuration Upon receiving an IGMP query, a multicast group member host responds with an IGMP report. When intended to join a multicast group, a host sends an IGMP report to the multicast router to announce that it is interested in the multicast information addressed to that group.
  • Page 25: Igmp Snooping Configuration Task List

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 3 IGMP Snooping Configuration through all the router ports in the VLAN and all member ports of that multicast group, and performs the following to the receiving port: If any IGMP report in response to the group-specific query arrives to the member...
  • Page 26: Enabling Igmp Snooping

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 3 IGMP Snooping Configuration Task Remarks Configuring Multicast VLAN Optional 3.2.1 Enabling IGMP Snooping Follow these steps to enable IGMP Snooping: To do... Use the command... Remarks Enter system view system-view —...
  • Page 27: Configuring Timers

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 3 IGMP Snooping Configuration To do... Use the command... Remarks Enter system view system-view — Enter VLAN view vlan vlan-id — Optional Configure the igmp-snooping version version of IGMP The default IGMP Snooping...
  • Page 28: Configuring Fast Leave Processing

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 3 IGMP Snooping Configuration 3.2.4 Configuring Fast Leave Processing With fast leave processing enabled, when the switch receives an IGMP leave message on a port, the switch directly removes that port from the forwarding table entry for the specific group.
  • Page 29: Configuring A Multicast Group Filter

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 3 IGMP Snooping Configuration Note: The fast leave processing function works for a port only if the host attached to the port runs IGMPv2 or IGMPv3. The configuration performed in system view takes effect on all ports of the switch if no VLAN is specified;...
  • Page 30: Configuring The Maximum Number Of Multicast Groups On A Port

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 3 IGMP Snooping Configuration II. Configuring a multicast group filter in Ethernet port view Follow these steps to configure a multicast group filter in Ethernet port view: To do... Use the command...
  • Page 31: Configuring Igmp Snooping Querier

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 3 IGMP Snooping Configuration To do... Use the command... Remarks Required igmp-snooping group-limit Limit the number of The maximum number of limit [ vlan vlan-list multicast groups on a port multicast groups on a port [ overflow-replace ] ] is 256 by default.
  • Page 32: Suppressing Flooding Of Unknown Multicast Traffic In A Vlan

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 3 IGMP Snooping Configuration To do... Use the command... Remarks Enable IGMP Snooping igmp-snooping enable Required Required Enable IGMP Snooping By default, IGMP igmp-snooping querier querier Snooping querier is disabled. Optional...
  • Page 33: Configuring Static Member Port For A Multicast Group

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 3 IGMP Snooping Configuration Note: If the function of dropping unknown multicast packets function is enabled, you cannot enable unknown multicast flooding suppression. Unknown multicast flooding suppression and multicast source port suppression cannot take effect at the same time.
  • Page 34: Configuring A Static Router Port

    H3C S3100-52P Ethernet Switch Chapter 3 IGMP Snooping Configuration Caution: You can configure up to 200 static member ports on an S3100-52P switch. If a port has been configured as a reflect port, it cannot be configured as a static member port.
  • Page 35 Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 3 IGMP Snooping Configuration there is no member of the multicast group on the local subnet and remove the corresponding path. To avoid this from happening, you can configure a port of the VLAN of the switch as a multicast group member.
  • Page 36: Configuring A Vlan Tag For Query Messages

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 3 IGMP Snooping Configuration 3.2.12 Configuring a VLAN Tag for Query Messages By configuring the VLAN tag carried in IGMP general and group-specific queries forwarded and sent by IGMP Snooping switches, you can enable multicast packet forwarding between different VLANs In a Layer-2 multicast network environment.
  • Page 37 Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 3 IGMP Snooping Configuration To do... Use the command... Remarks interface Vlan-interface Enter VLAN interface view — vlan-id Required Enable IGMP igmp enable By default, the IGMP feature is disabled. Return to system view quit —...
  • Page 38: Displaying And Maintaining Igmp Snooping

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 3 IGMP Snooping Configuration To do... Use the command... Remarks Enter Ethernet port view interface interface-type — for a user device interface-number Define the port as a hybrid port link-type hybrid...
  • Page 39: Igmp Snooping Configuration Examples

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 3 IGMP Snooping Configuration 3.4 IGMP Snooping Configuration Examples 3.4.1 Configuring IGMP Snooping I. Network requirements To prevent multicast traffic from being flooded at Layer 2, enable IGMP snooping on Layer 2 switches.
  • Page 40 Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 3 IGMP Snooping Configuration [RouterA-Ethernet1/0/1] igmp enable [RouterA-Ethernet1/0/1] pim dm [RouterA-Ethernet1/0/1] quit [RouterA] interface Ethernet 1/0/2 [RouterA-Ethernet1/0/2] pim dm [RouterA-Ethernet1/0/2] quit Configure Switch A # Enable IGMP Snooping globally. <SwitchA> system-view [SwitchA] igmp-snooping enable Enable IGMP-Snooping ok.
  • Page 41: Configuring Multicast Vlan

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 3 IGMP Snooping Configuration 3.4.2 Configuring Multicast VLAN I. Network requirements As shown in Figure 3-4, Workstation is a multicast source. Switch A forwards multicast data from the multicast source. A Layer 2 switch, Switch B forwards the multicast data to the end users Host A and Host B.
  • Page 42 Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 3 IGMP Snooping Configuration II. Network diagram Vlan-int10 Vlan-int20 HostA Eth1/0/10 168.10.2.1 168.10.1.1 Eth1/0/10 Vlan10 Eth1/0/1 WorkStation SwitchA SwitchB HostB Figure 3-4 Network diagram for multicast VLAN configuration III. Configuration procedure The following configuration is based on the prerequisite that the devices are properly connected and all the required IP addresses are already configured.
  • Page 43 Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 3 IGMP Snooping Configuration [SwitchA-Vlan-interface10] igmp enable [SwitchA-Vlan-interface10] pim dm Configure Switch B: # Enable the IGMP Snooping feature on Switch B. <SwitchB> system-view [SwitchB] igmp-snooping enable # Create VLAN 2, VLAN 3 and VLAN 10, configure VLAN 10 as the multicast VLAN, and then enable IGMP Snooping on it.
  • Page 44: Troubleshooting Igmp Snooping

    Operation Manual – Multicast H3C S3100-52P Ethernet Switch Chapter 3 IGMP Snooping Configuration 3.5 Troubleshooting IGMP Snooping Symptom: Multicast function does not work on the switch. Solution: Possible reasons are: IGMP Snooping is not enabled. Use the display current-configuration command to check the status of IGMP Snooping.

Table of Contents