Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

MSDP

Direct answer

MSDP connects PIM sparse-mode domains, or Anycast RPs inside one domain: RPs tell each other about active sources (source-active messages), so receivers in one domain can join sources in another.

When to use this

Use it between multicast domains, or to synchronise Anycast RPs, and when sources in one domain are not seen in the other.

First 30 seconds

1. show ip msdp summary — sessions Up?

2. Down → TCP 639 between the RP addresses; connect-source matching the peer's configuration.

3. Up but source missing from show ip msdp sa-cache → the source is not registered at the originating RP, or SA filtering.

4. In the SA cache but no stream → receivers' RP must join (S,G) towards the source; RPF towards it.

5. Anycast RP → every RP peers with all others.

Operational verification

MSDP sessions up between RPs → source registers at its RP → SA sent to peers → peer-RPF passes → SA cached → receivers' RP joins (S,G) → stream crosses the domain

Evidence · next step

Check unicast route, connect-source identity and TCP/639 policy; then re-check peer before SA cache.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · Cisco IOS / IOS XE
Key commandip msdp peer <peer-address> connect-source <interface>
Scope / prerequisiteUse it between multicast domains, or to synchronise Anycast RPs, and when sources in one domain are not seen in the oth…
Show · 2Reference · 1
What next?3 suggested next steps
Child topics (this level)2
Catalog command links3
Evidence1
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

4 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 MSDP: bounded example and recovery Verify boundary

Use an isolated two-RP ASM lab with reviewed peer-RPF and SA policy, one bounded sender and one remote receiver. Correlate peer session, the exact SA entry, receiver-driven PIM state and actual data arrival independently.

Negative test: filter only the selected test SA at the reviewed boundary and observe the cache/rediscovery behavior over its timers. Existing PIM/data state can persist, so immediate stream interruption is not guaranteed. Restore the exact SA policy and recheck discovery plus delivery. Do not clear all SA/mroute state to force a desired result. This is an authored architecture test, not performed interdomain traffic.

Step 2 Verification and output interpretation Verify boundary

Use show ip msdp peer to verify TCP peer state, uptime and SA counters, and show ip msdp sa-cache to confirm expected source/group announcements are learned. Correlate an SA entry with the local multicast routing table and RP/PIM state only when a receiver actually requests that group. A healthy peer with no SA entries can be correct if no eligible ASM sources are active. Conversely, an SA cache entry shows source information was learned but not that traffic is reaching receivers. When a remote group fails, distinguish MSDP peer/discovery state from the subsequent PIM join, RPF and data-plane forwarding state.

Step 3 MSDP: first failed boundary Narrow the fault

No peer: inspect TCP path, selected source and remote configuration. Peer established but source absent: verify actual local ASM source activity, registration to its RP, SA origination, filters and peer-RPF acceptance before resetting sessions.

SA exists but receiver gets no data: move to receiver interest, RP mapping, PIM join state, source RPF and the multicast forwarding path. Do not keep changing MSDP merely because the last-mile receiver is filtered. Inspect the architecture: a single-RP or SSM-only design may intentionally need no MSDP.

Step 4 Verification & troubleshooting Narrow the fault

1. Verify peer reachability and show ip msdp peer.

2. Verify expected source/group in show ip msdp sa-cache.

3. Verify RP mapping/PIM state.

4. Verify RPF and mroute toward the source.

5. Continue to receiver membership and data flow.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

command output · 1
Command lookup Jump straight to Cisco syntax
Drill down

Subtopics

Go one level deeper into this subject.

Key points

MSDP peers run over TCP 639 between RPs. Each RP sends SA messages for sources registered with it; the receiving RP accepts them only if they pass the peer-RPF check. With Anycast RP, every RP must peer with every other.

Key checks
  • show ip msdp peer — peers and session state.
  • show ip msdp summary — peers, uptime and SA count.
  • show ip msdp sa-cache — sources learned from peers.
  • show ip mroute <group> — state for remote sources.
  • show ip pim rp mapping — the local RP.
ReferenceHow it works2 sections · depth on demand

MSDP is source discovery, not forwarding

An MSDP SA tells remote RP domains that source S is active for group G. Actual multicast delivery still depends on PIM joins, RPF and mroute state. Therefore an SA cache entry is a discovery boundary, not evidence that receiver data is flowing.

MSDP: observation versus configuration

Scope: IPv4 ASM with explicitly separate RPs using MSDP; do not make it a generic prerequisite of SSM. ip msdp peer <peer-address> connect-source <interface> changes peering configuration. Read show ip msdp peer, show ip msdp sa-cache and supported SA acceptance/filter counters, with source-interface/route and TCP/639 policy.

The peer session carries source discovery, not the receiver’s multicast stream. SA peer-RPF acceptance and multicast data-source RPF are separate decisions. A populated SA cache is not an IIF/OIL or receiver-delivery observation.

Reference: Cisco MSDP.

ReferenceImportant terms & boundaries5 sections · depth on demand

Key points

  • MSDP peers form TCP sessions (port 639) between configured peers
  • SA messages advertise active source/group information
  • Peer health and SA cache are distinct evidence boundaries
  • MSDP does not replace PIM forwarding or RPF
  • Modern designs may use other mechanisms; confirm the architecture before assuming MSDP is present.

