MSDP (Multicast Source Discovery Protocol) connects PIM sparse-mode domains and anycast RPs by exchanging Source-Active (SA) messages between RPs over TCP peerings. The global ip msdp settings of the default VRF are configured directly under routing.msdp, and the ip msdp settings of other VRFs (vrf context > ip msdp) under the respective entry in routing.msdp.vrfs. Each VRF supports the originator ID interface, the reconnect and SA intervals, route flushing on restart, redistribution of local sources into SA messages through a route map or prefix list, and per-source-prefix group limits. Peers are configured with their connect-source interface and remote AS, and support a description, keepalive timers, shutdown, MD5 password or key chain authentication, mesh group membership, an SA limit and inbound and outbound SA policies (route map or prefix list).
Note
password takes the type-3 encrypted key, as shown by show running-config (for example ip msdp password 10.1.1.2 3 6564b151c0dda69478f90072e4b17a9b → password: 6564b151c0dda69478f90072e4b17a9b). A cleartext key is not applied by the device. To get the encrypted value, configure the key once with ip msdp password <peer-address> <password> and read it back from the running configuration.
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value routing Class routing No
Name Type Constraint Mandatory Default Value msdp Class msdp No
Name Type Constraint Mandatory Default Value originator_ id_ interface_ type Choice ethernet, loopback, mgmt, port-channel, vlan, vniNo originator_ id_ interface_ id Any String or Integer[min: 0] No reconnect_ interval Integer min: 1, max: 60 No sa_interval Integer min: 60, max: 65535 No flush_routes Boolean true, falseNo redistribute_ route_ map String No redistribute_ prefix_ list String No group_limits List group_limits No peers List peers No vrfs List vrfs No
Name Type Constraint Mandatory Default Value source IP Yes limit Integer min: 0, max: 4294967295 No
Name Type Constraint Mandatory Default Value address IP Yes connect_ source_ interface_ type Choice ethernet, loopback, mgmt, port-channel, vlan, vniYes connect_ source_ interface_ id Any String or Integer[min: 0] Yes remote_as Any String or Integer[min: 0, max: 4294967295] No description String No shutdown Boolean true, falseNo keepalive_ interval Integer min: 1, max: 60 No keepalive_ timeout Integer min: 1, max: 90 No password String No keychain String No mesh_group String No sa_limit Integer min: 0, max: 4294967295 No sa_policy_in String No sa_ policy_ in_ prefix_ list String No sa_policy_out String No sa_ policy_ out_ prefix_ list String No
Name Type Constraint Mandatory Default Value vrf String Yes originator_ id_ interface_ type Choice ethernet, loopback, mgmt, port-channel, vlan, vniNo originator_ id_ interface_ id Any String or Integer[min: 0] No reconnect_ interval Integer min: 1, max: 60 No sa_interval Integer min: 60, max: 65535 No flush_routes Boolean true, falseNo redistribute_ route_ map String No redistribute_ prefix_ list String No group_limits List group_limits No peers List peers No
Example 1: Anycast RP pair with an MSDP mesh group in the default VRF
originator_id_interface_type : loopback
originator_id_interface_id : 0
connect_source_interface_type : loopback
connect_source_interface_id : 0
description : SPINE2 anycast RP
Example 2: Inter-domain MSDP peering with authentication, timers, SA filtering and limits
- name : MSDP-LOCAL-SOURCES
originator_id_interface_type : loopback
originator_id_interface_id : 0
redistribute_route_map : MSDP-LOCAL-SOURCES
connect_source_interface_type : loopback
connect_source_interface_id : 0
password : 6564b151c0dda69478f90072e4b17a9b
sa_policy_out_prefix_list : MSDP-SA-OUT
Example 3: MSDP in a tenant VRF with a key chain authenticated peer
originator_id_interface_type : loopback
originator_id_interface_id : 10
redistribute_prefix_list : TENANT1-SOURCES
connect_source_interface_type : loopback
connect_source_interface_id : 10