MSDP
Cheat sheet · https://pcornel.dk/topic.php?topic=650
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.
Remember
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.
First 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.
Commands
ip msdp peer <peer-address> connect-source <interface>- Configure an MSDP peer to exchange multicast source information between RPs.
show ip msdp peer- Display MSDP peers.
show ip msdp sa-cache- Display multicast sources learned through MSDP.
Verify in this order
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
Where it usually breaks
TCP/source failure → no local SA → SA filter/peer-RPF → receiver/PIM/RPF → downstream data path
MSDP evidence boundaries
| Evidence | Proves | Does not prove |
|---|---|---|
| MSDP peer established | TCP control session is up | a specific SA exists |
SA cache has (S,G) | source-active info reached this router | receiver joined / PIM forwards |
| RP/PIM state healthy | multicast control tree can form | data packets reach receiver |
| mroute counters rise | data is crossing the router | application consumes it |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=650