accept-join-always-from
Syntax
accept-join-always-from [policy-name ... ];
Hierarchy Level
[edit protocols interface name], [edit routing-instances name protocols pim interface name]
Description
Configure an interface to accept PIM join or prune messages based on a specified policy.
A device might not accept PIM joins if the upstream neighbor address in the join packet is not that device's address. This option enables the device to accept and to install PIM (S,G) join states that the device would not normally accept.
Configure one or more routing policies that specify the upstream neighbor addresses for
which the interface should always accept PIM joins. Then you can configure this
statement with those policy options. Use the prefix-list
and
policy-statement
options at the [edit
policy-options]
hierarchy to configure a routing policy.
For example, the following configuration creates a policy named
ajaf-101
that always accepts join messages from upstream neighbors
in a prefix list named rtr-101
:
set routing-instances RI protocols pim interface irb.101 accept-join-always-from ajaf-101 set policy-options prefix-list rtr-101 192.168.101.1/32 set policy-options policy-statement ajaf-101 term term1 from prefix-list rtr-101 set policy-options policy-statement ajaf-101 term term1 then accept set policy-options policy-statement ajaf-101 then reject
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 21.2R1.