In depth

MSDP

MSDP connects PIM sparse mode domains so each can keep its own RPs. RFC 3618 (an Experimental RFC) describes RPs learning about new local sources, typically from Register messages, and sending Source-Active (SA) messages to MSDP peers over TCP port 639; peers accept SAs only from the peer-RPF neighbour towards the originating RP, flood them onward, and RPs with interested receivers join the source.

Main uses

UseDetail
Inter-domain ASMRPs in different organisations learn each other's sources
Anycast RPSeveral RPs share one address; MSDP lets each know all sources

Elements (RFC 3618)

ElementDetail
PeeringTCP 639; higher address listens
SA messageSource, group, originating RP (optionally encapsulated data)
Peer-RPF checkAccept SAs only from the right peer towards the originating RP
SA cacheRequired; reduces join latency and helps debugging
Mesh groupsFully meshed peers; SAs from members aren't re-flooded to members
TimersKeepalive 60 s, hold time 75 s, SA advertisement 60 s, connect retry 30 s
SecurityKeyed MD5 must be supported; SA filters and limits recommended
RP1(config)# interface Loopback1
RP1(config-if)# ip address 10.255.0.1 255.255.255.255
RP1(config)# ip msdp peer 10.255.0.12 connect-source Loopback0
RP1(config)# ip msdp originator-id Loopback0
RP1(config)# ip msdp mesh-group ANYCAST-RP 10.255.0.12
RP1# show ip msdp summary
Peer Address     AS    State    Uptime/  Reset SA    Peer Name
                                Downtime Count Count
10.255.0.12      65010 Up       5d11h    1     3     RP2
RP1# show ip msdp sa-cache

Both RPs use 10.255.0.1 on Loopback1 as the anycast RP address and peer from their unique Loopback0 addresses.

Alternatives

NeedAlternative
Anycast RP without MSDPPIM anycast RP (RFC 4610) on supported platforms
Inter-domain without RPsSSM
IPv6MSDP is IPv4 only; IPv6 uses embedded RP or PIM anycast RP

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

MSDP (Multicast Source Discovery Protocol) lets PIM-SM domains, or anycast RPs inside one domain, tell each other about active sources. RPs peer over TCP 639 and exchange Source-Active messages so receivers in one domain can join sources in another.

ip msdp peer 10.0.0.2 connect-source Loopback0
ip msdp originator-id Loopback0
show ip msdp peer
show ip msdp sa-cache

Documented example, not captured output.

MSDP is IPv4-only; IPv6 uses embedded-RP addressing or PIM anycast RP instead.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

State model and protocol mechanics

Multicast Source Discovery Protocol was designed to connect Any-Source Multicast domains that use different Rendezvous Points. An RP that learns of an active local source can originate a Source-Active message describing the source and group. MSDP peers exchange those SA messages over a TCP session, allowing remote RPs to learn the source identity and trigger normal PIM joins toward it when receivers exist. The SA cache is therefore control-plane discovery state, not the multicast forwarding table. RPF rules for SA acceptance and peer design help prevent loops or inappropriate propagation. MSDP commonly appears with interdomain or multi-RP ASM designs; SSM removes the need for this source-discovery function because receivers specify S directly.

Limits and common misconceptions

MSDP does not transport multicast data and is not a replacement for PIM. A peer being established shows only the TCP/control relationship, while an SA cache shows source discovery metadata. Neither shows receiver interest, a valid PIM tree or packet delivery. SA suppression or filtering can intentionally make some sources invisible across domains. MSDP is also not required for Source-Specific Multicast, so its absence in an SSM design is expected. Treat source discovery, multicast tree construction and payload forwarding as separate evidence layers to avoid attributing every interdomain multicast problem to the MSDP session.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration model

Establish MSDP peers between the intended RP/control points using stable peer addresses and a deliberate connect-source. Ensure unicast routing supports the peer TCP session and that any filtering/policy on SA messages reflects the group/source scope that should cross domains. Mesh-group or peer-RPF design may be relevant in larger topologies to control SA flooding and acceptance. Keep RP/PIM configuration and MSDP configuration conceptually separate: MSDP only tells a remote domain that a source exists; PIM still constructs the multicast path. Avoid deploying MSDP for SSM-only groups, where the receiver already knows the source and SA discovery is unnecessary.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 1112

Authoritative/upstream documentation reviewed for bounded claims in Routing → Multicast → MSDP. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc1112.html · confidence 94%
Embedded reference data

Quick lookup tables

MSDP evidence boundaries

What each MSDP check proves

EvidenceProvesDoes not prove
MSDP peer establishedTCP control session is upa specific SA exists
SA cache has (S,G)source-active info reached this routerreceiver joined / PIM forwards
RP/PIM state healthymulticast control tree can formdata packets reach receiver
mroute counters risedata is crossing the routerapplication consumes it

MSDP · operational reference

Compact state and interpretation boundaries for fast lookup.

MSDP evidenceMeaning
Peer EstablishedTCP control session is up
SA messageSource/group discovery metadata exchanged
SA cacheRemote source information retained
mroute/PIM stateSeparate tree/forwarding evidence
Confirmation

Confirm action

Continue?