ip pim neighbor-filter

Determines which devices can become PIM neighbors.
Syntax
ip pim neighbor-filter{acl-name|acl-id}
no ip pim neighbor-filter{acl-name|acl-id}
Command Default

Neighbor filtering is not applied on the interface.

Parameters
acl-name
Specifies an ACL as an ASCII string.
acl-id
Specifies either a standard ACL as a number in the range 1 to 99 or an extended ACL as a number in the range 100 to 199.
Modes

Interface configuration mode

Usage Guidelines

The no form of this command removes any neighbor filtering applied on the interface.

You must enable PIM globally before you enable it on an interface.

You can configure the ip pim neighbor-filter command in either Dense mode (DM) or Sparse mode (SM).

Configure the access-list command to create an access-control list (ACL)that specifies the devices you want to permit and deny participation in PIM

Examples

This example prevents the host from becoming a PIM neighbor on interface Ethernet 1/3/24.

device# configure terminal
device(config)# interface ethernet 1/3/24
device(config-if-e10000-1/3/24)# ip pim neighbor-filter

This example configures an ACL named 10 to deny a host and then prevents that host, 10.10.10.2, identified in that ACL from becoming a PIM neighbor on interface Ethernet 1/3/24.

device(config)# ip access-list standard  10
device(config-std-ipacl-10)# deny  host 10.10.10.2
device(config-std-ipacl-10)# permit any
device(config-std-ipacl-10)# exit
device(config)# interface ethernet 1/3/24
device(config-if-e10000-1/3/24)# ip pim neighbor-filter 10
History
Release version Command history
08.0.20a This command was introduced.