48-29
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 48 Configuring IP Multicast Routing Configuring IP Multicast Routing
Beginning in privileged EXEC mode, follow these steps to filter incoming RP announcement messages.
This procedure is optional.
To remove a filter on incoming RP announcement messages, use the no ip pim rp-announce-filter
rp-list access-list-number [group-list access-list-number] global configuration command.
This example shows a sample configuration on an Auto-RP mapping agent that is used to prevent
candidate RP announcements from being accepted from unauthorized candidate RPs:
Switch(config)# ip pim rp-announce-filter rp-list 10 group-list 20
Switch(config)# access-list 10 permit host 172.16.5.1
Switch(config)# access-list 10 permit host 172.16.2.1
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 ip pim rp-announce-filter rp-list
access-list-number group-list
access-list-number
Filter 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 3 access-list access-list-number {deny |
permit} source [source-wildcard]
Create 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).
Create an access list that specifies the range of multicast groups
from which to accept or deny (group-list ACL).
For source, enter the multicast group address range for which the
RP should be used.
(Optional) For source-wildcard, enter the wildcard bits in dotted
decimal notation to be applied to the source. Place ones in the bit
positions that you want to ignore.
Recall that the access list is always terminated by an implicit deny
statement for everything.
Step 4 end Return to privileged EXEC mode.
Step 5 show running-config Verify your entries.
Step 6 copy running-config startup-config (Optional) Save your entries in the configuration file.