R21xx-HP FlexFabric 11900 IP Multicast Command Reference
88
Parameters
time: Sets the multicast source lifetime (in seconds), in the range of 0 to 31536000. A value of 0 means
that multicast sources are never aged out.
Examples
# Set the multicast source lifetime to 200 seconds.
<Sysname> system-view
[Sysname] pim
[Sysname-pim] source-lifetime 200
source-policy (PIM view)
Use source-policy to configure a multicast data filter.
Use undo source-policy to remove the configured multicast data filter.
Syntax
source-policy acl-number
undo source-policy
Default
No multicast data filter is configured.
Views
PIM view
Predefined user roles
network-admin
Parameters
acl-number: Specifies an IPv4 basic or advanced ACL, in the range of 2000 to 3999.
Usage guidelines
Use a basic ACL to filter multicast traffic based on its source IP address. Use an advanced ACL to filter
multicast traffic based on its source address and multicast group addresses.
If you specify a VPN instance in the ACL, the ACL does not take effect. The other optional parameters
except time-range are ignored.
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# Configure a multicast data filter to accept the multicast packets from the multicast source 10.10.1.2 and
discard the multicast packets from the multicast source 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










