Use peer state before investigating SA policy: if the TCP peering is down, SA information cannot be exchanged over that relationship.
MSDP Peer
An MSDP peer is a configured TCP neighbor with which Source-Active information is exchanged.
1. MSDP connects RPs in different PIM domains (TCP 639).
2. Peers exchange SA messages about active sources.
3. Peer-RPF checks the SA originator.
4. Used with Anycast RP.
5. Peer address must be reachable.
TCP 639 session → SA messages → remote RP learns sources
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show ip msdp peerShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Checks Verify boundary
show ip msdp peer
show ip msdp sa-cache
show ip msdp summary
Peers should be Up (TCP 639). An empty SA cache means no active sources were announced from the other domain, or RPF checks failed.
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.
show ip msdp peer— state Up and SA countsshow ip msdp summary— all peers
ReferenceImportant terms & boundaries3 sections · depth on demand
Key points
In depth
MSDP peers
An MSDP peer is another RP (or MSDP speaker) you exchange Source-Active messages with. RFC 3618 specifies peering over TCP port 639, with the higher IP address listening to avoid connection collisions, and recommends a keepalive of 60 s, a hold time of 75 s and a connect-retry of 30 s.
Peer types
| Peering | Use |
|---|---|
| Inter-domain | RPs in different autonomous systems (often alongside eBGP) |
| Intra-domain anycast RP | RPs sharing an anycast address exchange SAs so each knows all sources |
| Mesh group | Fully meshed peers in one domain; an SA from a member goes only to non-members |
Peer-RPF (RFC 3618)
An SA is accepted only from the peer-RPF neighbour towards the originating RP. The first matching rule picks it: the RP itself (if directly peered), the eBGP next hop towards the RP, the neighbour that advertised the route (or IGP next hop), the peer in the closest AS on the best path, then a static peer. Peers not in the ESTABLISHED state don't qualify.
RP1(config)# ip msdp peer 10.255.1.1 connect-source Loopback0 remote-as 65020
RP1(config)# ip msdp description 10.255.1.1 RP-PARTNER
RP1(config)# ip msdp password peer 10.255.1.1 0 <secret>
RP1(config)# ip msdp mesh-group ANYCAST 10.255.0.2
RP1# show ip msdp summary
MSDP Peer Status Summary
Peer Address AS State Uptime/ Reset SA Peer Name
Downtime Count Count
10.255.1.1 65020 Up 2d03h 0 41 RP-PARTNER
10.255.0.2 65010 Up 5d11h 1 3 ?
RP1# show ip msdp peer 10.255.1.1 | include State|SAs
Security (RFC 3618)
Implementations must support Keyed MD5 (RFC 2385) on the TCP session and should apply SA filters and limits.
Common problems
| Problem | Cause |
|---|---|
| Peer stuck in Listen/Connect | TCP 639 blocked, wrong connect-source, route missing |
| SAs rejected | Peer-RPF mismatch: the BGP or IGP path to the RP points to another peer |
| Duplicate SAs in anycast RP | Mesh group not configured |
Documented example, not captured output.
Quick reference
MSDP peers are rendezvous points connected by TCP sessions to exchange source information. Inside a single domain they are most often used for anycast RP, where several RPs share one address for redundancy and use MSDP to tell each other about the sources they see.
MSDP peers connect RPs over TCP 639.
ip msdp peer 10.255.0.101 connect-source Loopback0
ip msdp originator-id Loopback0
ip msdp mesh-group ANYCAST 10.255.0.101
show ip msdp peer
show ip msdp summary
For Anycast RP within one domain, peer all RPs in a mesh group so SAs are not re-flooded; PIM Anycast RP (RFC 4610) is an alternative without MSDP.
ReferenceConfiguration & state1 section · depth on demand
Configuration
ip msdp peer 10.255.0.2 connect-source Loopback0
ip msdp originator-id Loopback0
show ip msdp peer
show ip msdp summary
Documented example, not captured output. MSDP peers use TCP 639. It is used between RPs in different domains and for Anycast RP inside one domain.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Routing → Multicast → MSDP → MSDP Peer. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc1112.html · confidence 94%