Configuring a Default MSDP Peer: Example This example shows a partial configuration of Router A and Router C in . Each of these ISPs have more than one customer (like the customer in ) who use default peering (no BGP or MBGP). In that case, they might have similar configurations. That is, they accept SAs only from a default peer if the SA is permitted by the corresponding prefix list.
Router A Device(config)# ip msdp default-peer 10.1.1.1 Device(config) #ip msdp default-peer 10.1.1.1 prefix-list site-a Device(config)# ip prefix-list site-b permit 10.0.0.0/1 Router C Device(config)# ip msdp default-peer 10.1.1.1 prefix-list site-a Device(config)# ip prefix-list site-b permit 10.0.0.0/1 Caching Source-Active State: Example This example shows how to enable the cache state for all sources in 171.69.0.0/16 sending to groups 224.2.0.0/16: Device(config)# ip msdp cache-sa-state 100 Device(config)# access-list 100 permit ip 171.69.0.0 0.0.255.255 224.2.0.0 0.0.255.255 Requesting Source Information from an MSDP Peer:
Example This example shows how to configure the switch to send SA request messages to the MSDP peer at 171.69.1.1: Device(config)# ip msdp sa-request 171.69.1.1 Controlling Source Information that Your Switch Originates: Example This example shows how to configure the switch to filter SA request messages from the MSDP peer at 171.69.2.2. SA request messages from sources on network 192.4.22.0 pass access list 1 and are accepted; all others are ignored. Device(config)# ip msdp filter sa-request 171.69.2.2 list 1 Device(config)# access-list 1 permit 192.4.22.0 0.0.0.255 Controlling Source Information that Your Switch Forwards:
Example This example shows how to allow only (S,G) pairs that pass access list 100 to be forwarded in an SA message to the peer named switch.cisco.com : Configuring MSDP Configuring a Default MSDP Peer: Example Configuring MSDP 25