Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

MSDP Peer

Direct answer

An MSDP peer is a configured TCP neighbor with which Source-Active information is exchanged.

When to use this

Use peer state before investigating SA policy: if the TCP peering is down, SA information cannot be exchanged over that relationship.

First 30 seconds

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.

Operational verification

TCP 639 session → SA messages → remote RP learns sources

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 commandshow ip msdp peer
Scope / prerequisiteUse peer state before investigating SA policy: if the TCP peering is down, SA information cannot be exchanged over that…
Show · 1
What next?3 suggested next steps
Catalog command links1
Evidence1
On this pageJump to a specific section
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.

2 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 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.

Step 2 MSDP problems Narrow the fault
  • TCP 639 blocked between peers.
  • Peer address not reachable from the configured connect-source.
  • Peer-RPF failures because BGP/MBGP does not have a route to the originating RP.
  • Anycast RP without unique originator IDs causing SA loops.
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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • Peering depends on unicast reachability to the peer address and selected connect source
  • TCP port 639 is used by MSDP
  • A healthy peer does not prove a specific SA exists
  • Routing/ACL/source-interface mismatch can break the session.
Key checks
  • show ip msdp peer — state Up and SA counts
  • show ip msdp summary — all peers
ReferenceImportant terms & boundaries3 sections · depth on demand

Key points

  • Peering depends on unicast reachability to the peer address and selected connect source
  • TCP port 639 is used by MSDP
  • A healthy peer does not show a specific SA exists
  • Routing/ACL/source-interface mismatch can break the session.

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

PeeringUse
Inter-domainRPs in different autonomous systems (often alongside eBGP)
Intra-domain anycast RPRPs sharing an anycast address exchange SAs so each knows all sources
Mesh groupFully 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

ProblemCause
Peer stuck in Listen/ConnectTCP 639 blocked, wrong connect-source, route missing
SAs rejectedPeer-RPF mismatch: the BGP or IGP path to the RP points to another peer
Duplicate SAs in anycast RPMesh group not configured

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 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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
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 → MSDP Peer. Documentation verification only; this is not observed lab or production Evidence.

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

Confirm action

Continue?