139
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
# 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
spt-switch-threshold infinity (PIM view)
Syntax
spt-switch-threshold infinity
[
group-policy
acl-number
[
order
order-value
] ]
undo spt-switch-threshold
[
group-policy
acl-number
]
View
PIM view
Default level
2: System level
Parameters
group-policy
acl-number
: Specifies a basic ACL, 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
gives error information. If you do not specify an
order-value
, the order value of the ACL remains the same
in the group-policy list.
Description
Use
spt-switch-threshold infinity
to disable the switchover to SPT.
Use
undo spt-switch-threshold
to restore the default.
By default, the device switches to the SPT immediately after it receives the first multicast packet.
To adjust the order of an existing ACL in the group-policy list, you can use the
acl-number
argument to
specify this ACL and set its
order-value
. This inserts the ACL to the position of
order-value
in the
group-policy list. The order of the other existing ACLs in the group-policy list remains unchanged.