348
source-policy (IPv6 PIM view)
Syntax
source-policy
acl6-number
undo source-policy
View
IPv6 PIM view
Default level
2: System level
Parameters
acl6-number
: Basic or advanced IPv6 ACL number, in the range of 2000 to 3999.
Description
Use
source-policy
to configure an IPv6 multicast data filter.
Use
undo source-policy
to remove the configured IPv6 multicast data filter.
By default, no IPv6 multicast data filter is configured.
If you specify a basic ACL, the device filters all the received IPv6 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 IPv6 multicast packets based on the
source and group addresses, and discards packets that fail the match.
If you use this command repeatedly, the last configuration takes effect.
Examples
# Configure the router to accept IPv6 multicast packets that originate from 3121::1 and discard IPv6
multicast packets that originate from 3121::2.
<Sysname> system-view
[Sysname] acl ipv6 number 2000
[Sysname-acl6-basic-2000] rule permit source 3121::1 128
[Sysname-acl6-basic-2000] rule deny source 3121::2 128
[Sysname-acl6-basic-2000] quit
[Sysname] pim ipv6
[Sysname-pim6] source-policy 2000
[Sysname-pim6] quit
spt-switch-threshold infinity (IPv6 PIM view)
Syntax
spt-switch-threshold
infinity
[
group-policy
acl6-number
[
order
order-value
] ]
undo spt-switch-threshold
[
group-policy
acl6-number
]
View
IPv6 PIM view
Default level
2: System level