ip pim neighbor-filter

Use this command to filter PIM neighbors.

Syntax

ip pim neighbor-filter neighbor-filter
no ip pim neighbor-filter neighbor-filter

Parameters

neighbor-filter Specifies the name of a standard access-list containing one of more allowed neighbors.

Defaults

None.

Mode

Interface configuration.

Usage

The “no” form of this command removes the specified neighbor-filter.

Example

This example sets the neighbor-filter to permit only 10.21.5.45 and 10.22.10.1 to participate in the PIM protocol for VLAN 1:

System(su-config)->ip access-list standard pim_nbr_fltr
System(su-cfg-std-acl-pim_*fltr)->permit host 10.21.5.45
System(su-cfg-std-acl-pim_*fltr)->permit host 10.22.10.1
System(su-cfg-std-acl-pim_*fltr)->exit
System(su-config)->interface vlan 1
System(su-config-intf-vlan.0.1)->ip pim neighbor-filter pim_nbr_fltr