Skip to content

ENCOR course / Keep the gateway and services up · Step 4 of 14

Guide: IP multicastSwitch

Guide

IP multicast: IGMP, PIM and rendezvous points (CCNP ENCOR)

Multicast sends one stream to many receivers. IGMP tells the local router which hosts want a group, and PIM builds the tree between sources and those routers.

6 parts · video · 13 practice questions

The multicast pieces and how they connect

Hosts use IGMP to report multicast group interest on their local segment. Layer 2 switches use IGMP snooping to learn member ports and limit forwarding to those ports. Routers use PIM joins to build paths toward a source or rendezvous point (RP), then forward multicast traffic toward receivers.

PIM sparse mode uses a pull model: only network segments with active receivers that explicitly requested the data receive it. Its shared-tree operation uses an RP; Source-Specific Multicast (SSM) does not use an RP or shared tree.

Practice this part:CCNP ENCOR: Multicast (13)
References (3)

IGMP versions, leave messages and snooping

An IGMPv2 host sends a Leave Group message (Type 0x17) to 224.0.0.2, the all-routers multicast address, when it was the last host to respond to a query with a membership report for that group. IGMPv3 membership reports go to 224.0.0.22.

IGMPv3 added source filtering. INCLUDE requests traffic from listed sources; EXCLUDE requests traffic from all sources except those listed. SSM uses IGMPv3 INCLUDE reports to request a specific (S, G) channel. IGMPv1 and IGMPv2 identify the group without this source filtering.

IGMP snooping listens to IGMP transmissions between hosts and routers and tracks multicast groups and member ports. It uses that learned table to limit forwarding to listed ports; it can also remove entries when it receives Leave Group messages or membership reports stop arriving.

References (1)

PIM sparse mode: DR, shared tree and source tree

PIM Hello and Join/Prune packets use the link-local All-PIM-Routers group 224.0.0.13. PIM Register messages are sent directly from a source's DR to the RP, not to that group.

All-PIM-Routers group
224.0.0.13
Default PIM DR priority
1
Shared tree notation
(*, G)
Source tree notation
(S, G)
A join and a register meeting at the RP, then the shared and source trees, as a 16 second clip. Watch on its own page

On a multi-access segment, the router with the highest advertised PIM DR priority wins (default priority 1); the highest IP address breaks a tie. A configured priority can control the election. In PIM-SM, the DR sends joins toward the RP for receivers and registers directly connected sources with the RP.

A shared tree is rooted at the RP and carries traffic from all sources for a group. It is written (*, G). A source tree is a shortest-path tree rooted at the source and is written (S, G).

When a source starts sending, its DR encapsulates the first multicast packets in unicast PIM Register messages and sends them straight to the RP.

References (3)

The rendezvous point and how routers learn it

The RP is the meeting point. First-hop routers register active sources with it, and last-hop routers send PIM joins toward it to build the shared tree (*, G) for receivers.

Candidate RP announcement group
224.0.1.39
Mapping agent group
224.0.1.40
Auto-RP transport
UDP port 496

Routers can learn the RP address by static configuration, by BSR, or by Auto-RP. Auto-RP is Cisco-proprietary and supports IPv4. Candidate RPs announce themselves to 224.0.1.39; mapping agents distribute group-to-RP mappings to 224.0.1.40. Cisco states that Auto-RP uses UDP port 496. The Catalyst guide documents the Auto-RP groups; Cisco's multicast toolkit documents the port and IPv4 limitation.

References (3)

Source-Specific Multicast

SSM lets a receiver use an IGMPv3 INCLUDE report to subscribe to a specific (S, G) channel. PIM-SSM uses source-specific joins and does not create shared-tree state for SSM groups. IANA reserves 232.0.0.0/8 for SSM; Cisco IOS XE can also be configured to use another multicast range.

References (3)

Anycast RP and MSDP

Anycast RP configures two or more RPs with the same IP address. This supports RP redundancy and load sharing. Since a source can register with one RP while receivers join through another, the RPs exchange active-source information.

MSDP peer transport
TCP port 639
Exchanged messages
Source-Active (SA)

MSDP does that. RPs peer over TCP port 639 and exchange Source-Active (SA) messages so every RP knows which sources are active, whichever RP a source registered with.

References (1)

Check your understanding

IP multicast: IGMP, PIM and rendezvous points (CCNP ENCOR)

All 6 sections · no timer

Unlimited retries

Questions from every section are combined into one assessment. Answer them all correctly to complete the article.

Your completion saves in this browser. Sign in to sync it to your account.