
130
Examples
# Set the join/prune timeout time to 280 seconds on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] pim holdtime join-prune 280
pim neighbor-policy
Syntax
pim neighbor-policy
acl-number
undo pim neighbor-policy
View
Interface view
Default level
2: System level
Parameters
acl-number
: Basic ACL number, in the range of 2000 to 2999. When the ACL is defined, the
source
keyword in the
rule
command specifies a legal source address range for hello messages.
Description
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.
By default, no source address range for hello messages is configured. That is, all the received hello
messages are considered legal.
Examples
# Configure a legal source address range for hello messages on VLAN-interface 100 so that only the
devices on the 10.1.1.0/24 subnet can become PIM neighbors of this switch.
<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 vlan-interface 100
[Sysname-Vlan-interface100] pim neighbor-policy 2000
pim require-genid
Syntax
pim require-genid
undo pim require-genid
View
Interface view