IP Multicasting: Explaining Multicast Cisco Systems, Inc. All rights reserved. Cisco Academy

Size: px
Start display at page:

Download "IP Multicasting: Explaining Multicast Cisco Systems, Inc. All rights reserved. Cisco Academy"

Transcription

1 IP Multicasting: Explaining Multicast 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 1

2 IP Multicast Distribute information to large audiences over an IP network 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 3

3 Why Multicast? Used when sending same data to multiple receivers Better bandwidth utilization Less host/router processing Used when addresses of receivers unknown Used when simultaneous delivery for a group of receivers is required (simulcast) 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 5

4 Multicast Advantages Enhanced efficiency: Controls network traffic and reduces server and CPU loads Optimized performance: Eliminates traffic redundancy Distributed applications: Makes multipoint applications possible 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 7

5 Other Multicast Advantages For the equivalent amount of multicast traffic, the sender needs much less processing power and bandwidth. Multicast packets do not impose as high a rate of bandwidth utilization as unicast packets, so there is a greater possibility that they will arrive almost simultaneously at the receivers Cisco Systems, Inc. All rights reserved. Cisco Academy 8

6 Multicast Disadvantages Multicast is UDP-based. Best-effort delivery Heavy drops in Voice traffic Moderate to Heavy drops in Video No congestion avoidance Duplicate packets may be generated Out-of-sequence delivery may occur Efficiency issues in filtering and in security 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 9

7 Multicast Addressing 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 12

8 IP Multicast Address Structure IP group addresses: Class D address (high-order three bits are set) Range from through Cisco Systems, Inc. All rights reserved. Cisco Academy 13

9 IP Multicast Address Groups Local scope addresses, reserved by IANA for network protocol l use to Global scope addresses are allocated dynamically throughout the Internet to Administratively scoped addresses are reserved for use inside of private domains to Cisco Systems, Inc. All rights reserved. Cisco Academy 15

