R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
604
Examples
# Set the multicast source lifetime to 200 seconds in the public network.
<Sysname> system-view
[Sysname] pim
[Sysname-pim] source-lifetime 200
source-policy (PIM view)
Syntax
source-policy acl-number
undo source-policy
View
Public network PIM view
Default level
2: System level
Parameters
acl-number: Basic or advanced ACL number, in the range of 2000 to 3999.
Description
Use source-policy to configure a multicast data filter.
Use undo source-policy to remove the configured multicast data filter.
By default, no multicast data filter is configured.
If you specify a basic ACL, the device filters all the received multicast packets based on the source
address, and discards packets that fail the source address match. If you specify an advanced ACL, the
device filters all the received multicast packets based on the source and group addresses, and discards
packets that fail the match.
If this command is executed repeatedly, the last configuration takes effect.
Examples
# In the public network, configure the router to accept multicast packets originated from 10.10.1.2 and
discard multicast packets originated from 10.10.1.1.
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 10.10.1.2 0
[Sysname-acl-basic-2000] rule deny source 10.10.1.1 0
[Sysname-acl-basic-2000] quit
[Sysname] pim
[Sysname-pim] source-policy 2000
spt-switch-threshold (PIM view)
Syntax
spt-switch-threshold infinity [ group-policy acl-number [ order order-value ] ]
undo spt-switch-threshold [ group-policy acl-number ]