R3303-HP HSR6800 Routers IP Multicast Command Reference
162
Examples
# On the public network, configure the router to accept multicast packets that originate from 10.10.1.2
and discard multicast packets that originate 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
# In VPN instance mvpn, configure the router to accept multicast packets that originate from 10.10.1.2
and discard multicast packets that originate 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 vpn-instance mvpn
[Sysname-pim-mvpn] source-policy 2000
spt-switch-threshold (PIM view)
Use spt-switch-threshold to configure the criteria for triggering a switchover to SPT.
Use undo spt-switch-threshold to restore the default.
Syntax
spt-switch-threshold infinity [ group-policy acl-number [ order order-value ] ]
undo spt-switch-threshold [ group-policy acl-number ]
Default
The device switches to the SPT immediately after it receives the first multicast packet.
Views
Public network PIM view, VPN instance PIM view
Default command level
2: System level
Parameters
infinity: Disables switchover to SPT.
group-policy acl-number: Specifies a basic ACL number in the range of 2000 to 2999. If you do not
include this option in your command, the configuration applies to all multicast groups.
order order-value: Specifies the order of the ACL in the group-policy list, where order-value has an
effective range of 1 to the largest order value in the existing group-policy list plus 1, but the value range
should not include the original order value of the ACL in the group-policy list. If you have assigned an
order-value to a certain ACL, do not specify the same order-value for another ACL. Otherwise the system
will give error information. If you do not specify an order-value, the order value of the ACL will remain the
same in the group-policy list.