276 CHAPTER 7: USING MULTICAST PROTOCOL COMMANDS
Example
Configure to transmit Hello packet via VLAN-interface10 every 40 seconds.
<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 timer hello 40
register-policy Syntax
register-policy
acl-number
undo register-policy
View
PIM View
Parameter
acl-number
: Number of IP advanced ACL, defining the rule of filtering the source
and group addresses. The value ranges from 3000 to 3999.
Description
Use the register-policy command to configure a RP to filter the register
messages sent by the DR in the PIM-SM network and to accept the specified
messages only.
Use the undo register-policy command to remove the configured message
filtering.
Example
If the local device is the RP in the network, use the following command to only
accept multicast message register of the source sending multicast address in the
range of 225.1.0.0/16 on network segment 10.10.0.0/16.
<SW5500> system-view
System View: return to User View with Ctrl+Z
[SW5500] acl number 3010
[SW5500-acl-adv-3010] rule permit ip source 10.10.0.0 0.0.255.255
destination 225.1.0.0 0.0.255.255
[SW5500-acl-adv-3010] quit
[SW5500] pim
[SW5500-pim] register-policy 3010
reset pim neighbor Syntax
reset pim neighbor { all | {
neighbor-address
| interface
interface-type
interface-number
} * }
View
User View
Parameter
all: All PIM neighbors