Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

accept-remote-source

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
accept-remote-source;

Hierarchy Level

content_copy zoom_out_map
[edit logical-systems logical-system-name protocols pim interface interface-name],
[edit logical-systems logical-system-name routing-instances routing-instance-name protocols pim interface interface-name],
[edit protocols pim interface interface-name],
[edit routing-instances routing-instance-name protocols pim interface interface-name]

Description

You can configure an incoming interface to accept multicast traffic from a remote source. A remote source is a source that is not on the same subnet as the incoming interface. Figure 1 shows just such a topology – R2 connects to the R1 source on one subnet, and to the incoming interface on R3 on another subnet (ge-1/3/0.0 in the figure).

Figure 1: Accepting Multicast Traffic from a Remote SourceAccepting Multicast Traffic from a Remote Source

In this topology R2 is a pass-through device not running PIM, so R3 is the first hop router for multicast packets sent from R1. Because R1 and R3 are in different subnets, the default behavior of R3 is to disregard R1 as a remote source. You can have R3 accept multicast traffic from R1, however, by enabling accept-remote-source on the target interface.

content_copy zoom_out_map
[edit protocols pim interface ge-1/3/0.0]
user@host# set accept-remote-source
Note:

If the interface you identified is not the only path from the remote source, be sure it is the best path. For example you can configure a static route on the receiver side PE router to the source, or you can prepend the AS path on the other possible routes. That said, do not use accept-remote-source to receive multicast traffic over multiple upstream interfaces, as this use case for the command is not supported.

content_copy zoom_out_map
[edit policy-options policy-statement as-path-prepend term prepend]
user@host# set from route-filter 192.168.0.0/16 orlonger
user@host# set from route-filter 172.16.0.0/16 orlonger
user@host# set then as-path-prepend "1 1 1 1"

Commit the configuration changes, and then to confirm that the interface you configured is accepting traffic from the remote source, run the following command:

content_copy zoom_out_map
user@host# show pim statistics

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 9.6.

external-footer-nav