10 Local Scope Addresses Well-known addresses assigned by IANA Reserved use: through (all multicast systems on subnet) (all routers on subnet) (all Distance Vector Multicast Routing Protocol (DVMRP) (all OSPF Routers on a subnet) (all OSPF DRs on a subnet) (all RIPv2 routers on a subnet) (all EIGRP routers on a subnet) (all PIMv2 routers) 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 16

11 Global Scope Addresses Transient addresses, assigned and reclaimed dynamically (within applications): Global scope range: X.X usually used in MBONE applications Some of these addresses have been registered with IANA, for example IP address has been reserved for Network Time Protocol (NTP). Applications that use multicast addresses in the /32, /23, and /32 ranges have been demonstrated to be vulnerable to exploitation, which has led to serious security problems. Addresses in the to range are reserved for Source Specific Multicast (SSM). SSM is an extension of Protocol Independent Multicast (PIM), which allows for an efficient data delivery mechanism in one-to-many communications Cisco Systems, Inc. All rights reserved. Cisco Academy 17

12 Administratively Scoped Addresses Transient addresses, assigned and reclaimed dynamically (within applications): Limited (local) scope: /8 for private IP multicast addresses (RFC-2365) Site-local scope: /16 Organization-local scope: to Cisco Systems, Inc. All rights reserved. Cisco Academy 18

13 How are Multicast Addresses Assigned? Static Global Group Address Assignment Temporary method to meet immediate needs Group range: Your AS number is inserted in middle two octets Remaining low-order octet used for group assignment For example, AS is written in hexadecimal format as "F23A." This value is separated into two parts, F2 and 3A and those numbers, converted to decimal would be 242 and 58. This would yield a multicast GLOP address of /24. Defined in RFC 2770 GLOP Addressing in 233/8 Manual address allocation by the admin is still the most common practice Cisco Systems, Inc. All rights reserved. Cisco Academy 25

14 Layer 2 Multicast Addressing IEEE MAC Address Format 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 19

15 IANA Ethernet MAC Address Range IANA owns a block of Ethernet MAC addresses that start with E in hexadecimal format. Half of this block is allocated for multicast addresses. The range from e through e7f.ffff is the available range of Ethernet MAC addresses for IP multicast e through e-7f-ff-ff 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 20

16 IANA Ethernet MAC Address Range Available range of MAC addresses for IP multicast : : : : : through : : : : : Within this range, these MAC addresses have the first 25 bits in common. The remaining 23 bits are available for mapping to the lower 23 bits of the IP multicast group address Cisco Systems, Inc. All rights reserved. Cisco Academy 21

17 Multicast Addresses Mapping Layer 3 to Layer 2 Layer 3 Layer Cisco Systems, Inc. All rights reserved. Cisco Academy 22

18 Multicast Addressing IP Multicast MAC Address Mapping (FDDI & Ethernet) Be Aware of the 32:1 Address Overlap 32 - IP Multicast Addresses Multicast MAC Address (FDDI and Ethernet) 0x0100.5E Cisco Systems, Inc. All rights reserved. Cisco Academy 23

19 Learning About Multicast Sessions Potential receivers have to learn about multicast streams or sessions available before a multicast application is launched. Possibilities: Another multicast application sending to a well-known group whose members are all potential receivers Directory services Web page, Session Announcement Protocol (SAP) 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 26

20 Multicasting Topics/Protocols 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 30

21 IGMP Overview IGMP Joining/Leaving Multicast Groups 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 31

22 Controlling Multicasts IGMP IGMP Internet Group Management Protocol Used primarily by multicast hosts to signal their local multicast router they wish to join a specific multicast group IGMP IGMP Join/Leave Receiver 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 32

23 IGMP Multicasting on a single physical segment is simple. Multicast Traffic Sender Multicast Traffic Receiver The sender (server) specifies a destination multicast address and the receiving devices (clients) indicate that they want to receive these packets for a given multicast address (and port). The application at both ends handles this Cisco Systems, Inc. All rights reserved. Cisco Academy 33

24 IGMP Complications arise when multicasting is extended beyond a single physical network and multicast packets pass through routers. Multicast Traffic Multicast Traffic Sender IGMP Join/Leave Receiver Sending and receiving multicast traffic requires coordination from all devices participating in the multicast. Before multicast traffic can traverse the network,, routers need to know which hosts (if any) on a specific physical network belong to a given multicast group Cisco Systems, Inc. All rights reserved. Cisco Academy 34

25 IGMPv1 - RFC 1112 With IGMPv1, routers send periodic membership queries to the multicast address Hosts send membership reports to the group multicast address they want to join; hosts silently leave the multicast group. In IGMPv1, there is no election of an IGMP querier. If more than one router on the segment exists, all the routers send periodic IGMP queries. If there are multiple routers on a LAN, a designated router (DR) must be elected to avoid duplicating multicast traffic for connected hosts. PIM routers follow an election process to select a DR. The PIM router with the highest IP address becomes the DR. The DR is responsible for the following tasks: Sending PIM register and PIM Join and Prune messages toward the rendezvous point (RP) to inform it about host group membership. Sending IGMP host-query messages. Sending host-query messages by default every 60 seconds in order to keep the IGMP overhead on hosts and networks very low Cisco Systems, Inc. All rights reserved. Cisco Academy 37

26 IGMPv2 RFC 2236 Group-specific query Router sends query membership message to a single group rather than all hosts (reduces traffic). Leave group message Host sends leave message if it leaves the group and is the last member (reduces leave latency in comparison to v1). Query-interval response time The Query router sets the maximum Query-Response time (controls burstiness and fine-tunes leave latencies). Querier election process IGMPv2 routers can elect the Query Router without relying on the multicast routing protocol Cisco Systems, Inc. All rights reserved. Cisco Academy 38

27 IGMPv2 Joining a Group Join Group 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 39

28 IGMPv2 Leaving a Group IGMPv2 has explicit Leave Group messages, which reduces overall leave latency Cisco Systems, Inc. All rights reserved. Cisco Academy 40

29 IGMPv2 Leaving a Group (Cont.) Hosts H2 and H3 are members of group H2 sends a leave message Cisco Systems, Inc. All rights reserved. Cisco Academy 41

30 IGMPv2 Leaving a Group (Cont.) 2. Router sends group-specific query Cisco Systems, Inc. All rights reserved. Cisco Academy 42

31 IGMPv2 Leaving a Group (Cont.) 3. A remaining member host sends report, so group remains active Cisco Systems, Inc. All rights reserved. Cisco Academy 43

32 IGMPv2 Leaving a Group (Cont.) 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 44

33 IGMPv2 Leaving a Group (Cont.) 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 45

34 Unlike IGMPv1, in which the DR and the IGMP querier are typically the same router, in IGMPv2 the two functions are decoupled. The DR and the IGMP querier are selected based on different criteria and may be different routers on the same subnet. The DR is the router with the highest IP address on the subnet, whereas the IGMP querier is the router with the lowest IP address. Query messages are used to elect the IGMP querier as follows: 1. When IGMPv2 routers start, they each multicast a general query message to the all-systems group address of with their interface address in the source IP address field of the message. 2. When an IGMPv2 router receives a general query message, the router compares the source IP address in the message with its own interface address. The router with the lowest IP address on the subnet is elected the IGMP querier. 3. All routers (excluding the querier) start the query timer, which is reset whenever a general query message is received from the IGMP querier. If the query timer expires, it is assumed that the IGMP querier has gone down, and the election process is performed again to elect a new IGMP querier. By default, the timer is two times the query interval Cisco Systems, Inc. All rights reserved. Cisco Academy 46

35 Routers Running IGMPv3 IGMPv3 adds support in Cisco IOS software for source filtering, which enables a multicast receiver host to signal to a router which groups it wants to receive multicast traffic from, and from which sources this traffic is expected. IGMPv3 supports applications that explicitly signal sources from which they want to receive traffic. With IGMPv3, receivers signal membership to a multicast group in the following two modes: INCLUDE mode - In this mode, the receiver announces membership to a group and provides a list of IP addresses (the INCLUDE list) from which it wants to receive traffic. EXCLUDE mode - In this mode, the receiver announces membership to a group and provides a list of IP addresses (the EXCLUDE list) from which it does not want to receive traffic Cisco Systems, Inc. All rights reserved. Cisco Academy 47

36 IGMPv3 Joining a Group Joining member sends IGMPv3 report to immediately upon joining Cisco Systems, Inc. All rights reserved. Cisco Academy 48

37 IGMPv3 Joining Specific Source(s) IGMPv3 Report contains desired sources in the Include list. Only Included sources are joined Cisco Systems, Inc. All rights reserved. Cisco Academy 49

38 IGMPv3 Maintaining State Router sends periodic queries: All IGMPv3 members respond. Reports contain multiple group state records Cisco Systems, Inc. All rights reserved. Cisco Academy 50

39 Multicast Listener Discovery Protocol RFC 2710 defines specifications for the Multicast Listener Discovery (MLD) protocol. MLD is derived from IGMPv2 and is designed for IPv6. The operation of MLD is similar to IGMPv2. The major differences between IGMPv2 and MLD are as follows: All the multicast devices on a subnet use a special IPv6 link-local address as their source address in their communication to other multicast devices. The use of the link-local source address prevents the MLD packet from traveling beyond the local link. In MLD, when a host wants to leave a group, it sends a Done message. The Done message is similar to the IGMPv2 Leave message. It is addressed to the all-routers IPv6 link-local scope address, FF02::2. In MLD, the router Queries are called Multicast Listener Queries. The General Queries are addressed to the all-nodes IPv6 link-local scope address, FF02::1. When a router receives a Done message, it sends a Multicast-Address-Specific Query. Its function is similar to IGMPv2 Group-Specific Query Cisco Systems, Inc. All rights reserved. Cisco Academy 51

40 Determining IGMP Version Running Determining which IGMP version is running on an interface. rtr-a>show ip igmp interface e0 Ethernet0 is up, line protocol is up Internet address is , subnet mask is IGMP is enabled on interface Current IGMP version is 2 CGMP is disabled on interface IGMP query interval is 60 seconds IGMP querier timeout is 120 seconds IGMP max query response time is 10 seconds Inbound IGMP access group is not set Multicast routing is enabled on interface Multicast TTL threshold is 0 Multicast designated router (DR) is (this system) IGMP querying router is (this system) Multicast groups joined: Cisco Systems, Inc. All rights reserved. Cisco Academy 52

41 IGMP Layer 2 Issues CGMP CGMP Non-Receiver CGMP Multicast Traffic Receiver 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 53

42 Layer 2 Multicast Frame Switching Problem: Layer 2 flooding of multicast frames Typical Layer 2 switches treat multicast traffic as unknown or broadcast and must flood the frame to every port (in VLAN). Static entries may sometimes be set to specify which ports receive which groups of multicast traffic. Dynamic configuration of these entries may y reduce administration Cisco Systems, Inc. All rights reserved. Cisco Academy 54

43 Layer 2 Multicast Switching Solutions 1. Cisco Group Management Protocol (CGMP): Simple, proprietary; routers and switches 2. IGMP snooping: With IGMP snooping, the switch intercepts IGMP messages from the host and updates the MAC table accordingly. To implement IGMP snooping without suffering switch performance loss, it is necessary to make the switch Layer 3-aware. This result is typically accomplished by using Layer 3 ASICs Cisco Systems, Inc. All rights reserved. Cisco Academy 55

44 Layer 2 Multicast Frame Switching CGMP Solution 1: CGMP Runs on switches and routers. CGMP packets sent by routers to switches at the CGMP multicast MAC address of cdd.dddd. CGMP packet contains: Type field: join or leave MAC address of the IGMP client Multicast MAC address of the group Switch uses CGMP packet information to add or remove an entry for a particular multicast MAC address Cisco Systems, Inc. All rights reserved. Cisco Academy 56

45 IGMP Snooping Solution 2: IGMP snooping Switches become IGMP-aware. IGMP packets are intercepted by the CPU or by special hardware ASICs. Switch examines contents of IGMP messages to learn which ports want what traffic. Effect on switch without Layer 3-aware Hardware/ASICs Must process all Layer 2 multicast packets Administration load increased with multicast traffic load Effect on switch with Layer 3-aware Hardware/ASICs Maintain high-throughput performance but cost of switch increases 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 59

46 IGMP Snooping H1 sends an IGMP Join message for At Layer 2, H1 uses the multicast MAC address 0x0100.5e (the MAC for group ) as the destination address and uses its own BIA as the source address. SW1 receives the packet on its fa0/1 port and, noticing that it is an IGMP packet, forwards the packet to the switch CPU Cisco Systems, Inc. All rights reserved. Cisco Academy 60

47 IGMP Snooping H2 sends an IGMP Join message for At Layer 2, H2 uses the multicast MAC address 0x0100.5e as the destination address and uses its own BIA as the source address. SW1 receives the packet on its fa0/2 port, and its switching engine examines the packet. The process of analyzing the packet, as described in Step 1, is repeated and the CAM table entries are updated as shown Cisco Systems, Inc. All rights reserved. Cisco Academy 61

48 IGMP Snooping Router R1 forwards the group traffic. R1 is receiving multicast traffic for group and starts forwarding the traffic to SW1. SW1 starts receiving the multicast traffic on its port fa0/8. The switching engine would examine the packet and determine that this is a non-igmp packet, search its CAM table, and determine that it should forward the packet on ports fa0/1 and fa0/ Cisco Systems, Inc. All rights reserved. Cisco Academy 62

49 IGMPv3 and IGMP Snooping Impact of IGMPv3 on IGMP Snooping IGMPv3 Reports are sent to a separate group ( ) reduces load on switch CPU No Report Suppression in IGMPv3 IGMP Snooping should not cause a serious performance problem once IGMPv3 is implemented Cisco Systems, Inc. All rights reserved. Cisco Academy 63

50 Multicast Distribution Trees PIM - Protocol Independend Multicast Multicast Routing Protocols 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 64

51 Multicast Protocol Basics Types of multicast distribution trees: Source distribution trees; also called shortest path trees (SPTs) Shared distribution trees; rooted at a meeting point in the network A core router serves as a rendezvous point (RP) 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 65

52 Multicast Distribution Trees Shortest Path or Source Distribution Tree Source 1 Notation: (S, G) S = Source G = Group Source 2 A B D F C E Receiver 1 Receiver Cisco Systems, Inc. All rights reserved. Cisco Academy 66

53 Multicast Distribution Trees Shortest Path or Source Distribution Tree Source 1 Notation: (S, G) S = Source G = Group Source 2 A B D F C E Receiver 1 Receiver Cisco Systems, Inc. All rights reserved. Cisco Academy 67

54 Multicast Distribution Trees Shared Distribution Tree Notation: (*, G) * = All Sources G = Group A B D (RP) F C E (RP) PIM Rendezvous Point Shared Tree Receiver 1 Receiver Cisco Systems, Inc. All rights reserved. Cisco Academy 68

55 Multicast Distribution Trees Shared Distribution Tree Source 1 Notation: (*, G) * = All Sources G = Group Source 2 A B D (RP) F C E (RP) PIM Rendezvous Point Shared Tree Source Tree Receiver 1 Receiver Cisco Systems, Inc. All rights reserved. Cisco Academy 69

56 Multicast Distribution Tree Identification (S,G) entries For this particular source sending to this particular group Traffic is forwarded through the shortest path from the source (*,G) entries For any (*) source sending to this group Traffic is forwarded through a meeting point for this group 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 70

57 Multicast Distribution Trees Characteristics of Distribution Trees Source or Shortest Path trees Uses more memory but optimal paths from source to all receivers; minimizes delay Shared trees Uses less memory but sub-optimal paths from source to all receivers; may introduce extra delay 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 71

58 Multicast Routing 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 72

59 Protocols for IP Multicast Routing PIM is used between routers so that they can track which multicast packets to forward to each other and to their directly connected LANs Cisco Systems, Inc. All rights reserved. Cisco Academy 73

60 Protocol-Independent Multicast (PIM) PIM maintains the current IP multicast service mode of receiver-initiated membership. PIM is not dependent on a specific unicast routing protocol. With PIM, routers maintain forwarding tables to forward multicast datagrams. PIM can operate in dense mode or sparse mode. Dense mode protocols flood multicast traffic to all parts of the network and prune the flows where there are no receivers using a periodic flood-and-prune mechanism. Sparse mode protocols use an explicit join mechanism where distribution trees are built on demand by explicit tree join messages sent by routers that have directly connected receivers Cisco Systems, Inc. All rights reserved. Cisco Academy 74

61 Multicast Tree Creation PIM Join/Prune Control Messages Used to create/remove Distribution Trees Shortest Path trees PIM control messages are sent toward the Source Shared trees PIM control messages are sent toward RP 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 75

62 Multicast Forwarding Multicast routing operation is the opposite of unicast routing. Unicast routing is concerned with where the packet is going. Multicast routing is concerned with where the packet comes from. Multicast routing uses Reverse Path Forwarding (RPF) to prevent forwarding loops Cisco Systems, Inc. All rights reserved. Cisco Academy 76

63 Reverse Path Forwarding (RPF) The RPF Calculation The multicast source address is checked against the unicast routing table. This determines the interface and upstream router in the direction of the source to which PIM Joins are sent. This interface becomes the Incoming or RPF interface. A router forwards a multicast datagram only if received on the RPF interface Cisco Systems, Inc. All rights reserved. Cisco Academy 77

64 Reverse Path Forwarding (RPF) RPF Calculation Based on Source Address. Best path to source found in Unicast Route Table. Join Determines where to send Joins. Joins continue towards Source to build multicast tree. Multicast data flows down tree. E0 Join E2 E1 Unicast Route Table Network Interface /24 E Cisco Systems, Inc. All rights reserved. Cisco Academy 78

65 Reverse Path Forwarding (RPF) RPF Calculation (cont.) Repeat for other receivers Join Join E0 E1 E Cisco Systems, Inc. All rights reserved. Cisco Academy 79

66 Reverse Path Forwarding (RPF) RPF Calculation What if we have equal-cost paths? We can t use both. Tie-Breaker Use highest Next-Hop IP address E0 Join E Unicast Route Table Network Intfc Nxt-Hop /24 E /24 E E Cisco Systems, Inc. All rights reserved. Cisco Academy 80

67 Multicast Distribution Tree Creation PIM uses both source trees and RP-rooted shared trees to forward datagrams; the RPF check is performed differently for each, as follows: If a PIM router has source-tree state (that is, an (S,G) entry is present in the multicast routing table), the router performs the RPF check against the IP address of the source of the multicast packet. If a PIM router has shared-tree state (and no explicit source-tree state), it performs the RPF check on the RP's address (which is known when members join the group) Cisco Systems, Inc. All rights reserved. Cisco Academy 81

68 PIM Dense Mode Operation 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 82

69 PIM-DM Flood and Prune Initial Flooding 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 83

70 PIM-DM Flood and Prune (Cont.) 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 84

71 PIM-DM Flood and Prune (Cont.) Results After Pruning 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 85

72 PIM Sparse Mode Operation 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 86

73 PIM Sparse Mode PIM-SM supports both source and shared trees. PIM-SM is based on an explicit pull model. PIM-SM uses an RP. Senders and receivers meet each other. Senders are registered with RP by their first-hop router. Receivers are joined to the shared tree (rooted at the RP) by their local DR Cisco Systems, Inc. All rights reserved. Cisco Academy 87

74 PIM-SM Shared Tree Join RP (*, G) Join Shared Tree (*, G) State created only along the Shared Tree. Receiver 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 88

75 PIM-SM Sender Registration Source RP Traffic Flow Shared Tree Source Tree (S, G) Register (S, G) Join (unicast) Receiver (S, G) State created only along the Source Tree Cisco Systems, Inc. All rights reserved. Cisco Academy 89

76 PIM-SM Sender Registration Source RP Traffic Flow Shared Tree Source Tree (S, G) Register (S, G) Register-Stop (unicast) (unicast) Receiver (S, G) traffic begins arriving at the RP through the Source tree. RP sends a Register-Stop back to the first-hop router to stop the Register process Cisco Systems, Inc. All rights reserved. Cisco Academy 90

77 PIM-SM Sender Registration Source RP Traffic Flow Shared Tree Source Tree Receiver Source traffic flows natively along SPT to RP. From RP, traffic flows down the Shared Tree to Receivers Cisco Systems, Inc. All rights reserved. Cisco Academy 91

78 PIM-SM SPT Switchover Source RP Traffic Flow Shared Tree Source Tree (S, G) Join Receiver Last-hop router joins the Source Tree. Additional (S, G) State is created along new part of the Source Tree Cisco Systems, Inc. All rights reserved. Cisco Academy 92

79 PIM-SM SPT Switchover Source RP Traffic Flow Shared Tree Source Tree (S, G)RP-bit Prune Receiver Traffic begins flowing down the new branch of the Source Tree. Additional (S, G) State is created along the Shared Tree to prune off (S, G) traffic Cisco Systems, Inc. All rights reserved. Cisco Academy 93

80 PIM-SM SPT Switchover Source RP Traffic Flow Shared Tree Source Tree Receiver (S, G) Traffic flow is now pruned off of the Shared Tree and is flowing to the Receiver through the Source Tree Cisco Systems, Inc. All rights reserved. Cisco Academy 94

81 PIM-SM SPT Switchover Source RP Traffic Flow Shared Tree Source Tree (S, G) Prune Receiver (S, G) traffic flow is no longer needed by the RP so it Prunes the flow of (S, G) traffic Cisco Systems, Inc. All rights reserved. Cisco Academy 95

82 PIM-SM SPT Switchover Source RP Traffic Flow Shared Tree Source Tree Receiver (S, G) Traffic flow is now only flowing to the Receiver through a single branch of the Source Tree Cisco Systems, Inc. All rights reserved. Cisco Academy 96

83 PIM-SM Evaluation Effective for Sparse or Dense distribution of multicast receivers Advantages: Traffic only sent down joined branches Can switch to optimal source-trees for high traffic sources dynamically Unicast routing protocol-independent Basis for inter-domain multicast routing 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 97

84 Multiple RPs with Auto RP PIM Sparse-Dense-Mode 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 98

85 Multicast Basic Configuration 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 99

86 Enabling IP Multicast Routing router(config)# ip multicast-routing Enables multicast routing. Enabling IP multicast routing allows the Cisco IOS software to forward multicast packets Cisco Systems, Inc. All rights reserved. Cisco Academy 100

87 Enabling PIM on an Interface router(config-if)# ip pim { sparse-mode sparse-dense-mode } Enables PIM SM on an interface; the sparse-dense-mode option enables mixed sparse-dense groups. Enabling g PIM on an interface also enables IGMP operation on that interface. Recommended method is to use sparse-dense-mode option Cisco Systems, Inc. All rights reserved. Cisco Academy 101

88 Announcing the RP and the Group Range It Serves router(config)# ip pim send-rp-announce {interface type} scope {ttl} group-list {acl} Configures a router to be the RP for the local group as defined in the access list. The following example advertises the IP address of Ethernet 0 as the RP for the administratively scoped groups: router(config)# ip pim send-rp-announce ethernet0 scope 16 group-list 1 access-list 1 permit This router sends an Auto-RP message to , announcing the router as a candidate RP for the groups in the range described by the access list Cisco Systems, Inc. All rights reserved. Cisco Academy 102

89 Assigning the RP Mapping Agent router(config)# ip pim send-rp-discovery {interface type} scope {ttl} The RP mapping agent is the router that tells other routers which group-to-rp range to use. Such a role is necessary in the event of conflicts (such as overlapping group-to-rp ranges). Find a router whose connectivity is not likely to be interrupted and assign it the role of RP-mapping agent. All routers within ttl number of hops from the source router receive the Auto-RP Discovery messages Cisco Systems, Inc. All rights reserved. Cisco Academy 103

90 Dense Mode Cisco recommends that you use Protocol Independent Multicast (PIM) sparse mode, particularly Auto-RP, where possible and especially for new deployments. However, if dense mode is desired, configure the global command ip multicast-routing and the interface command ip pim sparse-dense-mode on each interface that needs to process multicast traffic. As of Cisco IOS Sotware Release 11.1, you can configure the interface commands ip pim dense-mode and ip pim sparse-mode simultaneously with the ip pim sparse-dense-mode command. In this mode, the interface is treated as dense-mode if the group is in densemode. If the group is in sparse-mode (for example, if an RP is known), the interface is treated as sparse-mode Cisco Systems, Inc. All rights reserved. Cisco Academy 104

91 Dense Mode Note: The "Source" in the examples throughout this document represents the source of multicast traffic, and "Receiver" represents the receiver of multicast traffic. ip multicast-routing interface ethernet0 ip address <address> <mask> ip pim sparse-dense-mode interface serial0 ip address <address> <mask> ip pim sparse-dense-mode ip multicast-routing interface serial0 ip address <address> <mask> ip pim sparse-dense-mode interface ethernet0 ip address <address> <mask> ip pim sparse-dense-mode 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 105

92 Sparse Mode with one RP In this example, Router A is the RP which is typically the closest router to the source. Static RP configuration requires that all routers in the PIM domain have the same ip pim rp-address commands configured. You can configure multiple RPs, but there can only be one RP per specific group. ip multicast-routing ip pim rp-address interface ethernet0 ip address <address> <mask> ip pim sparse-dense--mode interface serial0 ip address ip pp pim sparse--dense-mode ip multicast-routing ip pim rp-address interface serial0 ip address <address> <mask> ip pim sparse-dense--mode interface ethernet0 ip address <address> <mask> ip pp pim sparse--dense-mode 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 106

93 Sparse Mode with Multiple RPs In this example, Source-A sends to , , and Source-B sends to , , and You could have one router, either RP 1 or RP 2, be the RP for all groups. However, if you want different RPs to handle different groups, you need to configure all routers to include which groups the RPs will serve. This type of static RP configuration requires that all routers in the PIM domain have the same ip pim rp-address address acl commands configured. You can also use Auto-RP in order to achieve the same setup, which is easier to configure Cisco Systems, Inc. All rights reserved. Cisco Academy 107

94 ip multicast-routing ip pim RP-address ip pim RP-address access-list 2 permit access-list 2 permit access-list 2 permit access-list 3 permit access-list 3 permit access-list 3 permit ip multicast-routing ip pim RP-address ip pim RP-address access-list 2 permit access-list 2 permit access-list 2 permit access-list 3 permit access-list 3 permit access-list 3 permit ip multicast-routing ip pim RP-address ip pim RP-address access-list 2 permit access-list 2 permit access-list 2 permit access-list 3 permit access-list 3 permit access-list 3 permit Cisco Systems, Inc. All rights reserved. Cisco Academy 108

95 Auto-RP with one RP Auto-RP requires that you configure the RPs to announce their availability as RPs and mapping agents. The RPs use to send their announcements. The RP mapping agent listens to the announced packets from the RPs, then sends RP-to-group mappings in a discovery message that is sent to These discovery messages are used by the remaining routers for their RP-to-group map. You can use one RP that also serves as the mapping agent, or you can configure multiple RPs and multiple mapping agents for redundancy purposes Cisco Systems, Inc. All rights reserved. Cisco Academy 109

96 Auto-RP with one RP Note that when you choose an interface from which to source RP announcements, Cisco recommends that you use an interface such as a loopback instead of a physical interface. The loopback interface must be PIM-enabled and advertised by an Interior Gateway Protocol (IGP), or it must be reachable with static routing Cisco Systems, Inc. All rights reserved. Cisco Academy 110

97 Auto-RP with one RP ip multicast-routing ip pim send-rp-announce loopback0 scope 16 (RP) ip pim send-rp-discovery scope 16 (Mapping agent) interface loopback0 ip address <address> <mask> ip pim sparse-dense-mode interface ethernet0 ip address <address> <mask> ip pim sparse-dense-mode ip multicast-routing interface ethernet0 ip address <address> <mask> ip pim sparse-dense-mode interface serial0 ip address <address> <mask> ip pim sparse-dense-mode interface serial0 ip address <address> <mask> ip pim sparse-dense-mode 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 111

98 Auto-RP with Multiple RPs The access lists in this example allow the RPs to be an RP only for the groups you want. If no access list is configured, the RPs are available as an RP for all groups. If two RPs announce their availability to be RPs for the same group(s), the mapping agent(s) resolve these conflicts with "the highest IP address wins" rule. When two RPs announce for that group, you can configure each router with a loopback address in order to influence which router is the RP for a particular group. Place the higher IP address on the preferred RP, then use the loopback interface as the source of the announce packets; for example, ip pim send-rp-announce loopback0. When multiple mapping agents are used, they each advertise the same group to RP mappings to the discovery group Cisco Systems, Inc. All rights reserved. Cisco Academy 112

99 Auto-RP with Multiple RPs ip multicast-routing interface loopback0 ip address <address> <mask> ip pim sparse-dense-mode ip pim send-rp-announce loopback0 scope 16 group-list 1 ip pim send-rp-discovery scope 16 access-list 1 permit Cisco Systems, Inc. All rights reserved. Cisco Academy 113

100 Auto-RP with Multiple RPs ip multicast-routing interface loopback0 ip address <address> <mask> ip pim sparse-dense-mode ip pim send-rp-announce loopback0 scope 16 group-list 1 ip pim send-rp-discovery scope 16 access-list 1 deny access-list 1 permit Cisco Systems, Inc. All rights reserved. Cisco Academy 114

101 Anycast RP MSDP Example The main purpose of an Anycast RP implementation is that the downstream multicast routers will see just one address for an RP. The example given shows how the loopback 0 interface of the RPs (RP1 and RP2) is configured with the same IP address. If this address is configured on all RPs as the address for the loopback 0 interface and then configured as the RP address, IP routing will converge on the closest RP. This address must be a host route - note the subnet mask/32. The downstream routers must be informed about the RP address. In Figure, the routers are configured statically with the ip pim rp-address global configuration command. This configuration could also be accomplished using the Auto-RP or bootstrap router (BSR) features Cisco Systems, Inc. All rights reserved. Cisco Academy 115

102 Verifying Multicast Configuration 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 116

103 Inspecting Multicast Routing Table router# show ip mroute [group-address] [summary] [count] [active kbps] Displays the contents of the IP multicast routing table summary: Displays a one-line, abbreviated summary of each entry in the IP multicast routing table. count: Displays statistics about the group and source, including number of packets, packets per second, average packet size, and bits per second. active: Displays the rate at which active sources are sending to multicast groups. Active sources are those sending at a rate specified in the kbps argument or higher. The kbps argument defaults to 4 kbps Cisco Systems, Inc. All rights reserved. Cisco Academy 117

104 show ip mroute NA-1#sh ip mroute IP Multicast Routing Table Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected L - Local, P - Pruned, R - RP-bit set, F - Register flag, T - SPT-bit set, J - Join SPT, M - MSDP created entry, X - Proxy Join Timer Running, A - Advertised via MSDP, U - URD, I - Received Source Specific Host Report Outgoing interface flags: H - Hardware switched Timers: Uptime/Expires Interface state: Interface, Next-Hop or VCD, State/Mode (*, ), 00:07:54/00:02:59, RP , flags: S Incoming interface: Null, RPF nbr Outgoing interface list: Serial1/3, Forward/Sparse, 00:07:54/00:02:32 ( , ), 00:01:29/00:02:08, flags: TA Incoming interface: Serial1/4, RPF nbr Outgoing interface list: Serial1/3, Forward/Sparse, 00:00:57/00:02: Cisco Systems, Inc. All rights reserved. Cisco Academy 118

105 Finding PIM Neighbors router# show ip pim interface [type number] [count] Displays information about interfaces configured for PIM router# show ip pim neighbor [type number] Lists the PIM neighbors discovered by the router router# mrinfo [hostname address] Queries which neighboring multicast routers are peering with the local router or router specified 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 119

106 show ip pim interface NA-2#show ip pim interface Address Interface Ver/ Nbr Query DR DR Mode Count Intvl Prior Serial0/0 Serial1/2 Serial1/3 v2/s v2/s v2/s Cisco Systems, Inc. All rights reserved. Cisco Academy 120

107 show ip pim neighbor NA-2#show ip pim neighbor PIM Neighbor Table Neighbor Interface Address Serial0/ Serial1/ Serial1/3 Uptime/Expires Ver 00:01:46/00:01:28 v2 00:01:05/00:01:40 v2 00:01:56/00:01:18 v2 DR Priority None 1 (BD) 1 (BD) 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 121

108 Checking RP Information router(config)# show ip pim rp [group-name group-address mapping] Displays active RPs that are cached with associated multicast routing g entries. Mapping displays all group-to-rp mappings that the router is aware of router(config)# show ip rpf {source address name } Displays how IP multicast routing does Reverse Path Forwarding (RPF). Source Address source address of the host for which RPF information is displayed Name name of the host for which RPF information is displayed 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 122

109 show ip pim rp P4-2#show ip pim rp Group: , RP: , uptime 00:00:20, expires never P4-2#show ip pim rp mapping PIM Group-to-RP Mappings Group(s) /32 RP (NA-1), v1 Info source: local, via Auto-RP Uptime: 00:00:21, expires: never Group(s) /32 RP (NA-1), v1 Info source: local, via Auto-RP Uptime: 00:00:21, expires: never Group(s): /4, Static RP: (NA-1) 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 123

110 show ip rpf (towards the RP) NA-2#show ip rpf RPF information for NA-1 ( ) RPF interface: Serial1/3 RPF neighbor:? ( ) RPF route/mask: /32 RPF type: unicast (ospf 1) RPF recursion count: 0 Doing distance-preferred lookups across tables (towards the source) NA-2#show ip rpf RPF information for? ( ) RPF interface: Serial0/0 RPF neighbor:? ( ) RPF route/mask: /25 RPF type: unicast (ospf 1) RPF recursion count: 0 Doing distance-preferred lookups across tables 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 124

111 Checking the Group State router# show ip igmp interface [type number] Displays multicast-related information about an interface router# show ip igmp groups [group-address type number] Displays the multicast groups that are directly connected to the router and that were learned via IGMP 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 125

112 Configure a Router as a Group Member Router (config-if)# ip igmp join-group group address Configure a router to join a specific multicast group and enable IGMP on an interface. Router (config-if)# ip igmp static-group group-address Configures the router as a statically connected member of a group 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 126

113 show ip igmp interface rtr-a>show ip igmp interface e0 Ethernet0 is up, line protocol is up Internet address is , subnet mask is IGMP is enabled on interface Current IGMP version is 2 CGMP is disabled on interface IGMP query interval is 60 seconds IGMP querier timeout is 120 seconds IGMP max query response time is 10 seconds Inbound IGMP access group is not set Multicast routing is enabled on interface Multicast TTL threshold is 0 Multicast designated router (DR) is (this system) IGMP querying router is (this system) Multicast groups joined: Cisco Systems, Inc. All rights reserved. Cisco Academy 127

114 show ip igmp groups rtr-a>sh ip igmp groups IGMP Connected Group Membership Group Address Interface Uptime Expires Last Reporter Ethernet0 6d17h 00:01: Ethernet0 6d17h never Cisco Systems, Inc. All rights reserved. Cisco Academy 128

115 Verifying IGMP Snooping on a Switch switch> show multicast group [igmp] [mac_addr] [vlan_id] Displays information about multicast groups. If igmp keyword is used, only IGMP-learned information is shown. switch> show multicast router [igmp] [mod_num/port_num] [vlan_id] Displays information on dynamically learned and manually configured multicast router ports. If igmp keyword is used, only IGMP-learned information is shown Cisco Systems, Inc. All rights reserved. Cisco Academy 129

116 Verifying IGMP Snooping Example 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 130

117 Verifying IGMP Snooping Example (Cont.) Switch> show igmp statistics 10 IGMP enabled IGMP statistics for vlan 10: IGMP statistics for vlan 10: Transmit: General Queries: 0 Group Specific Queries: 0 Reports: 0 Leaves: 0 Receive: General Queries: 1 Group Specific Queries: 0 Reports: 2 Leaves: 0 Total Valid pkts: 4 Total Invalid pkts: 0 Other pkts: 1 MAC-Based General Queries: 0 Failures to add GDA to EARL: 0 Topology Notifications: Cisco Systems, Inc. All rights reserved. Cisco Academy 131

118 Verifying IGMP Snooping Example (Cont.) Switch> show multicast router igmp Port Vlan /1 10 Total Number of Entries = 1 '*' - Configured '+' - RGMP-capable Switch> show multicast group igmp VLAN Dest MAC/Route Des [CoS] Destination Ports or VCs / [Protocol Type] e / e /1-2 Total Number of Entries = Cisco Systems, Inc. All rights reserved. Cisco Academy 132

Module 7 Implementing Multicast

Module 7 Implementing Multicast Module 7 Implementing Multicast Lesson 1 Explaining Multicast Why Multicast? Used when sending same data to multiple receivers Better bandwidth utilization Less host/router processing Used when addresses

More information

Multicast Overview. IP Multicasting: Explaining Multicast. Lesson Cisco Systems, Inc. All rights reserved. Cisco Public. BSCI Module 7 Lesson 1

Multicast Overview. IP Multicasting: Explaining Multicast. Lesson Cisco Systems, Inc. All rights reserved. Cisco Public. BSCI Module 7 Lesson 1 IP Multicasting: Explaining Multicast BSCI Module 7 Lesson 1 BSCI Module 7 Lesson 1 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Multicast Overview BSCI Module 7 2 1 IP Multicast Distribute

More information

Explaining Multicast Cisco Systems, Inc. All rights reserved. Cisco Academy

Explaining Multicast Cisco Systems, Inc. All rights reserved. Cisco Academy IP Multicasting: Explaining Multicast 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 1 Multicast Overview 2008 Cisco Systems, Inc. All rights reserved. Cisco Academy 2 IP Multicast Distribute

More information

Configuring IP Multicast Routing

Configuring IP Multicast Routing 39 CHAPTER This chapter describes how to configure IP multicast routing on the Catalyst 3560 switch. IP multicasting is a more efficient way to use network resources, especially for bandwidth-intensive

More information

Lab 7-3 Routing IP Multicast with PIM Sparse Mode

Lab 7-3 Routing IP Multicast with PIM Sparse Mode Lab 7-3 Routing IP Multicast with PIM Sparse Mode Learning Objectives Implement and verify PIM-SM operation and adjacencies Implement and verify the use of a static rendezvous point Observe the shared

More information

IP Multicast Technology Overview

IP Multicast Technology Overview IP multicast is a bandwidth-conserving technology that reduces traffic by delivering a single stream of information simultaneously to potentially thousands of businesses and homes. Applications that take

More information

IP Multicast. Falko Dressler Regionales Rechenzentrum Grundzüge der Datenkommunikation IP Multicast

IP Multicast. Falko Dressler Regionales Rechenzentrum Grundzüge der Datenkommunikation IP Multicast Falko Dressler Regionales Rechenzentrum falko.dressler@rrze.uni-erlangen.de 1 Agenda Basics Principles of IP multicast, addressing, TTL Internet Group Management Protocol (IGMP) IGMPv1, v2, v3 Layer-2

More information

Configuring IP Multicast Routing

Configuring IP Multicast Routing 34 CHAPTER This chapter describes how to configure IP multicast routing on the Cisco ME 3400 Ethernet Access switch. IP multicasting is a more efficient way to use network resources, especially for bandwidth-intensive

More information

Exercises to Communication Systems

Exercises to Communication Systems Exercises to Communication Systems IP Multicast Additional Slides Dr.-Ing. Falko Dressler Department of Computer Science 7 University of Erlangen ÜKS, WS 05/06 1 IP Multicast Introduction Internet Group

More information

Configuring IP Multicast Routing

Configuring IP Multicast Routing CHAPTER 45 This chapter describes how to configure IP multicast routing on the Catalyst 3750 Metro switch. IP multicasting is a more efficient way to use network resources, especially for bandwidth-intensive

More information

BASIC MULTICAST TROUBLESHOOTING. Piotr Wojciechowski (CCIE #25543)

BASIC MULTICAST TROUBLESHOOTING. Piotr Wojciechowski (CCIE #25543) BASIC MULTICAST TROUBLESHOOTING Piotr Wojciechowski (CCIE #25543) ABOUT ME Senior Network Engineer MSO at VeriFone Inc. Previously Network Solutions Architect at one of top polish IT integrators CCIE #25543

More information

Configuring IP Multicast Routing

Configuring IP Multicast Routing CHAPTER 46 This chapter describes how to configure IP multicast routing on the Catalyst 3750-E or 3560-E switch. IP multicasting is a more efficient way to use network resources, especially for bandwidth-intensive

More information

Configuring PIM. Information About PIM. Send document comments to CHAPTER

Configuring PIM. Information About PIM. Send document comments to CHAPTER CHAPTER 3 This chapter describes how to configure the Protocol Independent Multicast (PIM) features on Cisco NX-OS switches in your IPv4 networks. This chapter includes the following sections: Information

More information

IP Multicast Technology Overview

IP Multicast Technology Overview IP multicast is a bandwidth-conserving technology that reduces traffic by delivering a single stream of information simultaneously to potentially thousands of businesses and homes. Applications that take

More information

Monitoring and Maintaining IP Multicast

Monitoring and Maintaining IP Multicast This module describes many ways to monitor and maintain an IP multicast network, such as displaying which neighboring multicast routers are peering with the local router displaying multicast packet rates

More information

Customizing IGMP. Finding Feature Information. Last Updated: December 16, 2011

Customizing IGMP. Finding Feature Information. Last Updated: December 16, 2011 Customizing IGMP Last Updated: December 16, 2011 Internet Group Management Protocol (IGMP) is used to dynamically register individual hosts in a multicast group on a particular LAN segment. Enabling Protocol

More information

Table of Contents 1 IGMP Configuration 1-1

Table of Contents 1 IGMP Configuration 1-1 Table of Contents 1 IGMP Configuration 1-1 IGMP Overview 1-1 IGMP Versions 1-1 Introduction to IGMPv1 1-2 Enhancements in IGMPv2 1-3 Enhancements in IGMPv3 1-4 IGMP SSM Mapping 1-5 Protocols and Standards

More information

Multicast Technology White Paper

Multicast Technology White Paper Multicast Technology White Paper Keywords: Multicast, IGMP, IGMP Snooping, PIM, MBGP, MSDP, and SSM Mapping Abstract: The multicast technology implements high-efficiency point-to-multipoint data transmission

More information

Configuring a Rendezvous Point

Configuring a Rendezvous Point Version History Version Number Date Notes 1 03/15/2002 This document was created. The purpose of this document is to outline four recommended methods for configuring a rendezvous point (RP) in a Protocol

More information

Advanced Network Training Multicast

Advanced Network Training Multicast Division of Brocade Advanced Network Training Multicast Larry Mathews Systems Engineer lmathews@brocade.com Training Objectives Session will concentrate on Multicast with emphasis on Protocol Independent

More information

ASM. Engineering Workshops

ASM. Engineering Workshops 1 ASM 2 ASM Allows SPTs and RPTs RP: Matches senders with receivers Provides network source discovery Typically uses RPT to bootstrap SPT RPs can be learned via: Static configuration recommended Anycast-RP

More information

IPv6 PIM. Based on the forwarding mechanism, IPv6 PIM falls into two modes:

IPv6 PIM. Based on the forwarding mechanism, IPv6 PIM falls into two modes: Overview Protocol Independent Multicast for IPv6 () provides IPv6 multicast forwarding by leveraging static routes or IPv6 unicast routing tables generated by any IPv6 unicast routing protocol, such as

More information

Multicast Quick Start Configuration Guide

Multicast Quick Start Configuration Guide Multicast Quick Start Configuration Guide Document ID: 9356 Contents Introduction Prerequisites Requirements Components Used Conventions Dense Mode Sparse Mode with one RP Sparse Mode with Multiple RPs

More information

Table of Contents 1 PIM Configuration 1-1

Table of Contents 1 PIM Configuration 1-1 Table of Contents 1 PIM Configuration 1-1 PIM Overview 1-1 Introduction to PIM-DM 1-2 How PIM-DM Works 1-2 Introduction to PIM-SM 1-4 How PIM-SM Works 1-5 Introduction to Administrative Scoping in PIM-SM

More information

IP Multicast. What is multicast?

IP Multicast. What is multicast? IP Multicast 1 What is multicast? IP(v4) allows a host to send packets to a single host (unicast), or to all hosts (broadcast). Multicast allows a host to send packets to a subset of all host called a

More information

Multicast H3C Low-End Ethernet Switches Configuration Examples. Table of Contents

Multicast H3C Low-End Ethernet Switches Configuration Examples. Table of Contents Table of Contents Table of Contents Chapter 1 Protocol Overview... 1-1 1.1 Overview... 1-1 1.2 Support of Features... 1-2 1.3 Configuration Guidance... 1-3 1.3.1 Configuring IGMP Snooping... 1-3 1.3.2

More information

Verifying IPv4 Multicast Forwarding Using the MFIB

Verifying IPv4 Multicast Forwarding Using the MFIB Verifying IPv4 Multicast Forwarding Using the MFIB This module describes how to verify IPv4 multicast forwarding using the Multicast Forwarding Information Base (MFIB) in multicast networks operating in

More information

Multicast overview. Introduction to multicast. Information transmission techniques. Unicast

Multicast overview. Introduction to multicast. Information transmission techniques. Unicast Contents Multicast overview 1 Introduction to multicast 1 Information transmission techniques 1 Multicast features 3 Common notations in multicast 4 Multicast advantages and applications 4 Multicast models

More information

FSOS Multicast Configuration Guide

FSOS Multicast Configuration Guide FSOS Multicast Configuration Guide Contents 1 Configuring IP Multicast-Routing...6 1.1 Overview...6 1.2 Configuration... 6 1.3 Validation... 6 2 Configuring IGMP... 8 2.1 Overview...8 2.2 References...9

More information

Multicast overview. Introduction to multicast. Information transmission techniques. Unicast

Multicast overview. Introduction to multicast. Information transmission techniques. Unicast 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

More information

Configuring Basic IP Multicast

Configuring Basic IP Multicast IP multicast is a bandwidth-conserving technology that reduces traffic by delivering a single stream of information simultaneously to potentially thousands of corporate businesses and homes. Applications

More information

Customizing IGMP. Finding Feature Information. Last Updated: October 16, 2012

Customizing IGMP. Finding Feature Information. Last Updated: October 16, 2012 Customizing IGMP Last Updated: October 16, 2012 Internet Group Management Protocol (IGMP) is used to dynamically register individual hosts in a multicast group on a particular LAN segment. Enabling Protocol

More information

IP Multicast Routing Technology Overview

IP Multicast Routing Technology Overview Finding Feature Information, on page 1 Information About IP Multicast Technology, on page 1 Finding Feature Information Your software release may not support all the features documented in this module.

More information

Copyright 2009 Internetwork Expert i

Copyright 2009 Internetwork Expert i Copyright Information, Inc. All rights reserved. The following publication, CCIE R&S Lab Workbook Volume I Version 5.0, was developed by Internetwork Expert, Inc. All rights reserved. No part of this publication

More information

Configuring Basic IP Multicast

Configuring Basic IP Multicast IP multicast is a bandwidth-conserving technology that reduces traffic by delivering a single stream of information simultaneously to potentially thousands of corporate businesses and homes. Applications

More information

IGMP Snooping for IPv4 Multicast Traffic

IGMP Snooping for IPv4 Multicast Traffic 40 CHAPTER Prerequisites for IGMP Snooping, page 40-1 Restrictions for IGMP Snooping, page 40-1 Information About IGMP Snooping, page 40-2 Default Settings for IGMP Snooping, page 40-8 How to Configure

More information

Configuring IGMP Snooping for IPv4 Multicast Traffic

Configuring IGMP Snooping for IPv4 Multicast Traffic CHAPTER 38 Configuring IGMP Snooping for IPv4 Multicast Traffic This chapter describes how to configure Internet Group Management Protocol (IGMP) snooping in Cisco IOS Release 12.2SX. For complete syntax

More information

IP Multicast: PIM Configuration Guide, Cisco IOS Release 15S

IP Multicast: PIM Configuration Guide, Cisco IOS Release 15S First Published: November 05, 2012 Last Modified: July 30, 2013 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS

More information

Configuring Bidirectional PIM

Configuring Bidirectional PIM Configuring Bidirectional PIM This chapter describes how to configure the Bidirectional PIM (bidir-pim) feature. Bidir-PIM is a variant of the Protocol Independent Multicast (PIM) suite of routing protocols

More information

Basic Multicast Troubleshooting Tools

Basic Multicast Troubleshooting Tools Basic Multicast Troubleshooting Tools Document ID: 13726 Contents Introduction Prerequisites Requirements Components Used Conventions Troubleshooting Strategies Check Source Packet Flow Check Network Signaling

More information

FiberstoreOS IPv6 Multicast Configuration Guide

FiberstoreOS IPv6 Multicast Configuration Guide FiberstoreOS IPv6 Multicast Configuration Guide Contents 1 Configuring IPv6 Multicast-Routing... 5 1.1 Overview... 5 1.2 Configuration... 5 1.3 Validation...5 2 Configuring MLD... 7 2.1 Overview... 7 2.2

More information

Lab 7-1 Implementing IGMP and IGMP Snooping

Lab 7-1 Implementing IGMP and IGMP Snooping Lab 7-1 Implementing IGMP and IGMP Snooping Learning Objectives Configure IGMP to join interfaces to a multicast group Verify the operation of IGMP at Layer 3 Analyze IGMP packets and packets sent to multicast

More information

IPv6 Multicast Listener Discovery Protocol

IPv6 Multicast Listener Discovery Protocol Finding Feature Information, on page 1 Restrictions for, on page 1 Information About, on page 2 How to Configure, on page 4 Verifying, on page 11 Finding Feature Information Your software release may not

More information

This chapter describes how to configure the Cisco ASA to use the multicast routing protocol.

This chapter describes how to configure the Cisco ASA to use the multicast routing protocol. This chapter describes how to configure the Cisco ASA to use the multicast routing protocol. About, page 1 Guidelines for, page 4 Enable, page 4 Customize, page 5 Monitoring for PIM, page 16 Example for,

More information

IP Multicast: PIM Configuration Guide, Cisco IOS Release 15SY

IP Multicast: PIM Configuration Guide, Cisco IOS Release 15SY First Published: October 15, 2012 Last Modified: February 12, 2013 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800

More information

IP Multicast: PIM Configuration Guide, Cisco IOS XE Release 3S

IP Multicast: PIM Configuration Guide, Cisco IOS XE Release 3S First Published: 2012-11-05 Last Modified: 2018-01-10 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387)

More information

HP 5920 & 5900 Switch Series

HP 5920 & 5900 Switch Series HP 5920 & 5900 Switch Series IP Multicast Configuration Guide Part number: 5998-3373 Software version: Release2207 Document version: 6W100-20121130 Legal and notice information Copyright 2012 Hewlett-Packard

More information

IP Multicast: PIM Configuration Guide

IP Multicast: PIM Configuration Guide Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883 THE SPECIFICATIONS AND INFORMATION

More information

IPv6 Multicast Listener Discovery Protocol

IPv6 Multicast Listener Discovery Protocol Finding Feature Information, page 1 New and Changed Information, page 2 Restrictions for, page 2 Information About, page 2 How to Configure, page 5 Verifying, page 12 Additional References, page 14 Finding

More information

Chapter 24 PIM Commands

Chapter 24 PIM Commands Chapter 24 PIM Commands bsr-candidate Configures the Routing Switch as a candidate PIM Sparse Bootstrap Router (BSR). To configure the Routing Switch as a candidate BSR, enter a command such as the following:

More information

IP Multicast: PIM Configuration Guide, Cisco IOS Release 15M&T

IP Multicast: PIM Configuration Guide, Cisco IOS Release 15M&T First Published: 2012-11-21 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883 THE

More information

IPv6 Multicast: PIM Sparse Mode

IPv6 Multicast: PIM Sparse Mode IPv6 multicast provides support for intradomain multicast routing using PIM sparse mode (PIM-SM). PIM-SM uses unicast routing to provide reverse-path information for multicast tree building, but it is

More information

IP Multicast: PIM Configuration Guide, Cisco IOS Release 12.4T

IP Multicast: PIM Configuration Guide, Cisco IOS Release 12.4T IP Multicast: PIM Configuration Guide, Cisco IOS Release 12.4T Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS

More information

Multicast Protocol Configuration Examples H3C S7500 Series Ethernet Switches Release Table of Contents

Multicast Protocol Configuration Examples H3C S7500 Series Ethernet Switches Release Table of Contents Table of Contents Table of Contents Chapter 1 Multicast Protocol Overview... 1-1 1.1 Overview... 1-1 1.2 Configuration Guidance... 1-2 1.2.1 Configuring IGMP Snooping... 1-2 1.2.2 Configuring IGMP... 1-5

More information

IP Multicast: PIM Configuration Guide

IP Multicast: PIM Configuration Guide Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883 THE SPECIFICATIONS AND INFORMATION

More information

Developing IP Muiticast Networks

Developing IP Muiticast Networks Developing IP Muiticast Networks Volume I Beau Williamson Cisco SYSTEMS CISCO PRESS Cisco Press 201 West 103rd Street Indianapolis, IN 46290 USA Table of Contents Introduction xviii Part I Fundamentals

More information

IPv6 Multicast: PIM Sparse Mode

IPv6 Multicast: PIM Sparse Mode Finding Feature Information, page 1 Information About IPv6 Multicast PIM Sparse Mode, page 1 How to Configure IPv6 Multicast PIM Sparse Mode, page 6 Configuration Examples for IPv6 Multicast PIM Sparse

More information

Financial Services Design for High Availability

Financial Services Design for High Availability Financial Services Design for High Availability Version History Version Number Date Notes 1 March 28, 2003 This document was created. This document describes the best practice for building a multicast

More information

Multicast Communications

Multicast Communications Multicast Communications Multicast communications refers to one-to-many or many-tomany communications. Unicast Broadcast Multicast Dragkedja IP Multicasting refers to the implementation of multicast communication

More information

Implementing IPv6 Multicast

Implementing IPv6 Multicast Implementing IPv6 Multicast Last Updated: November 14, 2011 Traditional IP communication allows a host to send packets to a single host (unicast transmission) or to all hosts (broadcast transmission).

More information

PIM Configuration. Page 1 of 9

PIM Configuration. Page 1 of 9 PIM Configuration Page 1 of 9 Contents Contents...2 Chapter 1 PIM Configuration...3 1.1 PIM Description...3 1.1.1 Principles of PIM-DM...3 1.1.2 Principles of PIM-SM...4 1.1.3 Principles of PIM-SSM...5

More information

Configuring SSM. Finding Feature Information. Prerequisites for Configuring SSM

Configuring SSM. Finding Feature Information. Prerequisites for Configuring SSM Finding Feature Information, page 1 Prerequisites for, page 1 Restrictions for, page 2 Information About SSM, page 3 How to Configure SSM, page 7 Monitoring SSM, page 15 Configuration Examples for Source

More information

Contents. Configuring MSDP 1

Contents. Configuring MSDP 1 Contents Configuring MSDP 1 Overview 1 How MSDP works 1 MSDP support for VPNs 6 Protocols and standards 6 MSDP configuration task list 7 Configuring basic MSDP features 7 Configuration prerequisites 7

More information

IP Multicast Survival Guide Part 2

IP Multicast Survival Guide Part 2 IP Multicast Survival Guide Part 2 Second Edition Beau Williamson CCIE 1356 R/S Emeritus CiscoLive Distinguished Speaker aka Multicast Survivorman Twitter: @Mr_Multicast Rules of Engagement Silence...

More information

Table of Contents 1 MSDP Configuration 1-1

Table of Contents 1 MSDP Configuration 1-1 Table of Contents 1 MSDP Configuration 1-1 MSDP Overview 1-1 Introduction to MSDP 1-1 How MSDP Works 1-2 Protocols and Standards 1-7 MSDP Configuration Task List 1-7 Configuring Basic Functions of MSDP

More information

Table of Contents Chapter 1 IPv6 PIM Configuration

Table of Contents Chapter 1 IPv6 PIM Configuration Table of Contents Table of Contents... 1-1 1.1 IPv6 PIM Overview... 1-1 1.1.1 Introduction to IPv6 PIM-DM... 1-2 1.1.2 How IPv6 PIM-DM Works... 1-2 1.1.3 Introduction to IPv6 PIM-SM... 1-5 1.1.4 How IPv6

More information

Configuring MLD. Overview. MLD versions. How MLDv1 operates. MLD querier election

Configuring MLD. Overview. MLD versions. How MLDv1 operates. MLD querier election Contents Configuring MLD 1 Overview 1 MLD versions 1 How MLDv1 operates 1 How MLDv2 operates 3 MLD message types 4 MLD SSM mapping 7 MLD proxying 8 Protocols and standards 9 MLD configuration task list

More information

IP Multicast Optimization: Optimizing PIM Sparse Mode in a Large IP Multicast Deployment

IP Multicast Optimization: Optimizing PIM Sparse Mode in a Large IP Multicast Deployment IP Multicast Optimization: Optimizing PIM Sparse Mode in a Large IP Multicast Deployment Finding Feature Information, page 1 Prerequisites for Optimizing PIM Sparse Mode in a Large IP Multicast Deployment,

More information

Router Does Not Forward Multicast Packets to Host Due to RPF Failure

Router Does Not Forward Multicast Packets to Host Due to RPF Failure Contents Introduction Prerequisites Requirements Components Used Background Information Router Does Not Forward Multicast Packets to Host Due to RPF Failure Diagnose the Problem Router Does Not Forward

More information

This module describes how to configure IPv6 Multicast PIM features.

This module describes how to configure IPv6 Multicast PIM features. This module describes how to configure features. New and Changed Information, page 2 Prerequisites for IPv6 Multicast, page 2 Restrictions for IPv6 Multicast, page 2 Information About IPv6 Multicast, page

More information

What is Multicasting? Multicasting Fundamentals. Unicast Transmission. Agenda. L70 - Multicasting Fundamentals. L70 - Multicasting Fundamentals

What is Multicasting? Multicasting Fundamentals. Unicast Transmission. Agenda. L70 - Multicasting Fundamentals. L70 - Multicasting Fundamentals What is Multicasting? Multicasting Fundamentals Unicast transmission transmitting a packet to one receiver point-to-point transmission used by most applications today Multicast transmission transmitting

More information

Configuring IGMP Snooping for IPv4 Multicast Traffic

Configuring IGMP Snooping for IPv4 Multicast Traffic 30 CHAPTER Configuring IGMP Snooping for IPv4 Multicast Traffic This chapter describes how to configure Internet Group Management Protocol (IGMP) snooping for IPv4 multicast traffic on the Catalyst 6500

More information

HP 5500 HI Switch Series

HP 5500 HI Switch Series HP 5500 HI Switch Series IP Multicast Configuration Guide Part number: 5998-2380 Software version: Release 5203 and Release 5206 Document version: 6W102-20140228 Legal and notice information Copyright

More information

HP 6125G & 6125G/XG Blade Switches

HP 6125G & 6125G/XG Blade Switches HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration Guide Part number: 5998-3158a Software version: Release 2103 and later Document version: 6W102-20141218 Legal and notice information Copyright

More information

H3C S9800 Switch Series

H3C S9800 Switch Series H3C S9800 Switch Series IP Multicast Configuration Guide Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com Software version: Release 2109 Document version: 6W100-20140128 Copyright 2014, Hangzhou

More information

HP 5500 EI & 5500 SI Switch Series

HP 5500 EI & 5500 SI Switch Series HP 5500 EI & 5500 SI Switch Series IP Multicast Configuration Guide Part number: 5998-1712 Software version: Release 2220 Document version: 6W100-20130810 Legal and notice information Copyright 2013 Hewlett-Packard

More information

HPE FlexNetwork HSR6800 Routers

HPE FlexNetwork HSR6800 Routers HPE FlexNetwork HSR6800 Routers IP Multicast Configuration Guide Part number: 5998-4493R Software version: HSR6800-CMW520-R3303P25 Document version: 6W105-20151231 Copyright 2015 Hewlett Packard Enterprise

More information

Configuring Multicast Routing

Configuring Multicast Routing CHAPTER 24 This chapter describes how to configure the ASA to use the multicast routing protocol and includes the following sections: Information About Multicast Routing, page 24-17 Licensing Requirements

More information

Table of Contents Chapter 1 Multicast Routing and Forwarding Configuration

Table of Contents Chapter 1 Multicast Routing and Forwarding Configuration Table of Contents Table of Contents... 1-1 1.1 Multicast Routing and Forwarding Overview... 1-1 1.1.1 Introduction to Multicast Routing and Forwarding... 1-1 1.1.2 RPF Mechanism... 1-2 1.1.3 Multicast

More information

HPE FlexNetwork 7500 Switch Series

HPE FlexNetwork 7500 Switch Series HPE FlexNetwork 7500 Switch Series IP Multicast Configuration Guide Part number: 5998-7469R Software version: 7500-CMW710-R7178 Document version: 6W100-20160129 Copyright 2016 Hewlett Packard Enterprise

More information

HP A6600 Routers IP Multicast. Configuration Guide. Abstract

HP A6600 Routers IP Multicast. Configuration Guide. Abstract HP A6600 Routers IP Multicast Configuration Guide Abstract This document describes the software features for the HP A Series products and guides you through the software configuration procedures. These

More information

IP Multicast: IGMP Configuration Guide, Cisco IOS Release 12.2SX

IP Multicast: IGMP Configuration Guide, Cisco IOS Release 12.2SX IP Multicast: IGMP Configuration Guide, Cisco IOS Release 12.2SX Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS

More information

Configuring IGMP Snooping

Configuring IGMP Snooping This chapter describes how to configure Internet Group Management Protocol (IGMP) snooping on a Cisco NX-OS device. About IGMP Snooping, page 1 Licensing Requirements for IGMP Snooping, page 4 Prerequisites

More information

Rendezvous Point Engineering

Rendezvous Point Engineering Rendezvous Point Engineering Last updated: November 2008 Introduction A Rendezvous Point (RP) is a router in a multicast network domain that acts as a shared root for a multicast shared tree. Any number

More information

PIM Allow RP. Finding Feature Information. Restrictions for PIM Allow RP

PIM Allow RP. Finding Feature Information. Restrictions for PIM Allow RP This module describes how to configure the feature in IPv4 or IPv6 networks for inter-connecting Protocol Independent Multicast (PIM) Sparse Mode (SM) domains with different rendezvous points (RPs). enables

More information

IP Multicast: Does It Really Work? Wayne M. Pecena, CPBE, CBNE

IP Multicast: Does It Really Work? Wayne M. Pecena, CPBE, CBNE IP Multicast: Does It Really Work? Wayne M. Pecena, CPBE, CBNE Texas A&M Information Technology Educational Broadcast Services - KAMU v2 Agenda Introduction IP Networking Review The Multicast Group Multicast

More information

H3C S5130-HI Switch Series

H3C S5130-HI Switch Series H3C S5130-HI Switch Series IP Multicast Configuration Guide New H3C Technologies Co., Ltd. http://www.h3c.com Software versions: Release 1118P02 and Release 1122 Document version: 6W102-20180323 Copyright

More information

What is IPv4 multicast? Deference between Unicast & Multicast Simulate Multicast Streaming using one Machine

What is IPv4 multicast? Deference between Unicast & Multicast Simulate Multicast Streaming using one Machine What is IPv4 multicast? It is a bandwidth-conserving technology delivering a single stream of information simultaneously to a large or small number of endpoints within the network. such as video/audio

More information

Multicast Communications. Slide Set were original prepared by Dr. Tatsuya Susa

Multicast Communications. Slide Set were original prepared by Dr. Tatsuya Susa Multicast Communications Slide Set were original prepared by Dr. Tatsuya Susa Outline 1. Advantages of multicast 2. Multicast addressing 3. Multicast Routing Protocols 4. Multicast in the Internet 5. IGMP

More information

Configuring IP Multicast

Configuring IP Multicast CHAPTER 27 This chapter describes IP multicast routing on the Catalyst 4500 series switch. It also provides procedures and examples to configure IP multicast routing. Note For complete syntax and usage

More information

IP Multicasting at Layer 2

IP Multicasting at Layer 2 IP Multicasting at Layer 2 Module 2 1 1 Module Objectives Understand Layer 2 Multicast Addressing Identify the purpose of IGMP Recognize the difference between v1, v2 & v3 of the IGMP protocol Identify

More information

IPv6 PIM-DM configuration example 36 IPv6 PIM-SM non-scoped zone configuration example 39 IPv6 PIM-SM admin-scoped zone configuration example 42 IPv6

IPv6 PIM-DM configuration example 36 IPv6 PIM-SM non-scoped zone configuration example 39 IPv6 PIM-SM admin-scoped zone configuration example 42 IPv6 Contents Configuring IPv6 PIM 1 Overview 1 IPv6 PIM-DM overview 1 IPv6 PIM-SM overview 3 IPv6 BIDIR-PIM overview 8 IPv6 administrative scoping overview 11 IPv6 PIM-SSM overview 13 Relationship among IPv6

More information

Network Configuration Example

Network Configuration Example Network Configuration Example Release NCE0051 Modified: 2016-09-08 Juniper Networks, Inc. 1133 Innovation Way Sunnyvale, California 94089 USA 408-745-2000 www.juniper.net All rights reserved. Juniper Networks,

More information

Implementing IPv6 Multicast

Implementing IPv6 Multicast Finding Feature Information, page 1 Information About Routing, page 1, page 8 Finding Feature Information Your software release may not support all the features documented in this module. For the latest

More information

IP Multicast Load Splitting across Equal-Cost Paths

IP Multicast Load Splitting across Equal-Cost Paths IP Multicast Load Splitting across Equal-Cost Paths This module describes how to load split IP multicast traffic from different sources, or from different sources and groups, over Equal Cost Multipath

More information

Configuring VRF-lite CHAPTER

Configuring VRF-lite CHAPTER CHAPTER 36 Virtual Private Networks (VPNs) provide a secure way for customers to share bandwidth over an ISP backbone network. A VPN is a collection of sites sharing a common routing table. A customer

More information

ipv6 mobile home-agent (global configuration)

ipv6 mobile home-agent (global configuration) ipv6 mobile home-agent (global configuration) ipv6 mobile home-agent (global configuration) To enter home agent configuration mode, use the ipv6 mobile home-agent command in global configuration mode.

More information

Configuring MSDP. Overview. How MSDP operates. MSDP peers

Configuring MSDP. Overview. How MSDP operates. MSDP peers Contents Configuring MSDP 1 Overview 1 How MSDP operates 1 MSDP support for VPNs 6 Protocols and standards 6 MSDP configuration task list 7 Configuring basic MSDP functions 7 Configuration prerequisites

More information

Configuring Multicast VPN Extranet Support

Configuring Multicast VPN Extranet Support Configuring Multicast VPN Extranet Support First Published: December 4, 2006 Last Updated: June 10, 2011 The Multicast VPN Extranet Support feature (sometimes referred to as the MVPN Extranet Support feature)

More information

Implementing Multicast Service Reflection

Implementing Multicast Service Reflection Implementing Multicast Service Reflection First Published: September 22, 2006 Last Updated: June 4, 2010 The Cisco Multicast Service Reflection feature provides the capability for users to translate externally

More information