Configuring IPv4 PIM Neighbor Filtering

Configure an ACL and apply it to an interface to control neighbor access.
  1. Configure an ACL named 10 to deny access to the device 10.10. 102.
    device(config)# ip access-list standard 10 
    device(config-std-ipacl-10)# deny host 10.10.10.2
    You can identify the ACL by name as an ASCII string, by a number in the range 1 to 99 (for a standard ACL), or by a number in the range 100 to 199 (for an extended ACL).
  2. Configure ACL 10 to permit access to all other devices.
    device(config-std-ipacl-10)# permit any
    device(config-std-ipacl-10)# exit
  3. Configure an Ethernet interface.
    device(config)# interface ethernet 1/3/2
  4. Configure a filter that applies ACL 10 to the interface.
    device(config-if-e1000-1/3/2)# ip pim neighbor-filter 10

    The host that is specified in ACL 10, 10.10.10.2 is prevented from becoming a PIM neighbor on the interface.