Command Manual – Multicast Protocol 
Quidway S8500 Series Routing Switches  Chapter 5  PIM Configuration Commands
 
Huawei Technologies Proprietary 
5-17 
Description 
Use the pim neighbor-policy command to set to filter the PIM neighbors on the 
current interface. 
Use the undo pim neighbor-policy command to remove the setting. 
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. 
<Quidway> system-view 
System View: return to User View with Ctrl+Z. 
[Quidway]interface vlan-interface 10  
[Quidway-Vlan-interface10] pim neighbor-policy 2000 
[Quidway-Vlan-interface10] quit 
[Quidway] acl number 2000 
[Quidway-acl-basic-2000] rule permit source 10.10.1.2 0 
[Quidway-acl-basic-2000] rule deny source 10.10.1.1 0 
5.1.18  pim sm 
Syntax 
pim sm 
undo pim sm 
View 
VLAN interface view 
Parameter 
None 
Description 
Use the pim sm command to enable the PIM-SM protocol on an interface. 
Use the undo pim sm command to disable the PIM-SM protocol. 
By default, PIM-SM is disabled. 
Users need to configure the PIM-SM protocol on each interface. Generally, the PIM-SM 
protocol needs to be enabled on each interface.