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)#access-list 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)#access-list 10 permit any
  3. Configure an Ethernet interface.
    Device(config)#interface ethernet 1/3/2
    Configures an interface and enters interface configuration mode.
  4. Configure a filter that applies ACL 10 to the interface.
    Device(config-if-e1000-1/3/2)#ip pim neighbor-filter 10

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