274 CHAPTER 7: USING MULTICAST PROTOCOL COMMANDS
Description
Use the pim neighbor-limit command to limit the PIM neighbors on an
interface. No neighbor can be added when the limit is reached.
Use the undo pim neighbor-limit command to restore the default setting.
By default, the PIM neighbors on the interface are limited to 128.
If the existing PIM neighbors exceed the configured value during configuration,
they will not be deleted.
Example
Limit the PIM neighbors on the Vlan-interface10 to 50.
<SW5500>system-view
System View: return to User View with Ctrl+Z
[SW5500]multicast routing-enable
[SW5500]interface Vlan-interface-10
[SW5500-Vlan-interface10]pim neighbor-limit 50
pim neighbor-policy Syntax
pim neighbor-policy
acl-number
undo pim neighbor-policy
View
VLAN Interface View
Parameter
acl-number:
Basic ACL number, in the range of 1to 99.
Description
Use the pim neighbor-policy command to filter the PIM neighbors on the
current interface.
Use the undo pim neighbor-policy command to remove the filter.
Only the routers that match the filtering rule in the ACL can serve as a PIM
neighbor of the current interface.
The new configuration overwrites the old one if you run the command for a
second time.
Example
Configure that 10.10.1.2 can serve as a PIM neighbor of the Vlan-interface10, but
not 10.10.1.1.
<SW5500>system-view
System View: return to User View with Ctrl+Z
[SW5500]multicast routing-enable
[SW5500]interface Vlan-interface-10
[SW5500-Vlan-interface10]pim neighbor-policy 2000
[SW5500-Vlan-interface10]quit
[SW5500]acl number 2000