R0106-HP MSR Router Series IP Multicast Command Reference(V7)
119
Examples
# Set the joined/pruned state holdtime timer to 280 seconds on GigabitEthernet 2/1/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] pim holdtime join-prune 280
Related commands
• holdtime join-prune (PIM view)
• pim timer join-prune
pim neighbor-policy
Use pim neighbor-policy to configure a legal source address range for hello messages to guard against
hello message spoofing.
Use undo pim neighbor-policy to restore the default.
Syntax
pim neighbor-policy acl-number
undo pim neighbor-policy
Default
No source address range for hello messages is configured. All received hello messages are considered
legal.
Views
Interface view
Predefined user roles
network-admin
Parameters
acl-number: Specifies an IPv4 basic ACL number in the range of 2000 to 2999.
Usage guidelines
Use an IPv4 basic ACL to filter hello messages based on the source addresses. If you specify a VPN
instance in the ACL, the ACL does not take effect. The other optional parameters except the time-range
keyword and the fragment keyword are ignored.
Examples
# Configure a legal source address range for hello messages on GigabitEthernet 2/1/1 so that only the
devices on the 10.1.1.0/24 subnet can become PIM neighbors of this router.
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 10.1.1.0 0.0.0.255
[Sysname-acl-basic-2000] quit
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] pim neighbor-policy 2000