Example: Defining the IP Multicast Boundary to Deny Auto-RP Information This example shows a portion of an IP multicast boundary configuration that denies Auto-RP information: Device(config)# access-list 1 deny 224.0.1.39 Device(config)# access-list 1 deny 224.0.1.40 Device(config)# access-list 1 permit all Device(config)# interface gigabitethernet1/0/1 Device(config-if)# ip multicast boundary 1 Example: Filtering Incoming RP Announcement Messages 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:
Device(config)# ip pim rp-announce-filter rp-list 10 group-list 20 Device(config)# access-list 10 permit host 172.16.5.1 Device(config)# access-list 10 permit host 172.16.2.1 Device(config)# access-list 20 deny 239.0.0.0 0.0.255.255 Device(config)# access-list 20 permit 224.0.0.0 15.255.255.255 The mapping agent accepts candidate RP announcements from only two devices, 172.16.5.1 and 172.16.2.1. The mapping agent accepts candidate RP announcements from these two devices only for multicast groups that fall in the group range of 224.0.0.0 to 239.255.255.255. The mapping agent does not accept candidate RP announcements from any other devices in the network.
Furthermore, the mapping agent does not accept candidate RP announcements from 172.16.5.1 or 172.16.2.1 if the announcements are for any groups in the 239.0.0.0 through 239.255.255.255 range. This range is the administratively scoped address range. Example: Preventing Join Messages to False RPs If all interfaces are in sparse mode, use a default-configured RP to support the two well-known groups 224.0.1.39 and 224.0.1.40. Auto-RP uses these two well-known groups to collect and distribute RP-mapping information. When this is the case and the ip pim accept-rp auto-rp command is configured, another ip pim accept-rp command accepting the RP must be configured as follows:
Device(config)# ip pim accept-rp 172.10.20.1 1 Device(config)# access-list 1 permit 224.0.1.39 Device(config)# access-list 1 permit 224.0.1.40 Example: Configuring Candidate BSRs This example shows how to configure a candidate BSR, which uses the IP address 172.21.24.18 on a port as the advertised BSR address, uses 30 bits as the hash-mask-length, and has a priority of 10. Device(config)# interface gigabitethernet1/0/2 Device(config-if)# ip address 172.21.24.18 255.255.255.0 Device(config-if)# ip pim sparse-mode Device(config-if)# ip pim bsr-candidate gigabitethernet1/0/2 30 10 Configuring Protocol Independent Multicast (PIM) Example:
Defining the IP Multicast Boundary to Deny Auto-RP Information Configuring Protocol Independent Multicast (PIM) 60