ip pim rp-announce-filter rp-list XXX group-list XXX
We can specify RPs in the rp-list and groups in the group-list.
Example
//Mapping agent
ip pim send-rp-discovery Loopback0 scope 16
!
ip pim rp-announce-filter rp-list R2_RP group-list R2_GROUPS
ip pim rp-announce-filter rp-list R1_RP group-list R1_GROUPS
!
ip access-list standard R1_GROUPS
permit 224.0.0.0 0.255.255.255
permit 226.0.0.0 0.255.255.255
permit 228.0.0.0 0.255.255.255
permit 230.0.0.0 0.255.255.255
permit 232.0.0.0 0.255.255.255
permit 234.0.0.0 0.255.255.255
permit 236.0.0.0 0.255.255.255
permit 238.0.0.0 0.255.255.255
!
ip access-list standard R1_RP
permit 150.1.1.1
!
ip access-list standard R2_GROUPS
permit 225.0.0.0 0.255.255.255
permit 227.0.0.0 0.255.255.255
permit 229.0.0.0 0.255.255.255
permit 231.0.0.0 0.255.255.255
permit 233.0.0.0 0.255.255.255
permit 235.0.0.0 0.255.255.255
permit 237.0.0.0 0.255.255.255
permit 239.0.0.0 0.255.255.255
!
ip access-list standard R2_RP
permit 150.1.2.2
No comments:
Post a Comment