Procedure Configuring Protocol Independent Multicast (PIM) Filtering Incoming RP Announcement Messages 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 ip pim rp-announce-filter rp-list access-list-number group-list access-list-number Example: Device(config)# ip pim rp-announce-filter rp-list 10 group-list 14 Filters incoming RP announcement messages. Enter this command on each mapping agent in the network. Without this command, all incoming RP-announce messages are accepted by default.
For rp-list access-list-number, configure an access list of candidate RP addresses that, if permitted, is accepted for the group ranges supplied in the group-list access-list-number variable. If this variable is omitted, the filter applies to all multicast groups. If more than one mapping agent is used, the filters must be consistent across all mapping agents to ensure that no conflicts occur in the group-to-RP mapping information. Step 4 access-list access-list-number {deny | permit} source [source-wildcard] Example: Device(config)# access-list 10 permit 10.8.1.0 255.255.224.0 Creates a standard access list, repeating the command as many times as necessary.
• For access-list-number, enter the access list number specified in Step 2. • The deny keyword denies access if the conditions are matched. • The permit keyword permits access if the conditions are matched. • Create an access list that specifies from which routers and multilayer switches the mapping agent accepts candidate RP announcements (rp-list ACL). Configuring Protocol Independent Multicast (PIM) 31