• Filter based on match criteria in a route map Follow these steps to apply a filter: Procedure Configuring MSDP Controlling Source Information that Your Switch Receives Command or Action Purpose Step 1 enable Example: Device>enable Enables privileged EXEC mode. • Enter your password if prompted. Step 2 configure terminal Example: Device#configure terminal Enters global configuration mode. Step 3 Use one of the following: • ip msdp sa-filter in { ip-address name } • ip msdp sa-filter in { ip-address name } list access-list-number • ip msdp sa-filter in { ip-address name } route-map map-tag Example:
Device(config)#ip msdp sa-filter in switch.cisco.com or Device(config)#ip msdp sa-filter in list 100 or Device(config)#ip msdp sa-filter in switch.cisco.com route-map 22 • Filters all SA messages to the specified MSDP peer. • Passes only those SA messages from the specified peer that pass the IP extended access list. The range for the extended access-list-number is 100 to 199. If both the list and the route-map keywords are used, all conditions must be true to pass any (S,G) pair in outgoing SA messages. • Passes only those SA messages from the specified MSDP peer that meet the match criteria in the route map map-tag.
If all match criteria are true, a permit from the route map passes routes through the filter. A deny filters routes. Step 4 access-list access-list-number {deny | permit} protocol source source-wildcard destination destination-wildcard Example: (Optional) Creates an IP extended access list, repeating the command as many times as necessary. Configuring MSDP 17